|
From: Erwin V. <erw...@er...> - 2005-04-13 06:25:51
|
It's important when you need to register property editors with the data binder to make the <spring:bind> tag work when the form is first rendered. Look at the SimpleFormController for more info. Also look at the BirthDate sample app for an actual example. Erwin Vervaet erw...@er... ----- Original Message ----- From: "Steven Devijver" <ste...@gm...> To: <spr...@li...>; <spr...@li...> Sent: Tuesday, April 12, 2005 11:28 PM Subject: [Springframework-developer] web flow: why is there a "setupForm" method on FormAction > Hi guys, > > What are the use cases that would justify the "setupForm" method on > FormAction? Is the "bindAndValidate" method not sufficient? I can > understand some page flows would need a "setupform" method, for > example to further initialise the form object by an action bean. But > isn't this a anti-pattern? > > Steven > > -- > "If you want to be a different fish, you gotta jump out of the school." > -- Captain Beefheart > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > |