Do you try to change the value on the client-side with javascript? Then you
shouldn't set readonly/disabled to true. With readonly or disabled set to
true, your component value will never be decoded on the server.

regards,

Martin

On 8/14/07, daniel ccss <[EMAIL PROTECTED]> wrote:
>
> Hi all:
>
> In my JSP I have:
>
> ....
>                         <td class="td-contenido" colspan="2">
>                             <h:selectOneMenu value="#{
> DiaFeriadoBean.tipFeriado }" readonly="true">
>                                 <f:selectItems value="#{
> DiaFeriadoBean.tiposFeriadosSelect}" />
>                             </h:selectOneMenu>
>                         </td>
> .....
>
> And In the DiaFeriadoBean the value of tipFeriado property is 0, I tried
> with disabled = true, but is the same, If I quit the reaonly="true" then I
> can get the right value, My question is how can I get the value of a
> property that is read only?
>
> Thanks
>



-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to