struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karr, David" <>
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 [] 
Sent: Wednesday, January 29, 2003 8:49 AM
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
Expr .. that these struts tags explicitly disallow me typing <%= %> in
those attributes?

If so that would be a step backward IMHO.


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message