aspose file tools
The moose likes JSF and the fly likes Session backing beans... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Session backing beans..." Watch "Session backing beans..." New topic
Author

Session backing beans...

Cesar Tg.
Greenhorn

Joined: Jul 05, 2004
Posts: 16
Hi all!

I got this problem:
I am using backing beans with scope of session, and i am using the
backing bean constructor to initialize the form, everything is fine when
form is loaded the first time, but the second and the others times not,
how can i initialize the form the second time and the others, because constructor is just the firs time?

i don't want to use backings beans with scope of request because i've noticed some dificulties when coding, for instance,in every request a backing bean is created and his constructor is executed, sometimes it is not appropiate to execute constructor again because maybe i am just catching an onSelect event and i want just to fill another field in the form, and constructor executed again in every request is not appropiate, that is way i went to use session backing beans, but now i got the problem mentioned before...

any hints???

help will be appreciated...


Csar.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session backing beans...
 
Similar Threads
Session backing beans / STATE_SAVING_METHOD / WAS7
Scopes
Backing Bean Scope (Best Practices?)
Correct way to assign a value to a managed bean from a class?
Problem with JSF remembering old values