Escolar Documentos
Profissional Documentos
Cultura Documentos
In this example, we will create a jspx page and add a text box, command button and a
label. When user enters his name in the text box and clicks on the command button, label
will show the Hello <user> as output.
Make sure that you generate the backing bean for the page.
You will notice that a backing bean is generated along with the jspx page under
the Application Sources folder under your project.
Backing bean are JavaBeans used mainly to provide UI logic for handling
events and page flow.
6) Double click on the command button to bind the Command Button to the backing
bean generated.
You will notice that method with name commandButton1_action() is generated
inside the backing bean class.