Portlet Factory, Version 6.1.2
Replacing HTML controls with builder calls
Once you import your pages into a model, you 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:
- 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.
- 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.
- Configure the builder call according to its function in the application.
Parent topic: Overview: creating pages
Library | Support |