Re: [T5.1] AJAX Form Validation

2009-10-22 Thread Josh Canfield
Hi, I wasn't the one with the problem, and I'm not sure that Levi ever said what was specifically wrong. Post the specifics of your problem in a separate thread and I'm sure someone will be able to help. Josh On Thu, Oct 22, 2009 at 6:23 AM, superslip103 wrote: > > Hi Josh > What was your encod

Re: [T5.1] AJAX Form Validation

2009-10-22 Thread superslip103
Hi Josh What was your encoding issue? I'm having the same issue here with a SelectBox Encoder. Ro xfile80303 wrote: > > > Thanks Josh! > > You helped me identify that it was an encoder issue on my end. > > I appreciate your help. :) > > Cheers, > > Levi > > > Josh Canfield wrote: >> >

Re: [T5.1] AJAX Form Validation

2009-10-05 Thread xfile80303
Thanks Josh! You helped me identify that it was an encoder issue on my end. I appreciate your help. :) Cheers, Levi Josh Canfield wrote: > > The only change I made was making isValid into a property and a > checkbox in the form so I could switch between behaviors. > > Here is the complete

Re: [T5.1] AJAX Form Validation

2009-10-03 Thread Josh Canfield
The only change I made was making isValid into a property and a checkbox in the form so I could switch between behaviors. Here is the complete code that works for me. public class Index { @Component private Zone nothingSelectedZone; @Component private Form _parts; @Property

Re: [T5.1] AJAX Form Validation

2009-10-02 Thread xfile80303
Hi Josh, Thanks for looking. I'm afraid the stack trace I provided is a red herring and does not have any bearing on the situation. It comes from the fact that my encoder was getting purged from the session due to it being set as FLASH only. And this exception actually only happens after I cha

Re: [T5.1] AJAX Form Validation

2009-10-02 Thread Josh Canfield
Your example code works fine and the exception you provide makes it look like you're in a loop? > Caused by: java.lang.NullPointerException >at > org.apache.tapestry5.corelib.components.Loop.restoreStateFromStoredClientValue(Loop.java:457) That line from the code: // We assume tha

Re: [T5.1] AJAX Form Validation

2009-10-02 Thread xfile80303
Okay, I have some more information... When I click on the submit button, after the validation error, I see this in the log: ERROR [http-8080-5: RequestExceptionHandler]: Processing of request failed with uncaught exception: org.apache.tapestry5.runtime.ComponentEventException org.apache.tapestry