louis: is giveMeTrueOrFalse() a form function defined in my struts form?
>From: Louis Leung <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: Struts Users Mailing List <[EMAIL PROTECTED]> >Subject: Re: dynamicly set an attribute of tags >Date: Tue, 12 Mar 2002 14:51:11 -0500 > >you can define whether an attribute is a RTExpression (runtime expression) >or >not. for many of the struts tags, the attributes value can be of a >RTExpression. > >so for your case, you are certainly legal to do something like > ><html:text ... readonly="<%=giveMeTrueOrFalse()%>"/> > >or any scriplet you wanna put > >yanming lu wrote: > > > Is there any way in the struts to dynamically set an attribute? > > > > Example: > > <html:text ... readonly=true.../> > > > > For this tag, can we somehow to set readonly to true sometimes to false > > based on certian conditions? > > > > _________________________________________________________________ > > Join the world�s largest e-mail service with MSN Hotmail. > > http://www.hotmail.com > > > > -- > > To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > _________________________________________________________________ Join the world�s largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

