struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rakesh" <ayilli...@india.com>
Subject Re: Getting collections of messages
Date Thu, 23 Aug 2001 07:21:07 GMT
Hi,

check the struts-validator extension at
http://home.earthlink.net/~dwinterfeldt/



 Rakesh Ayilliath

ayilliath@india.com

----- Original Message ----- 
From: "Adam Hardy" <adam_hardy@yahoo.com>
To: <struts-user@jakarta.apache.org>
Sent: Thursday, August 23, 2001 4:06 AM
Subject: Getting collections of messages


> Hello,
> 
> Is it possible to return collections of messages from
> the ApplicationResources.properties file?
> 
> Eg the ApplicationResources.properties could be:
> page1.optionbox.1=Apples
> page1.optionbox.2=Oranges
> page1.optionbox.3=Pears
> ...
> ...
> 
> I would like to get page1.optionbox.* as a collection
> to populate an options tag.
> 
> I have looked through the JavaDoc for
> org.apache.struts.util.MessageResources and it doesn't
> have any methods that return collections or arrays so
> I guess the answer is probably no.
> 
> Is there a way to acheive this functionality?
> 
> Thanks Adam.
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
> 

Mime
View raw message