Put a break point on RequestCycle#execute() and debug what's happening
when you're Javascript is firing.
Sven
On 06/07/2013 01:27 PM, Patrick Davids wrote:
Hmm... "select", but is fired via jquery on client side, and I do the
ajax request by $.ajax(){ url: 'bevahior generated callback url' } on my
own.
(Im working with jquerys autocomplete.)
Patrick
Am 07.06.2013 12:48, schrieb Sven Meier:
On what JavaScript event is your behavior listening?
Sven
On 06/07/2013 12:38 PM, Patrick Davids wrote:
Hi all,
I implemented a panel having its own AbstractAjaxBehavior.
I provided the callback url to my pagepanel, the ajax request works;
everything seems fine.
Than I implemented an abstract method onSelect() to my panel to let an
implementation do some custom thinks (the onRequest() of my internal
behavior just delegates to abstract onSelect() of my panel)
My first test... simply doing a:
add(new MyPanel("foo"){
public void onSelect(){
setResponsePage(some where)
}
)
but nothing happens...
Using AbstractAjaxDefaultBehavior overriding respond() and delegating to
onSelect() does not work, too.
Do I have to do something special, to behave like an e.g. AjaxLink?!?
setResponsePage() is working there...
kind regards
Patrick
---------------------------------------------------------------------
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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org