myfaces-users mailing list archives

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

-----Original Message-----
From: Andrew Robinson [] 
Sent: Thursday, April 24, 2008 11:42 PM
To: MyFaces Discussion
Subject: Re: <h:selectOneMenu> disabled="true" returns "null" submitted

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 <> wrote:
> Hi,
>  It seems that when <h:selectOneMenue> is disabled, getSubmittedValue (of
>  that selectOneMenu using "binding" property) returns "null" instead of
>  submitted value.
>  Is it a correct behavior?
>  Guy.

View raw message