jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Fedulov <ifedu...@outlook.net>
Subject Re: Taglib variables
Date Fri, 14 Dec 2001 18:54:33 GMT

> Then, the taglib, rather than using the body of the tag or a 'string'
> attribute, would do:
>
>     Object target = pageContext.getAttribute( getUse() );
>
> Is that making any more sense?

IMHO name of input attribute(s) name(s) usually vary from tag to tag,
because sometimes you want to be more specific about what you expect from
user as input variable. I.e.:

<olt:fetchDataSet dataset="<%=invoiceDS%>"
vars="id|date|companyname|amount">
...
</olt:fetchDataSet>

or

<olt:fetchRequest request="<%=request%>"
vars="id:identifier|s:searchString">
...
</olt:fetchRequest>

So if your idea behind that is to create a generic Tag class which will
have get/set methods for 'use' attribute and then all subclassing tags
will just use "getUse()"?

Best regards,
--
HTTP is a stateless protocol, and the Internet is a stateless development
environment
--
Igor Fedulov
E-mail : ifedulov@outlook.net
Work Ph: 773.775.1595
Home Ph: 773.281.8938
Cell Ph: 773.580.5935




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


Mime
View raw message