Java Reference
In-Depth Information
At this point the
Bind to Data
window opens, we need to click on the
Bind to an
Object
tab then select the appropriate property from the managed bean.
Notice that the value of the
Current Text property setting
field (
#{SessionBean1.
page1FirstName}
) in the window contains the JSF property notation that will be
added to the JSP markup.
After clicking on the
OK
button, the value of the text property of our text field will
be bound to the
page1FirstName
property in the managed bean, therefore when the
form is submitted the value of this property will be populated with the user-entered
value in the field.