commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Libbrecht <p...@activemath.org>
Subject Re: [JELLY] Initializing a list
Date Fri, 14 Nov 2003 16:27:30 GMT
How about
	<util:tokenize items="list">first second third</util:tokenize>

??
(note, syntax unchecked, please check taglibs)

Paul

S Schrem wrote:
> I'm trying to create a list within a jelly script to
> be used by the tablemodel tag. The list needs to
> contain several items. I've been using the 'uselist'
> tag. I don't know how to put multiple strings via the
> 'items' attribute. I've also tried the following:
> 	<j:set var="item2" value="string2"/>
> 	<j:useList var="mylist">
> 		<j:expr value="string1"/>
> 		<j:expr value="${item2}"/>
> 	</j:useList>
> Thanks,
> Serge



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message