|
From: Steven D. <ste...@gm...> - 2005-04-07 14:32:22
|
Apparently "person.name" is supported, that is Spring supports the dotted notation when setting properties. As FormAction re-uses org.springframework.validation.DataBinder I suppose dotted HTTP parameters are supported. On Apr 7, 2005 3:59 PM, Steven Devijver <ste...@gm...> wrote: > Guys, > > Next to the "formObjectClass" property I think it would the useful to > add a "formObjectBean" string property which could be any bean ref id > in the bean factory (must be prototypes). This way one could control > the creation of the beans through Spring. You could for example > already fill in default values which could facilitate the re-use of > domain classes as form objects. > > Another remark regarding usage of domain classes as form objects is > about jumping over properties in the form object. Say my form object > is a Manager instance which has a "person" property. Person has a > "name" property. Is it possible to add a "person.name" HTTP parameter > that would set the "name" property on the "person" property? > > regards > > Steven > > -- > "If you want to be a different fish, you gotta jump out of the school." > -- Captain Beefheart > -- "If you want to be a different fish, you gotta jump out of the school." -- Captain Beefheart |