The value hasn't changed, there is no reason to send it back to the
server. If you have that value in a request scope, it is your job to
manage the state.

1) use conversations (seam or orchestra)
2) use t:saveState
3) use h:inputHidden

-Andrew

On Thu, Apr 24, 2008 at 3:03 PM, Guy Bashan <[EMAIL PROTECTED]> wrote:
> 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.
>  >
>  >
>
>

Reply via email to