Sorry, it's onRendered in AbstractBehavior.

-Matej

On Dec 21, 2007 8:13 AM, thomas jaeckle <[EMAIL PROTECTED]> wrote:
>
>
> Matej Knopp-2 wrote:
> >
> > Try this (it's a bit hacky though):
> >
> > datatable.add(new AbstractBehavior() {
> >   public final void afterRender(final Component component) {
> >      AjaxRequestTaget target = AjaxRequestTarget.get();
> >      if (target !- null) {
> >          target.appendJavascript("<your javascript to initialize the
> > tooltips>");
> >      }
> >   }
> > });
> >
> > -Matej
> >
> Overriding a final method?
> I try to find another place to put the appendJavascript ..
>
> Thanks so far.
>
> --
> View this message in context: 
> http://www.nabble.com/Problem-with-JavaScript-when-using-Wicket-AJAX-Components-tp14432037p14451288.html
>
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to