« Return to Thread: OutputText value is not redisplayed when submitting a form with validation errors.

OutputText value is not redisplayed when submitting a form with validation errors.

by dancantong :: Rate this Message:

Reply to Author | View in Thread

Hi!
I have a JSF page with an outputText that gets its value from a backing bean property.
The view has some inputText with validate required in order to assure they are not empty when the form is submitted.
When I submit the form with validation errors, it is redisplayed with the messages I set, but the outputText value gets empty.
I want the outputText to be redisplayed too, as happens with the inputText. Is this possible?
Thanks a lot.

 « Return to Thread: OutputText value is not redisplayed when submitting a form with validation errors.