Displaying maps with JSON plugin

2010-05-22 Thread Marshall Gunter
I'm using Struts-2.1.8.1's JSON plugin to try and display the field errors that are accrued by the validation interceptor. What I've got is this: Java snippet from the action: public Map getAllErrors() { return getFieldErrors(); } public String getNewEmail() { return this.newE

Struts 2 field validator thread safety

2010-07-15 Thread Marshall Gunter
Do Struts 2 field validators need to be thread safe? -- Marshall Gunter - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Struts 2 field validator thread safety

2010-07-17 Thread Marshall Gunter
Writing my own. On 10-07-15 08:33 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marshall, On 7/15/2010 9:27 AM, Marshall Gunter wrote: Do Struts 2 field validators need to be thread safe? That depends on what you want to do with them. Are you writing

Re: Struts, Spring, Hibernate and multiple Sessionfactories

2010-10-15 Thread Marshall Gunter
I have seen a horizontal partitioning of data using Hibernate that hides the SessionFactories, etc in a ConfigUtil class. The idea goes something like this. The ConfigUtil establishes all SessionFactories and stores them in a map with their associated identifier (ID, class, whatever you choose) as