BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs.

com.bea.wlw.netui.tags
Interface ScriptReporter

All Known Implementing Classes:
Html, ScriptContainer

public interface ScriptReporter


Method Summary
 void addScriptCode(String script)
          This method will add Script as top level code that runs when the page is loaded.
 void addScriptFunction(String script)
          This method will add Script as a function.
 void addTagId(String tagId, String tagName)
          Adds a tagID and tagName to the id to name map.
 boolean isScriptWritten()
          This method indicates that the writeScript method has been called.
 void writeScript(weblogic.utils.UnsyncStringBuffer sb)
          This method will output all of the Script associated with the script reporter.
 

Method Detail

addScriptCode

void addScriptCode(String script)
This method will add Script as top level code that runs when the page is loaded.

Parameters:
script - the text of the script

addScriptFunction

void addScriptFunction(String script)
This method will add Script as a function.

Parameters:
script - the text of the function

addTagId

void addTagId(String tagId,
              String tagName)
Adds a tagID and tagName to the id to name map. A script container can maintain a mapping of user ids to actual ids generated by the tagId. This method will track these.

Parameters:
tagId - - the id of a child tag.
tagName - - the name of a child tag.

writeScript

void writeScript(weblogic.utils.UnsyncStringBuffer sb)
This method will output all of the Script associated with the script reporter.

Parameters:
sb - The script is written into the provided StringBuffer. This value must not be null.

isScriptWritten

boolean isScriptWritten()
This method indicates that the writeScript method has been called.


BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs.