--- 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
In your Action, add an String attribute named editingFlag with a getter
and a setter. Set the value ("true" or "false") of editingFlag in the
method forwarding to your JSP.
In the JSP :
"Session A Mwamufiya" <[EMAIL PROTECTED]>
13/08/2007 12:46
Veuillez répondre à
"Struts Users Mailing Lis
2 matches
Mail list logo