Jeff, he's doing this with javascript (clientside).   Doing it in a
JSF-way would move that to server-side.   The best thing to do is to
make it read-only.

On 3/15/07, Jeff Bischoff <[EMAIL PROTECTED]> wrote:
Or better yet, disable it in a JSF way - ie, using the "disabled"
attribute of the component along with an "immediate" submit.

Mike Kienenberger wrote:
> JSF expects to get a value back from this component when the form is
> submitted.  If you disable the element from javascript, that doesn't
> happen.   Instead of disabling it, make it read-only.
>
> http://webdesign.about.com/od/forms/a/aa071805.htm
>
> On 3/15/07, Pfau, Oliver <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> what is meaning of this message:
>>
>> "WARNING: There should always be a submitted value for an input if it is
>> rendered, its form is submitted, and it is not disabled or read-only
>> . Component : <...inputText>"
>>
>> <...inputText> is an input text field which could be enabled or disabled
>> by javascript. I have other input text fields without this message. Any
>> idea ?
>>
>> Regards,
>> Oliver
>>
>
>
>




Reply via email to