myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guy Bashan <guy.bas...@gmail.com>
Subject RE: <h:selectOneMenu> disabled="true" returns "null" submitted value
Date Thu, 24 Apr 2008 21:03:50 GMT
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:andrew.rw.robinson@gmail.com] 
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 <guy.bashan@gmail.com> 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.
>
>


Mime
View raw message