Thursday, February 13, 2014

Backing Bean - auto bind

in JSF you can choose to bind the JSF page components to java objects in a backing bean, so that you can access the components programatically.
in JDeveloper 11g Release 2, you can choose to set a backing bean that will be used as the backing bean for a JSF page and any components added to the page will be added to the bean automatically.

steps:
  1. open the page.
  2. from the toolbar menu open the design menu.
  3. click page properties.
  4. in the page properties dialog window, switch to the component binding tab.
in the opened tab you can:
  1. switch on/off auto binding.
  2. choose the bean to be used as the component binding.



No comments:

Post a Comment