mraible wrote:
> 
> Have you tried using the @InitBinder annotation?
> 
> http://www.jdocs.com/spring/2.5.2/org/springframework/web/bind/annotation/InitBinder.html
> 
> Matt
> 
I'm not quite sure in how this might help me. What I'm trying to achieve is
actually quite simple:
I want an object to be read out using the Managers (or created new), then
pass it to the form, once the form is submitted I'd like some sort of
validation to kick in, and display errors in the redisplayed form if
something didn't go as planned, or otherwise the values should populate my
object again so I can work on it, or save it back.
As I see it in the old case you'd use the formBackingObject to fill this
data in and hold it in some sort of command object, that would be populated
once the form gets submitted, and some error checking going on that uses the
spring form taglib.
I'd like to do the same with the annotations :-)

Or did I get something wrong?

-----
Christian Decker
http://blog.snyke.net
-- 
View this message in context: 
http://www.nabble.com/Form-Controllers-with-Annotations--tp20672439s2369p20673682.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to