LookupDispatchAction and Submit

2003-09-29 Thread Lars Bergstrm
Hi everyone, I have a html:form in which i have several buttons like this: html:submit property=actionType bean:message key=button.add/ /html:submit html:submit property=actionType bean:message key=button.delete/ /html:submit

LookupDispatchAction and submit

2003-09-26 Thread Lars Bergstrm
Hi everyone, I have a html:form in which i have several buttons like this: html:submit property=actionType bean:message key=button.add/ /html:submit html:submit property=actionType bean:message key=button.delete/ /html:submit

Ted Husted: html:optionsCollection Map

2003-09-18 Thread Lars Bergstrm
Dear Ted, I am trying to get my html:optionsCollection to work with a TreeMap. I don't know if this is possible but on the Struts API page for the class OptionsCollectionTag I read the following: The collection may be an array of objects, a Collection, an Enumeration, an Iterator, or a Map. (

Using Map with html:optionsCollection

2003-09-17 Thread Lars Bergstrm
Dear Struts users, I am trying to get my html:optionsCollection to work with a TreeMap. I don't know if this is possible but on the Struts API page for the class OptionsCollectionTag I read the following: The collection may be an array of objects, a Collection, an Enumeration, an Iterator, or a

TreeMap and html:optionsCollection

2003-09-15 Thread Lars Bergstrm
Dear Struts users, I am trying to get my html:optionsCollection to work with a TreeMap. I don't know if this is possible but on the Struts API page for the class OptionsCollectionTag I read the following: The collection may be an array of objects, a Collection, an Enumeration, an Iterator, or a

TreeMap vs html:optionsCollection

2003-09-15 Thread Lars Bergstrm
Dear Struts users, I am trying to get my html:optionsCollection to work with a TreeMap. I don't know if this is possible but on the Struts API page for the class OptionsCollectionTag I read the following: The collection may be an array of objects, a Collection, an Enumeration, an Iterator, or a

RE: TreeMap vs html:optionsCollection

2003-09-15 Thread Lars Bergstrm
)); eventGroups.add(new LabelValueBean(Label 2,Value 2)); eventGroups.add(new LabelValueBean(Label 3,Value 3)); ((EventGroupBean)form).setEventGroups( eventGroups ); Lars Bergstrm wrote: Dear Struts users, I am trying

RE: Message resource as a String variable

2003-09-05 Thread Lars Bergstrm
Yep, Use one of the getMessae methods on the MessageResources class. http://jakarta.apache.org/struts/api/org/apache/struts/util/MessageResou rces.html The locale is fetched from a session attribute. Here is an example: Locale locale = (Locale) session.getAttribute( Action.LOCALE_KEY );

RE: Accessing MessageResources

2003-09-01 Thread Lars Bergstrm
. -Sasha On 8/28/03 8:52, Lars Bergstrm [EMAIL PROTECTED] wrote: Hi, I would like to retrieve all message resource keys held by Struts read from my application.properties file. Not only for one proprety. What I

MessageResource, html:options i182

2003-08-28 Thread Lars Bergstrm
Part 1 On a jsp page I want to have a html:select of the type that has a predefined number of options, e.g. different sports. Now, I want to make use of Struts internalization where the differents locales text strings are retrieved from its locale properties file. If I read the text strings from

Accessing alternative message-resource

2003-08-28 Thread Lars Bergstrm
Hi, How can I get an iterator so that I can loop all keys in a struts message resource bundle? With MessageResources it only gives me the default resource bundle. Best regards Lasse Bergstrm - To unsubscribe, e-mail: [EMAIL

Accessing MessageResources

2003-08-28 Thread Lars Bergstrm
Hi, I would like to retrieve all message resource keys held by Struts read from my application.properties file. Not only for one proprety. What I am looking for is something like the method propertyNames in java.util.Properties. BR Lasse