Ok.  It's good to know that.

Can you open a JIRA issue noting that the error message should be
changed to remove the "or read-only" part?   It is probably worth
noting that the warning should recommend changing from disabled to
read-only.

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


On 3/19/07, Pfau, Oliver <[EMAIL PROTECTED]> wrote:
Ok...I misunderstood this...the warning does not appear when I use readOnly...



-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Volker Weber
Gesendet: Montag, 19. März 2007 16:17
An: MyFaces Discussion
Betreff: Re: MyFaces 1.1.5 warning message on console

Oliver,

Mike asked you to toggle readonly instead of disabled.

You will always get this message if you change the disabled state on
client to false.

The reason is: for disabled input tags the value is not submitted to
the server,
on the server the related component is not disabled, so a value is
expected in the request.

Regards,
  Volker

2007/3/19, Pfau, Oliver <[EMAIL PROTECTED]>:
> I only toggle the disabled attribute of the input from true to false. If true 
the warning appears....if false it does not. I do not toggle read-only.
>
> -----Ursprüngliche Nachricht-----
> Von: Mike Kienenberger [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 16. März 2007 16:37
> An: MyFaces Discussion
> Betreff: Re: MyFaces 1.1.5 warning message on console
>
> Oliver,
>
> If the error goes away after you switch from disabled to read-only,
> can you please open a JIRA issue on the error message?  We should
> change it to remove the part about read-only.
>
>
> On 3/16/07, Pfau, Oliver <[EMAIL PROTECTED]> wrote:
> > No I am using no AJAX.
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Jeff Bischoff [mailto:[EMAIL PROTECTED]
> > Gesendet: Donnerstag, 15. März 2007 18:48
> > An: MyFaces Discussion
> > Betreff: Re: MyFaces 1.1.5 warning message on console
> >
> > Are you using AJAX?
> >
> > Pfau, Oliver 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