I have a custom component which uses wicket AJAX to call server.

*MyNameSpace.*SlimTechnologiesLazyListPanel.filter = *function*(url, elem,
event) {
    *var *name = *$*(elem).attr(*"techid"*);
    *var *type = *$*(elem).attr(*"type"*);
     *Wicket*.*Ajax*.*ajax*({*"u"*:url, *"ep" *: {*'name'*: name, *'type'*:
type}, *"pd"*: *true*});
};

I have accidently discovered that if I replace.

 *Wicket*.*Ajax*.*ajax*({*"u"*:url, *"ep" *: {*'name'*: name, *'type'*: type
}, *"pd"*: *true*});

with

 *Wicket*.*Ajax*.*ajax*({*"u"*:url,  e: "click" , *"ep" *: {*'name'*: name,
*'type'*: type}, *"pd"*: *true*});
After this line of code is executed on client then any click you perform on
the browser window will issue this AJAX call. Is that the expected
behaviour?

-- 
Regards - Ernesto Reinaldo Barreiro

Reply via email to