tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Colin de Verdière <tdeverdi...@scort.com>
Subject Re: c-rt
Date Thu, 08 Aug 2002 16:14:50 GMT
To create a scripting variable i have to create a TagExtraInfo class to my custom tag the one
which gives 'fields' as an attribute to my pageContext?

Shawn Bayern wrote:
> On Thu, 8 Aug 2002, Thomas Colin de Verdière wrote:
> 
> 
>>My first idea was that it was possible to retrieve variable from the
>>pageContext to the scriptlet with no use of 'useBean'.
>>
>>I thought this was implicit. After i saw this doesn't work i wrote the
>>useBean and then it works but it was a bit onerous.
> 
> 
> No, to use rtexprvalues, you must indeed create a scripting variable --
> either with a declaration in a scripting element, a <jsp:useBean> tag, or
> a custom tag.
> 
> Indeed, this is somewhat onerous; it's one of the disadvantages of
> rtexprvalues.  Using the EL is much more convenient.
> 

-- 
Thomas Colin de Verdière
SCORT
http://www.scort.com


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message