|
From: Seth L. <se...@eh...> - 2004-05-18 01:11:48
|
Oliver Hutchison wrote: > I have quite a few pages that have multiple forms in a single JSP so a > general <spring:bindFromCommand> wouldn't really work for me. > > What I've found I'd like is something equivalent to the > Errors.setNestedPath() but for the bind tag. Perhaps > > <spring:setNestedPath path="chooseBusinessTypeCommand"> > <spring:bind path="type"> > .. Do stuff > </spring:bind> > </spring:setNestedPath> That would be perfect. I really only want to specify the bean name once. Ideally, it would still pick it up from the Model's Map by default, but I see your point why you would want to be able to specify it. What do you think about having the default for setNestedPath look into the Model for the path value, if none is given? Thanks! Seth |