Re: Extending Action Mapping

2005-02-09 Thread Todd Nine
I came to a solution where I just passed a comma delimited string of properties, then when I set the ignore value, they are parsed into a list which my validate uses to check if it should validate. This approach seems similar to the validator when multiple xml files are defined. On Tue, 8 Feb 200

Re: Extending Action Mapping

2005-02-08 Thread Joe Germuska
At 3:35 PM -0500 2/8/05, Todd Nine wrote: Thanks for the help, given the Java Bean standards of getters and setters, is there any way to set a Map or a List from the xml file (something like the way Spring Framework does it)? And thanks for the naming complement, we get quite a few amusing ones,

RE: Extending Action Mapping

2005-02-08 Thread Fogleson, Allen
A workaround - albeit maybe not the best public void setAddIgnore(String value) { ignore.add(value); } public void setIgnore(List value) { this.ignore = value; } /** * @return A list of keys to ignore */ public List getIgnore() { return ignore; } then instead of use I don't like

Re: Extending Action Mapping

2005-02-08 Thread Todd Nine
Thanks for the help, given the Java Bean standards of getters and setters, is there any way to set a Map or a List from the xml file (something like the way Spring Framework does it)? And thanks for the naming complement, we get quite a few amusing ones, like LaserBeanUtils... :) On Tue, 8 Feb

RE: Extending Action Mapping

2005-02-08 Thread Benedict, Paul C
If your setter (for setIgnore?) does not have the same type as its getter, it is probably ignored. The JavaBean spec is really strict with its requirement for properties. By the way, "LaserActionMapping" is the coolest action classname I've ever seen. If there was an award for these things, I thin