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.
>
>

Reply via email to