Programmatically reloading resource bundles Struts 2

2008-05-10 Thread sarat.pediredla
I have a resource bundle file called "config.properties" that is created to store application settings. This file is created during runtime and values are provided by the user. I am retrieving one of these properties in my JSP in a fmt:message key (basically user controlled i18n string). What I r

Any idea on Struts 2.1.1

2008-02-28 Thread sarat.pediredla
I saw some posts on the dev list by Don B who talked about a 2.1.1 release but JIRA still seems to say that 2.1.1 is pending? Can anyone confirm if 2.1.1 is released or if not, any ideas on timescales? - --- http://hedgehoglab.com http://fixxbugs.com - bug tracking

Re: HOw to send form parameters to dao in struts2 with hibernate?

2008-02-28 Thread sarat.pediredla
RajiR, How is the service implementation layer being instantiated? The best way is to use the Spring plugin as defined at http://struts.apache.org/2.0.11/docs/spring-plugin.html to inject objects into your actions manage dependancy injection. For more on interceptors and what they do, see http

Re: Struts, Interceptor error message customization

2008-02-16 Thread sarat.pediredla
I think the message customisation has been covered so onto trapping interceptor results. The easiest way you can trap a 500 error is to define the following XML in your web.xml file, 500 /error.jsp In your error page, you will have access to the actionErrors collection w

i18n for Enum values in s:select

2007-06-21 Thread sarat.pediredla
I have a s:select form element in my JSP that gets a list of enums to display in a drop down box. The following is my enum public enum Colour { WHITE, RED, BLACK; } The following is the action method that returns a List for my s:select public List getColourList() { return A