• Post Reply Bookmark Topic Watch Topic
  • New Topic

component doesnt remeber value

 
James Clinton
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 572
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've bound them via the values field...i am using JSF with Spring Web Flow though.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!