|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XmlTag
produces: JavaScript
This tag convers SmartGWT UI components declaratively specified in the body of the tag to JavaScript for execution in the browser.
The XML->JS translation works just like with loadUITag, except the XML is read from the body of the tag instead of an external file.
Note that this JSP tag must be surrounded by <SCRIPT> tags in the JSP because it generates JavaScript code. Like other tags that generate JavaScript code, this tag can be used in a JSP that is included from your main page in order to create separate cacheability. For example:
<SCRIPT SRC="myUIDefinitions.jsp"></SCRIPT>
Example of using this tag :
<isomorphic:XML> <Canvas backgroundColor="black"/> </isomorphic:XML>Would output the following JavaScript code:
Canvas.create({ backgroundColor: "black" });
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |