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

Reply via email to