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 component doesnt remeber value Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "component doesnt remeber value" Watch "component doesnt remeber value" New topic
Author

component doesnt remeber value

James Clinton
Ranch Hand

Joined: Jun 23, 2003
Posts: 190
if i have 2 components and both populated, but on submit 1 of the fields fails validation..both the fields are cleared...how can i configure the component to remember its value?

regards
Ali Gohar
Ranch Hand

Joined: Mar 18, 2004
Posts: 572
I think it remembers the values automatically like in Struts. Have you bind your components with a value in backing bean?
James Clinton
Ranch Hand

Joined: Jun 23, 2003
Posts: 190
I've bound them via the values field...i am using JSF with Spring Web Flow though.

 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: component doesnt remeber value
 
Similar Threads
Entity relationships
Passing objects across controllers in Grails
startdate,endDate validations how is it done?
JSF Custom Component with two input fields
How to used a variable inside the value attribute of a h:inputText tag