aspose file tools*
The moose likes JSF and the fly likes Backing Bean loaded Twice!? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Backing Bean loaded Twice!?" Watch "Backing Bean loaded Twice!?" New topic
Author

Backing Bean loaded Twice!?

Daniel Prene
Ranch Hand

Joined: Jul 15, 2005
Posts: 241
I have a Serialized backing bean that loads itself in the constructor based off of a request parameter... the problem is that after an action method is called the bean reloads and no longer has access to the parameters! Is there a clean way of persisting that information without hidden feilds? What's going on here? Here's my java code:



Note: projDao.copy(projDao.getProject(dbId), this) asigns the id

Any help would be endlessly appreciated. Thank you for atleast reading this,
-D.P.


[ May 05, 2006: Message edited by: Daniel Prene ]
Daniel Prene
Ranch Hand

Joined: Jul 15, 2005
Posts: 241
Oh, and session scope is NOT AN OPTION.
Daniel Prene
Ranch Hand

Joined: Jul 15, 2005
Posts: 241
t:saveState
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Backing Bean loaded Twice!?
 
Similar Threads
Object filtering in Hibernate from Database
A issue in Struts1.x
Error: Error registering bean with name 'transactionManager'
how the values added from two different browsers can be seen in either of the browsers?
Target Unreachable, 'null' returned null