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/
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
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.
---
you can try to use
http://7thweb.net/wicket-jquery-ui/effect/DefaultEffectPage
On Tue, Mar 10, 2015 at 5:28 PM, avchavan
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 toggle effect?
>
> Than
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:
http://apache-wicket.1842946.n4.nabble.com/Accordion-folding-unfolding-smoothly-tp4669851p4669903.htm
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
wrote:
> This is what i have tried so far:
>
> <--HomePage class--->
> package com.proj.wicket.ui;
>
> impor
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 org.
Hi,
What component/library are you referring to?
Best regards,
Sebastien
On Mon, Mar 9, 2015 at 7:57 AM, avchavan wrote:
> any workaround possible?
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Accordion-folding-unfolding-smoothly-tp4669851p4669891.html
>
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