The following describes when to use Custom controls, Page Modules, or HTML Items.
Custom Controls
- To provide your own user interface for a prompt-like control that reads and sets parameters
- To provide your own user interface for page navigation buttons (
Next
,Finish
, ...) - To provide your own user interface for authored data such as a list or visualization
See CustomControl
Page Modules
- To set the initial state of prompt controls
- To set prompt control custom validation functions
- To read current selections from a prompt control (possibly to store) before going to the next page
- Code (using HTML Item) from a previous release that was executed globally on the page will likely move into the
load
method
See PageModule
HTML Items
- To insert static HTML into the output
- To insert static CSS into the output