Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
generic type and tld
Joined: Nov 06, 2009
Nov 19, 2009 21:07:55
Hello dear ranchers,
I just want to know if there's a way to specify a generic type in a type tag of an attribute?
This code doesn't work :
<tag> <name>select</name> <tag-class>com.example.taglib.SelectTagHandler</tag-class> <body-content>empty</body-content> <attribute> <name>optionsList</name> <type>java.util.List<String></type> <---------HERE <required>true</required> <rtexprvalue>true</rtexprvalue> </attribute> </tag>
I really have the feeling that
5 (and so the certification too) doesn't care about J2SE 5 features. Am i missing something?
Joined: Apr 08, 2009
Nov 20, 2009 02:03:57
The tld doesn't care about that you have to do that in your
, there you have the attribute declaration and the setter and the getter for your attribute and there you indicate which type is it.
subject: generic type and tld
Is this a valid tag definition ?
c:if test doesnt like el?
taglib component class
question about <body-content>
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013