struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <adam_ha...@yahoo.com>
Subject Getting collections of messages
Date Wed, 22 Aug 2001 22:36:10 GMT
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