Child pages
  • Generator User Guide Demo7

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


  • add a static method 'createComponent()'
  • create a template fragment: select the whole method declaration and press Ctrl-Shit+Shift+F:

titletemplate fragment in weaving rules

Code tagged as template fragment (a method declaration in this case) is inserted into the weaving context node (DemoApp class) during the generation process.