Re: clearing errors and input fields after Ajax validation in 2.1.6

2009-02-02 Thread Dave Newton
Christopher Maloof wrote: Solved; it turns out that the tags in the form were somehow causing this problem. Yeah, the S2 form tags put everything in a table by default, so you would have had some funky HTML there... different browsers handle malformed HTML in different ways. Yay browsers.

Re: clearing errors and input fields after Ajax validation in 2.1.6

2009-02-02 Thread Christopher Maloof
Solved; it turns out that the tags in the form were somehow causing this problem. Chris On 2/2/2009 11:06 AM, Christopher Maloof wrote: Hello, I've just installed Struts 2.1.6, and I'm converting a form to use Ajax validation. It's mostly working nicely, except that the input fields and e

Re: clearing errors and input fields after Ajax validation in 2.1.6

2009-02-02 Thread Musachy Barroso
Yeah, that's a good idea, you will find that under "Validation" (menu) -> Validation (ajax). musachy On Mon, Feb 2, 2009 at 11:22 AM, Christopher Maloof wrote: > The Firefox error console doesn't show any problems. I haven't tried this > showcase app (I'm pretty new to the framework) -- I guess

Re: clearing errors and input fields after Ajax validation in 2.1.6

2009-02-02 Thread Christopher Maloof
The Firefox error console doesn't show any problems. I haven't tried this showcase app (I'm pretty new to the framework) -- I guess I'll take a look and see if I can pin down any differences? Chris On 2/2/2009 11:14 AM, Musachy Barroso wrote: I just tried in showcase and they get cleared, is

Re: clearing errors and input fields after Ajax validation in 2.1.6

2009-02-02 Thread Musachy Barroso
I just tried in showcase and they get cleared, is there any javascript error on the page? musachy On Mon, Feb 2, 2009 at 11:06 AM, Christopher Maloof wrote: > Hello, > > I've just installed Struts 2.1.6, and I'm converting a form to use Ajax > validation. It's mostly working nicely, except that

clearing errors and input fields after Ajax validation in 2.1.6

2009-02-02 Thread Christopher Maloof
Hello, I've just installed Struts 2.1.6, and I'm converting a form to use Ajax validation. It's mostly working nicely, except that the input fields and errors don't clear after a submission. (Ideally, errors should always clear, and input fields should clear if validation succeeds.) The er