Re: [S2] Indexed properties, Type Conversion and Validation

2008-01-07 Thread jimkski
I've made some progress on this on my own. I needed to write my own version of VisitorFieldValidator to make it work however. Once that was done, the model was being validated but all the error messages were being assigned to the wrong field names. The reason for this is that the field names

Re: How to write JSP to populate back a hashmap of custom objects

2008-01-07 Thread jimkski
Hi Rubbino- The vita rara blog provided a good example of using the Map method to update a list of domain entries. http://www.vitarara.org/cms/struts_2_cookbook/updating_a_list_of_domain_entities I followed that example exactly and was able to get a form submit using maps working. -- View

[S2] Indexed properties, Type Conversion and Validation

2008-01-06 Thread jimkski
Hey All- I'm developing an application using the ModelDriven approach. On of my forms is a grid style data entry page and I'm having a difficult time getting validation to work. I used the approach specified by Patrick Lightbody (http://struts.apache.org/2.0.11/docs/type-conversion.html) for ha