RE: ajax validation issue

2008-09-11 Thread Gawain Hammond
Right, that has been an interesting romp around in struts. Jeromy, thanks for pointing me in the right direction and making me think. I went back to basics, bit the bullet and improved my javascript jedi abilities by installing firebug. That has really helped. If this might help anyone else one

RE: ajax validation issue

2008-09-11 Thread Dave Newton
--- On Thu, 9/11/08, Gawain Hammond wrote: 1.) validation.js was missing in my html, I wasn't using sx:head which seems to be the only tag that generates a src path to it, I was using s:head which afaik was my only choice in 2.0.11.1. Upgrading to 2.1.2 resolved this. I had to put this

RE: ajax validation issue

2008-09-10 Thread Gawain Hammond
away from my finishing this :-) -Original Message- From: Jeromy Evans [mailto:[EMAIL PROTECTED] Sent: 10 September 2008 01:19 To: Struts Users Mailing List Subject: Re: ajax validation issue Gawain Hammond wrote: ... That's a lot of problems, and to work-around each problem

Re: ajax validation issue

2008-09-10 Thread Jeromy Evans
Gawain Hammond wrote: A really nice solution so far has been to an action tag to populate forms, which has worked nicely the rest of the time. I've really liked using this approach to fill drop-downs, like so: s:action namespace=/admin name=crud.Group.listAll id=groupAction/ ... s:select

RE: ajax validation issue

2008-09-10 Thread Gawain Hammond
To: Struts Users Mailing List Subject: Re: ajax validation issue Gawain Hammond wrote: A really nice solution so far has been to an action tag to populate forms, which has worked nicely the rest of the time. I've really liked using this approach to fill drop-downs, like so: s:action namespace

Re: ajax validation issue

2008-09-09 Thread Jeromy Evans
Gawain Hammond wrote: ... That's a lot of problems, and to work-around each problem you've moved to a more sophisticated and complicated solution hoping for the best. You'll need to get the plain-old-validation working first. If validation fails, your action's execute method is not