struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karr, David" <David.K...@wamu.net>
Subject RE: what does RT Expr mean
Date Wed, 29 Jan 2003 17:04:39 GMT
A custom tag attribute can only use an expression scriptlet if the
attribute specification in the tag library descriptor has a value of
"true" for the "rtexprvalue" attribute.

This is not the default, because some attributes of some tags will not
work if an expression scriptlet is used to specify them.  For instance,
if an attribute value specifies the name of a scriptlet variable to
declare, then that value has to be available at compile time.  It won't
do any good to wait until run-time to get the value, as that would be
too late.

-----Original Message-----
From: Sundar Narasimhan [mailto:sundar@ascent.com] 
Sent: Wednesday, January 29, 2003 8:49 AM
To: struts-user@jakarta.apache.org
Subject: Re: what does RT Expr mean

Thank you for all your replies. I had guessed RT Expr might mean that.

But now for the follow up.

>As others have said, it means "run-time expression".  Specifically, it
>means the value CAN be specified by a JSP expression scriptlet
>(beginning with "<%=").  Ironically, calling it a "run-time expression"

I'm now confused. I've been able to previously put <%= %> in similar
places in other JSP's that did not use the struts tags. Are you all
telling me that there are now cases when certain tags are marked w/out
RT
Expr .. that these struts tags explicitly disallow me typing <%= %> in
those attributes?

If so that would be a step backward IMHO.

Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message