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