When you use the source tab in Page Designer, you can manually bind components in a JSP file (specifically, in a JavaServer Faces file) to data areas and functions in a PageHandler. Although EGL is not case sensitive, EGL names referenced in the JSP file must have the same case as the EGL variable or function declaration; and if you fail to maintain an exact match, a JavaServer Faces error occurs. It is recommended that you avoid changing the case of an EGL variable or function after you bind that variable or function to a JSP field.
For further details on naming issues, see Changes to EGL identifiers in JSP files and generated Java™ beans.
Most components on the JSP have a one-to-one correspondence with data. A text box, for example, shows the content of the EGL item to which the text box is bound. An input text box also updates the EGL item if the user changes the data.
Alternatively, you can bind a single-select component (combo box, single-select list box, or radio button group) to an array of character items by dragging the array from the Page Data view to the component.
To bind a component to a data area that will receive a value indicating the user's choice, you can work in either the Page Data view or the Properties view. The procedure is the same as when you are binding any component, even a simple text box.
When a check box is displayed, the status (whether checked or not) is dependent on the value in the bound item.
For details on the properties that can be applied to data items in the PageHandler, see PageHandler field properties.
If the Page Designer creates an event handler in the PageHandler and gives you access to that PageHandler function, the name of the function is the tool-assigned button ID plus the string "Action". If the name is not unique to the PageHandler, the Page Designer appends a number to the function name.
Related concepts
PageHandler
Related tasks
Creating an EGL field and associating it with a Faces JSP
Associating an EGL record with a Faces JSP
Using the Quick Edit view for PageHandler code
Related reference
PageHandler part in EGL source format
PageHandler field properties