|
back
Create and Register Referenced Beans
- In the Project Explorer view open faces-config.xml and select Tree tab.
- Select Referenced Beans and click on Add button.
- Type in the name of your Referenced Bean and type in or select Referenced-Bean-Class by using Browse button.
- In the Referenced Bean section you should see your Referenced-Bean-Name and Referenced-Bean-Class. Click on the link to open the Java creation wizard.
- Java class will be created automatically. Leave everything without changes and click Finish.
- To open Referenced Bean class click again on Referenced-Bean-Class in the Referenced Bean section. Now you are able to write business logic of Referenced Bean.
back
|