| org.apache.beehive.netui.tags.javascript.IScriptReporter
All known Subclasses: org.apache.beehive.netui.tags.javascript.ScriptContainer,
IScriptReporter | public interface IScriptReporter (Code) | | A ScriptReporter acts as a container for JavaScript generated by children of
the tag. Usually a ScriptReporter will gather up all of the JavaScript
generated by children into a single <script> element output into the HTML. A script container
will implement a map beteween the TagId and the real name or id attribute
written into the HTML.
|
addLegacyTagIdMappings | void addLegacyTagIdMappings(String tagId, String tagName)(Code) | | 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. Parameters: tagName - the name of a child tag. |
addScriptFunction | void addScriptFunction(ScriptPlacement placement, String script)(Code) | | This method will add Script as a function.
Parameters: placement - Parameters: script - the text of the function. This value must not be null. |
addTagIdMappings | void addTagIdMappings(String tagId, String realId, String realName)(Code) | | Parameters: tagId - Parameters: realId - Parameters: realName - |
writeScript | void writeScript(AbstractRenderAppender sb)(Code) | | This method will output all of the Script associated with the script reporter.
Parameters: sb - The script is written into the provided InternalStringBuilder. This value must not be null. |
|
|