That's weird as it seems to work for me (but I'm using svn head anyway) musachy
On 7/31/07, Sandro Giessl <[EMAIL PROTECTED]> wrote: > On Monday 30 July 2007 19:12:45 Musachy Barroso wrote: > > Look at the ajax validation example in showcase. > > Are you sure that the AJAX validation in the showcase is working properly? > > In struts2-showcase/nodecorate/quizAjax.action (S2.1 snapshot), the first > example puts a strange response in the "Response goes here" (namely the full > html action result). Not sure if that is intended. > > And the second example (2.Use AJAX validation, and regular request) flashes > for a moment (incorrectly indicating that the form is valid), and then it > reloads the full page. > It seems to me that one should add some <s:hidden > name="struts.enableJSONValidation" value="true" /> here, in order to make > sure that a JSON answer is sent to the AJAX request. But I don't have the > time at the moment to figure it out. > > Thanks for your answer. > Regards, Sandro (evaluating S2.0 DWR now) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]