Hi all,

I have a very special problem with ajax lazy loaded panels, which 
contains ajax links.

Problem: AjaxLink does not execute "onclick". Does not reach server / no 
client-side execution in browser occurs.

What I investigated until now:
- client-side script evaluation of lazy loading panel works.

I can see script like this:
{Wicket.Ajax.ajax({"u":"./page?6-8.IBehaviorListener.VERY_LONG_ID","e":"click","c":"edtc5"});})();

- I stepped into the evaluated javascript code Wicket.Ajax.ajax(attrb) 
with firebug.

- inside a jquerys each() iterates over all elements, and adds onclick 
event handling to the particular element/a-link ("c":"edtc5" of script 
above).

see:
wicket-ajax-jquery-ver-xyz.js
line: 1800
jQuery.each(attrs.e, function (idx, evt) {
  Wicket.Event.add(attrs.c, evt, function (jqEvent, data) {
    var call = new Wicket.Ajax.Call();
     var attributes = jQuery.extend({}, attrs);
     attributes.event = Wicket.Event.fix(jqEvent);
...


So far so good...
At this point it gets tooooo deep for me. :-/


Can any wicket pro please help, why the onclick (I think its binded 
correctly) of my link does not get fired to let execute the ajax request?


I already made a quickstart with different lazyloaded panels, and all 
ajaxlinks are working fine.

kind regards
Patrick
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to