On Sunday 12 April 2009 14:43:44 Frans Thamura wrote: > > Right now the plugin doesn't require the JSON plugin. It uses the > > JSONValidationInterceptor to handle validation with AJAX form submission. > > So, it only depends on core. I didn't want to be dependent on a > > non-hosted plugin and figured it was time to bring JSON into the core. I > > think Musachy and I figured we'd be able to get it brought in quicker > > than has happened. > > my cimande project wants to have this feature > > http://www.blueoxygen.org/wiki/index.php/Cimande:Architecture > > we inject the interceptor within spring, and make the form submission > translate automatically to hibernate model. > > can share your JSONValidationInterceptor concept ? > > i think we need to execute an action for every form submission > > F
Frans, Check out this page - http://struts.apache.org/2.x/docs/ajax-validation.html In particular, check out the prototype example, it gives a good explanation of how to use the validation outside of the normal Dojo plugin. -Wes -- Wes Wannemacher Author - Struts 2 In Practice Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more http://www.manning.com/wannemacher --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
