Thank you very much. That worked perfectly!
Andrew Robinson-5 wrote: > > The standard response is to suggest t:saveState. > > If there are validation errors, the updating of components will never > occur and thus your input hidden doesn't do anything for that post > > Sent from my iPod > > On May 16, 2008, at 4:52 PM, dancantong <[EMAIL PROTECTED]> wrote: > >> >> Hi. >> Thank you for you reply. >> Yes I'm using request session scoped beans. But I have set in the >> view a >> hidden field associated to the outputText property to mantain it's >> value. Do >> you know any whay to archieve without using session beans? >> >> >> Andrew Robinson-5 wrote: >>> >>> There is no reason why outputText should be affected by validation >>> errors. Are you sure that you have a value for the backing bean >>> property after the post back and validation errors? Maybe your bean >>> is >>> request scope and therefore has been re-created and not initialized? >>> >>> On 5/12/08, dancantong <[EMAIL PROTECTED]> wrote: >>>> >>>> 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. >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/OutputText-value-is-not-redisplayed-when-submitting-a-form-with-validation-errors.-tp17182877p17182877.html >>>> Sent from the MyFaces - Users mailing list archive at Nabble.com. >>>> >>>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/OutputText-value-is-not-redisplayed-when-submitting-a-form-with-validation-errors.-tp17182877p17285711.html >> Sent from the MyFaces - Users mailing list archive at Nabble.com. >> > > -- View this message in context: http://www.nabble.com/OutputText-value-is-not-redisplayed-when-submitting-a-form-with-validation-errors.-tp17182877p17327267.html Sent from the MyFaces - Users mailing list archive at Nabble.com.

