|
| dojo.E Runtime dojo.E Runtime functionality allows declarative responses to user actions - originating either on the server (processRequest) or on the client (Macros) - to modify the HTML DOM or Dojo Widgets. The two building blocks of dojo.E Runtime are XModify and Macro.
XModify syntaxDeclaration The XML tag name is Xmodify and the namespace for XModify is dojoe: Target ElementEvery XModify command should have a "query" attribute that contains a valid CSS selector expression. You can find more information about the dojo.query by Clicking here to view the Dojo Documentation for dojo.query. <dojoe.Xmodify> <append query="div"> Add me to all divs </append> </dojoe.Xmodify> Sample XModify Instruction Set<dojoe.Xmodify> <set-attribute query="img[id='image1']"> <attribute name="src" value="images/background.JPG"/> </set-attribute> </dojoe.Xmodify> |