File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes JSF Backing bean code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF Backing bean code " Watch "JSF Backing bean code " New topic
Author

JSF Backing bean code

S Majumder
Ranch Hand

Joined: Jun 03, 2009
Posts: 244
Hi every body ,

I am creating one form , on that form I have created six tabs.On my entire application I have one backing bean .I have taken that backing bean in a session scope .

My question :

Can I create six different backing bean for each tab ?

A short example :



my faces-config.xml is :



my jsf is somthing like that :




It is working fine for my application.For code maintain purpose I just separate each tabs actions into different beans.

Is it the proper way ? s this the proper structure ?
or is there any different way to write code ?
 
 
subject: JSF Backing bean code
 
Similar Threads
Injecting Beans as Parameters (Injected Bean reference is null)
JSF read GET Parameters into Backing Bean
managing Faces-config in jSF ...please explain.
Accessing a managed bean from within another managed bean
Reg: generating table columns from multiple objects using h:datatable tag in jsf