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 18:04:45 GMT
There was a time recently that I discovered that several tag attributes
had "rtexprvalue" being true when it should not have been.  Most of
these should be changed now in the nightly build.  As I said, any
attribute that specifies the name of a scriptlet variable to create
cannot use an rtexprvalue for the attribute value.  In general, I
believe the name of this tag attribute will be "id".  I don't remember
if there were any others.

If you can demonstrate a case of an attribute that is reasonable to have
an rtexprvalue, but it isn't working, then you should report that as a
bug (but you might ask about it first here).

-----Original Message-----
From: Tom Carey [mailto:tom.carey@accessesi.com] 
Sent: Wednesday, January 29, 2003 9:52 AM
To: Struts Users Mailing List
Subject: RE: what does RT Expr mean

Just getting in to the mix here.... That's good to know.  The Struts
taglibs
have every attribute set with <rtexprvalue>true</rtexprvalue>.  But I
found
that using an expression scriptlet was inconsistent.  It would work for
some
tags and not for others.  Has anyone else experienced that?

-----Original Message-----
From: Karr, David [mailto:David.Karr@wamu.net]
Sent: Wednesday, January 29, 2003 12:05 PM
To: Struts Users Mailing List
Subject: RE: what does RT Expr mean


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



---------------------------------------------------------------------
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