You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by saty <sa...@gmail.com> on 2012/11/09 21:25:49 UTC

migration to wicket 6

old wicket code has this everywhere in my app
some textField .add

new AjaxEventBehavior("onkeypress")
{
.
.

protected CharSequence getCallbackScript(boolean onlyTargetActivePage)
{

}
.
.
}

could someone point me to an example how this can be done in wicket 6.
Looking to migrate getCallbackScript(boolean onlyTargetActivePage) part.

Thanks




--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/migration-to-wicket-6-tp4653756.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: migration to wicket 6

Posted by Martin Grigorov <mg...@apache.org>.
Read about dynamic extra parameters in the link that Sven gave you earlier.


On Fri, Nov 9, 2012 at 11:05 PM, saty <sa...@gmail.com> wrote:

> Thanks, its pretty much doing something similar to this example
>
>
>
> https://cwiki.apache.org/WICKET/identifying-the-key-that-was-pressed-in-a-serverside-key-handler.html
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/migration-to-wicket-6-tp4653756p4653758.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Re: migration to wicket 6

Posted by saty <sa...@gmail.com>.
Thanks, its pretty much doing something similar to this example


https://cwiki.apache.org/WICKET/identifying-the-key-that-was-pressed-in-a-serverside-key-handler.html



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/migration-to-wicket-6-tp4653756p4653758.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: migration to wicket 6

Posted by Sven Meier <sv...@meiers.net>.
I'm not sure what you're doing in #getCallbackScript() but have you read 
this?

https://cwiki.apache.org/WICKET/wicket-ajax.html#WicketAjax-AjaxRequestAttributes

Sven

On 11/09/2012 09:25 PM, saty wrote:
> old wicket code has this everywhere in my app
> some textField .add
>
> new AjaxEventBehavior("onkeypress")
> {
> .
> .
>
> protected CharSequence getCallbackScript(boolean onlyTargetActivePage)
> {
>
> }
> .
> .
> }
>
> could someone point me to an example how this can be done in wicket 6.
> Looking to migrate getCallbackScript(boolean onlyTargetActivePage) part.
>
> Thanks
>
>
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/migration-to-wicket-6-tp4653756.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org