--- Session A Mwamufiya wrote:
> readonly="if(%{editingFlag==true}){return 'true'}"/>
>
> but the textfield is not readonly, and the page
> source reflects it. BTW, editingFlag is set in the
> prepare() method of my action.
>
> Any idea on how to write the evaluation?
Try something like:
%{ed
lez répondre à
"Struts Users Mailing List"
A
user@struts.apache.org
cc
Objet
Evaluating a javascript expression in order to set the readonly attribute
Hi,
I would like to set a textbox to readonly when a flag is set in my action.
I have the following jsp call:
but the textfield
Hi,
I would like to set a textbox to readonly when a flag is set in my action. I
have the following jsp call:
but the textfield is not readonly, and the page source reflects it. BTW,
editingFlag is set in the prepare() method of my action.
Any idea on how to write the evaluation?
Thanks,
S
3 matches
Mail list logo