The setting "readonly" is also available. This will send back the original value of the control unaltered, but not allow the user to change it. This is different from "disabled", which does not send back the value of the control.
Regards, Simon Guy Bashan schrieb: > Thanks, > It seems like the logical behavior, and also consistent with traditional > HTML not passing disabled inputs. > (still, there are cases in which you want to save the value of a disabled > control...) > > -----Original Message----- > From: Andrew Robinson [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 24, 2008 11:42 PM > To: MyFaces Discussion > Subject: Re: <h:selectOneMenu> disabled="true" returns "null" submitted > value > > Yes and no, disabled HTML controls do not submit values to the server. > So there is no submitted value, not that it is not returning the > submitted value. > > On Thu, Apr 24, 2008 at 1:14 PM, Guy Bashan <[EMAIL PROTECTED]> wrote: > >> Hi, >> >> It seems that when <h:selectOneMenue> is disabled, getSubmittedValue (of >> that selectOneMenu using "binding" property) returns "null" instead of >> > the > >> submitted value. >> >> Is it a correct behavior? >> >> Guy. >> >> >> > > >

