|
BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.wlw.netui.tags.JavaScriptUtils
public class JavaScriptUtils
Constructor Summary | |
---|---|
JavaScriptUtils()
|
Method Summary | |
---|---|
static String |
getFocusScript(String formName,
String fieldName)
this will write out the form focus script block |
static String |
getString(String aKey,
Object[] args)
Returns the string specified by aKey from the errors.properties bundle. |
String |
getTagIdMapping(String tagId,
String value)
This method will write out a tagId map entry for when there isn't a ScriptContainer defined. |
String |
writeAnchorFormSubmit(ScriptReporter scriptReporter)
|
String |
writeAnchorFormSubmitAction(String action,
String newAction)
|
String |
writeIdMap(ScriptReporter scriptRepoter,
String entries)
|
String |
writeNetuiNameFunctions(ScriptReporter scriptReporter)
|
String |
writeRollover(ScriptReporter scriptReporter)
|
static void |
writeScriptBlock(weblogic.utils.UnsyncStringBuffer results,
String script)
This is a static method that will write a consistent look/feel to the tags and comment markup that appears around the JavaScript. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaScriptUtils()
Method Detail |
---|
public String writeAnchorFormSubmit(ScriptReporter scriptReporter)
public String writeAnchorFormSubmitAction(String action, String newAction)
public static String getFocusScript(String formName, String fieldName)
public String getTagIdMapping(String tagId, String value)
public String writeRollover(ScriptReporter scriptReporter)
public String writeIdMap(ScriptReporter scriptRepoter, String entries)
public String writeNetuiNameFunctions(ScriptReporter scriptReporter)
public static void writeScriptBlock(weblogic.utils.UnsyncStringBuffer results, String script)
results
- the UnsyncStringBuffer that will have the <script>
tag written intoscript
- the JavaScript blockpublic static String getString(String aKey, Object[] args)
aKey
- The key for the message pattern in the bundle.args
- The args to use in the message format.
|
BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |