Re: Accordion folding unfolding smoothly

2015-03-10 Thread Sebastien
Hi, What component/library are you referring to? Best regards, Sebastien On Mon, Mar 9, 2015 at 7:57 AM, avchavan avinash.cha...@yahoo.co.in wrote: any workaround possible? -- View this message in context:

Re: Accordion folding unfolding smoothly

2015-03-10 Thread avchavan
This is what i have tried so far: --HomePage class--- package com.proj.wicket.ui; import java.util.ArrayList; import java.util.List; import org.apache.wicket.Component; import org.apache.wicket.ajax.AjaxEventBehavior; import org.apache.wicket.ajax.AjaxRequestTarget; import

Re: Accordion folding unfolding smoothly

2015-03-10 Thread Maxim Solodovnik
I would recommend you to try: http://7thweb.net/wicket-jquery-ui/accordion/DefaultAccordionPage The code will be much simplier :) On Tue, Mar 10, 2015 at 5:02 PM, avchavan avinash.cha...@yahoo.co.in wrote: This is what i have tried so far: --HomePage class--- package

Re: Accordion folding unfolding smoothly

2015-03-10 Thread avchavan
I have checked that already. but i am not allowed to use it. Hence had write the entire code for accordion. Is it possible to just add the toggle effect? Thanks. -- View this message in context:

Re: Accordion folding unfolding smoothly

2015-03-10 Thread Maxim Solodovnik
you can try to use http://7thweb.net/wicket-jquery-ui/effect/DefaultEffectPage On Tue, Mar 10, 2015 at 5:28 PM, avchavan avinash.cha...@yahoo.co.in wrote: I have checked that already. but i am not allowed to use it. Hence had write the entire code for accordion. Is it possible to just add the

Re: Accordion folding unfolding smoothly

2015-03-10 Thread Maxim Solodovnik
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,

Re: Accordion folding unfolding smoothly

2015-03-10 Thread avchavan
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.

Re: Accordion folding unfolding smoothly

2015-03-10 Thread Sebastien
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:

Re: Accordion folding unfolding smoothly

2015-03-09 Thread avchavan
any workaround possible? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Accordion-folding-unfolding-smoothly-tp4669851p4669891.html Sent from the Users forum mailing list archive at Nabble.com. - To