incubator-adffaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabrielle Crawford <gabrielle.crawf...@oracle.com>
Subject Re: Bug with read-only, required fields.
Date Tue, 31 Oct 2006 03:04:16 GMT
Really? I thought the renderer checks "wasSubmitted" which checks for 
readOnly and disabled. SubmittedValue should then be set to null, and in 
UIXEditableValue's validate if submittedValue is null validate is bypassed:

 Object submittedValue = getSubmittedValue();
    if (submittedValue == null)
      return;

Thanks,

Gab

Simon Lessard wrote:

> Hello all,
>
> I just found out that if you use an inputText with readOnly and 
> required set
> to true, validation will always fail, even if there's data in the 
> underlying
> bean. Anyone heard about this before?
>
>
> Regards,
>
> ~ Simon
>


Mime
View raw message