Well spotted. You have commit rights,  it would be great if you could fix
it.
On Jul 31, 2013 5:03 PM, "Martin Grigorov" <notifications@github.com> wrote:

> In
> wiquery-jquery-ui/src/main/java/org/odlabs/wiquery/ui/tooltip/TooltipBehavior.java:
>
> > +import org.apache.wicket.markup.head.IHeaderResponse;
> > +import org.apache.wicket.markup.head.JavaScriptHeaderItem;
> > +import org.apache.wicket.markup.head.OnDomReadyHeaderItem;
> > +import org.odlabs.wiquery.core.javascript.JsStatement;
> > +import org.odlabs.wiquery.core.options.Options;
> > +import org.odlabs.wiquery.ui.options.EffectOptionObject;
> > +import org.odlabs.wiquery.ui.position.PositionOptions;
> > +import org.odlabs.wiquery.ui.tooltip.TooltipJavaScriptResourceReference;
> > +
> > +public class TooltipBehavior extends Behavior
> > +{
> > +	private static final long serialVersionUID = 1L;
> > +
> > +	protected Options options = new Options();
> > +
> > +	private Component component;
>
> There is no need to keep a reference to the component.
> It is passed to you in renderHead() method and you can pass it to
> statement().
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/WiQuery/wiquery/pull/36/files#r5505437>
> .
>