Have you tried changing AjaxRequestAttributes#setAllowDefault(true) and
#setEventPropagation(BUBBLE) ?
Otherwise please create a quickstart so we can debug the problem.
Regards
Sven
On 06/12/2013 03:43 PM, divad91 wrote:
Anyone notice the same problem ?
Thanks Sven, I had not tested the setEventPropagation(BUBBLE), only the
setAllowDefault(true).
It's working perfectly right now !
@Override
protected void updateAjaxAttributes(AjaxRequestAttributes attributes) {
attributes.setAllowDefault(true);
Thank you for your response.
By overriding the updateAjaxAttributes and adding
attributes.setAllowDefault(true), my javascript validation works but my
behavior (ajax call) is not triggered.
@Override
protected void updateAjaxAttributes(AjaxRequestAttributes attributes) {
The ajax response are the same if I compare with a Wicket 6.6.0 application
version.
Looks like the AjaxFormChoiceComponentUpdatingBehavior is blocking the
jQuery Validation to unhighlight my field before the ajax call is triggered.
--
View this message in context:
The problem is really related with the onClick event.
I copied the class AjaxFormChoiceComponentUpdatingBehavior in my project
(hijacking) and changed the event click by onchange. The validation and
the ajax call are working perfectly.
Jquery validation bind a click event on my radioChoice.
you might have to override updateAttributes on the behavior and say
attributes.allowdefault(true)
-igor
On Mon, Jun 3, 2013 at 11:28 AM, divad91 diva...@hotmail.com wrote:
Hi,
Im not sure if my problem is related to wicket or jQuery but since I
upgraded from wicket 6.6.0 to 6.8.0, my