.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
--
View this message in context:
http://www.nabble.com/-T5.1--AJAX-Form-Validation-tp25709062p26009821.html
Sent from the Tapestry - User mailing list archive
...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
--
View this message in context:
http://www.nabble.com/-T5.1--AJAX-Form-Validation-tp25709062p26009821.html
Sent from the Tapestry - User mailing list archive at Nabble.com
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
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
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
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 that
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
Hello all,
I'm seing some interesting behavior I hope you can help me sort out.
I have a form which I would like to display an error message (custom) should
the form validation fail. I'd like to do this via AJAX since the contents
of the form are created via AJAX and refreshing the page to