Customising a template
Templates can be customised to extend or modify the behaviour
of your generated application. It is recommended that you
use your favourite text editor/IDE to edit templates, but
RapidJ does provide a basic template editor.
The following steps describe how to customise a template using the
template editor:
- Go to the
Generate Code tab in the main application window.
- In the Templates tree, double click on the template
that you want to customise.
- Customise the template by modifying it in the Template Editor.
- Press the Save and Close button to save the changes.
- After making changes to a template you may need to
generate the application
again.
The following steps describe how to customise a template using your
favourite text editor/IDE:
- Open the template file in your favourite text editor/IDE.
- Customise the template by modifying it and then save it.
- Switch back to RapidJ and it automatically detects any
changes that have been made.
- After making changes to a template you may need to
generate the application
again.
FreeMarker plugins
There are are a number of FreeMarker plugins available
for the different text editors and IDE's. The list of
plugins can be found on the FreeMarker website at
http://freemarker.org/editors.html
Related tasks
Generating an application
Related reference
Template Editor
Generate Code tab