Overview: Creating pages

 

Related Topics ...

Overview: Creating Forms

HTML Guidelines

Javascript Guidelines

JSP Guidelines

Pages in Factory models can be imported from existing HTML or JSP pages with the Imported Page builder or created by hand with the Page builder. Other builder calls can act on these pages modifying or adding to the HTML controls they display.

 

Replacing HTML Controls with Builder Calls

Once you import your pages into a model, we can replace some or all of the HTML controls with calls to the corresponding builders. The criteria for replacing HTML controls with builder calls are:

  • The control needs to get data from, or supply data to, other elements in the model -- Replace the existing control with a builder if you want to supply that control with data from a method, variable, or user input in your model. If the control is part of a form and you want to process the form submission in your model, use a builder call to replace the HTML control.

  • The control needs to behave differently for different types of users -- Replace the existing control with a builder if you want to supply that control with data from a method, variable, or user input in your model. If the control is part of a form and you want to process the form submission in your model, use a builder call to replace the HTML control.

To replace an HTML control with a corresponding builder call:

  1. Open the Builder Call Editor for the appropriate builder. For example, if you want to replace an HTML button, open the Builder Call Editor for the Button builder. For information, see Adding Builder Calls to a Model.

  2. In the Page Location widget of the Builder Call Editor, select the name of the page in the model that contains the HTML button you want to replace with a Button builder call. Once you select the page, choose the named <input /> or <span /> tag from the list of named tags on the page.

  3. Configure the builder call according to its function in the application.