myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bandaru <rbandar...@gmail.com>
Subject Re: selectBooleanCheckbox changes to Readonly Mode on Binding
Date Tue, 11 Sep 2007 05:47:52 GMT

Hi,
       I'm having setter and getter methods in backing Bean eventhough
getting same problem,
     If i set selected="true" its working fine But when i use
ExpressionLanguage(EL) in 'selected' attribute the component is changing to
ReadOnly Mode.
   What may be the problem?
         Please suggest me..
 
    Thanking You,
      Bandaru.


Simon Lessard wrote:
> 
> Hello Dandaru,
> 
> You probably forgot to add a setter method for value property. You need to
> add the following method
> 
> public void setValue(Boolean value)
> {
>   //
> }
> 
> to your backing_page1 bean.
> 
> 
> Regards,
> 
> ~ Simon
> 
> On 9/10/07, Bandaru <rbandaru20@gmail.com> wrote:
>>
>>
>> Hi,
>>
>>     When i use binding for 'selected' property in 'selectBooleanCheckbox'
>> it
>> is changing to Readonly mode in the Output,
>>   But it should be able to change.
>>    How can i avoid that,Please suggest me.
>>
>>   <tr:selectBooleanCheckbox selected="#{backing_page1.value}"/>
>>
>> Thank you,
>> Bandaru.
>> --
>> View this message in context:
>> http://www.nabble.com/selectBooleanCheckbox-changes-to-Readonly-Mode-on-Binding-tf4415119.html#a12593996
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/selectBooleanCheckbox-changes-to-Readonly-Mode-on-Binding-tf4415119.html#a12608454
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Mime
View raw message