Java Reference
In-Depth Information
Then we need to select a name and a package for the generated managed bean.
In our example, we simply keep the default values and click Finish .
Generated request scoped managed beans have the same name as the
name we choose for our page, therefore it is a good idea to name our
visual web JSF pages using standard Java class naming conventions
After creating our new page, we drag a Label and a Static Text component from the
palette into its design window. We then change the label text to read First Name ,
and bind the static text component to the firstName property of SessionBean1 ,
which is the same value the text field in the previous page was bound to.
Search WWH ::

Custom Search