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
>

-- 
Mit freundlichen Grüßen,

Patrick Davids

NuboIT GmbH & Co. KG
Kieler Str. 103-107 • 25474 Bönningstedt

Email: patrick.dav...@nuboit.de

Handelsregister: HRA6819 Pi  | Amtsgericht Pinneberg

Geschäftsführung der Verwaltungsgesellschaft
Daniel Fraga Zander

HRB10145Pi | Amtsgericht Pinneberg

Reply via email to