Hi,

I agree with Maxim, jQuery selector for IDs is '#'.

If you are not able to use dependencies (personnaly I would have challenged
this with your hierarchy because Wicket jQuery UI is stable and already 3
years old...), you can at least see how it works/is implemented:
https://github.com/sebfz1/wicket-jquery-ui

Best regards,
Sebastien.


On Tue, Mar 10, 2015 at 3:02 PM, Maxim Solodovnik <solomax...@gmail.com>
wrote:

> I guess this line:
> listContainer.add(new AttributeAppender("onclick", new
> Model("$('"+listContainer.getMarkupId()+"').toggle('slow')")));
>
> should be
> listContainer.add(new AttributeAppender("onclick", new
> Model("$('#"+listContainer.getMarkupId()+"').toggle('slow')")));
>
>
> On Tue, Mar 10, 2015 at 7:39 PM, avchavan <avinash.cha...@yahoo.co.in>
> wrote:
>
> > Not allowed to have dependency. :/
> >
> > --
> > View this message in context:
> >
> http://apache-wicket.1842946.n4.nabble.com/Accordion-folding-unfolding-smoothly-tp4669851p4669905.html
> > Sent from the Users forum mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>
>
> --
> WBR
> Maxim aka solomax
>

Reply via email to