Validation messages go missing in ajax form example

2013-05-03 Thread Taro Fukunaga
Hi,

I'm having a problem with validation in a form with ajax buttons. I am using
Wicket 6.7.0 and running Form Example: shows ajax form processing on my
local box (I downloaded Wicket 6.7.0 zip file and running it through
jettty). The scenario:

1) Type aaa for the name field and click submit via ajax button. Result: 

Name must be at least 4 characters
Email is required

2) Next I type  for the name filed and click submit via ajax button.
Result: no validation error messages are shown (not even for the email).

3) I type aaa again and click submit via ajax button. Result: no
validation error messages are shown.

Now I no longer get validation messages whenever I click the button.

Workaround: Erase the text for the name field and click the submit via
ajax button. Then type aaa. The validation message appears again.

Is this a known issue and what can I do to fix this?

Thanks.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Validation-messages-go-missing-in-ajax-form-example-tp4658545.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Validation messages go missing in ajax form example

2013-05-03 Thread Sven Meier

Works fine here:  Messages show up with either button (and as you type too).

Sven

On 05/03/2013 11:11 PM, Taro Fukunaga wrote:

Hi,

I'm having a problem with validation in a form with ajax buttons. I am using
Wicket 6.7.0 and running Form Example: shows ajax form processing on my
local box (I downloaded Wicket 6.7.0 zip file and running it through
jettty). The scenario:

1) Type aaa for the name field and click submit via ajax button. Result:

 Name must be at least 4 characters
 Email is required

2) Next I type  for the name filed and click submit via ajax button.
Result: no validation error messages are shown (not even for the email).

3) I type aaa again and click submit via ajax button. Result: no
validation error messages are shown.

Now I no longer get validation messages whenever I click the button.

Workaround: Erase the text for the name field and click the submit via
ajax button. Then type aaa. The validation message appears again.

Is this a known issue and what can I do to fix this?

Thanks.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Validation-messages-go-missing-in-ajax-form-example-tp4658545.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org