UI Templates

image\img00160.gif

Figure 95: Nexaweb Preferences – UI Templates.

Templates: Displays all Nexaweb Studio templates.

To Add a Category: To display the Add a Category dialog in Figure 96, click the Templates tree node and click Add. Enter the Category name and click Finish.

To Add a Template: To display the Add a Template dialog in Figure 97, click on a Category tree node and click Add. Enter the Template name and Template File, and then click Finish.

Update a Template: Click on a Template tree node and click Update. This will display the Update Template dialog, which is identical to the Add a Template dialog. Enter the Template name and Template File, and click Finish.

Delete a Template: Click on a Template tree node and click Delete.

Delete a Category Click on a Category tree node and click Delete. You can only delete a category if it contains templates.

 

image\img00161.gif

Figure 96: Add a category dialog.

Category name: The name of the Category to add.

Typing Nexaweb and clicking the Finish button adds a category named Nexaweb.

 

image\img00162.gif

Figure 97: Add a template dialog.

Template Name: The name of the Template to add.

Template File: The on-disk location of the template file.

The entries in this dialog will add a template named Login using the file C:\Program Files\Nexaweb\Nexaweb Studio 2.4\StudioWorkspace\Example\WebContent\login.xml

Note: Templates are copied into a repository that the Nexaweb Studio manages. Changing a template file will not automatically be reflected in the template. You will need to update the template in order for the changes to be reflected. Any file previously created with the template will not be affected, only new files created from that point will have the new template.