HTML 5 Web Application Customization Properties

Use the Customization tab on the Project Properties dialog box to import custom content for your generated Web application. You can specify a directory location containing customized content which you can use for layouts and other display elements. For example, you can import custom pages, images,and additional support libraries.

Custom Content

Use this feature to import custom content and resources into your Web application. For example, you can import custom pages, images,and additional support libraries.

How does importing custom content work?

When a directory is specified, the contents of the specified directory is overlaid on top of the generated Web application before it is deployed. Files in the directory itself end up in the base of the Web application directory. Since all subdirectories are copied as well, a directory structure matching that of the Web application can be created, and you can import files into any area of the generated Web application. Existing files are overwritten with files from the custom content directory. The Web application automatically provides the same parameters to the custom page as it does to the generated page.

You can modify the generated Web application and utilize elements provided in the custom content to expand the Web application's functionality. When you rebuild the project, modifications are preserved and the custom content is included in the generated application.

To import custom content

  1. Create a directory in which to place your custom content. This is the source from which you will copy your custom content.
  2. In Web Builder, click Options >Customization >Custom Content. Specify the directory that you just created.
  3. Place a file, a collection of files, or an entire directory structure inside the source directory you created in step 1.
  4. Rebuild your project.

    When the project rebuilds, the contents of the source directory is added to and deployed with your Web application. Each time you rebuild, the overlay directory is inserted into the built Web application.

 

Related Topics
Bullet HTML 5 Web Application Screen Properties