jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "WAGNER, Urs" <Urs.Wag...@ser.ch>
Subject Attribute for String and List<String>
Date Wed, 19 Dec 2007 14:35:35 GMT

Is it possible to define a tag attribute valid for

Both String and List<String>?


When I use a List<String> attribute with a String a such

An error:


javax.servlet.jsp.el.ELException: Attempt to convert String "1;2;5;10"
to type "java.util.List", but there is no PropertyEditor for that type


If the argument is a String I would like to call a string tokenizer with
; delimiter.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message