Yes, that was the problem. Thank you all.

--
Milan


stanlick wrote:
> 
>> <s:textfield id="id" label="Id" name="id" readonly="%{edittingMode)"/>
> 
> As I was pressing send, I noticed you have a closing parenthesis instead
> of
> brace!  That is not going to be good for anyone.
> 
> 
> 
> 
> On Sun, Nov 30, 2008 at 5:10 AM, Milan Milanovic
> <[EMAIL PROTECTED]>wrote:
> 
>>
>> No one knows how to do this simple thing ?
>>
>> --
>> Milan
>>
>>
>> Milan Milanovic wrote:
>> >
>> > Hi,
>> >
>> > I have defined edittingMode (String and boolean, I tried both) in my
>> > action class with get/set methods and in resulting jsp I defined:
>> >
>> > <s:textfield id="id" label="Id" name="id" readonly="%{edittingMode)"/>
>> >
>> > But if I set edditingMode = "true" or edittingMode = true (in case of
>> > boolean), textfield never become readonly! I'm using Struts 2.0.11.1.
>> What
>> > is the problem ?
>> >
>> > --
>> > Thx, Milan
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/-S2--Set-textfield-readonly-property-from-action-class-tp20738164p20756552.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-S2--Set-textfield-readonly-property-from-action-class-tp20738164p20759543.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to