On Mon, Jan 7, 2013 at 5:10 PM, Hans Lesmeister 2 <
hans.lesmeis...@lessy-software.de> wrote:

> Martin Grigorov-4 wrote
> > I.e. at the server side add "style='display:none'" to the Panel. Wicket
> JS
> > will replace
> > the old with the new one and then your fadeIn effect will show it.
>
> And with:
> panel.setVisible(false);
> panel.setOutputMarkupPlaceholderTag(true);
> the style-attribute is added for you by Wicket
>

No. This way Wicket will render only the Panel's tag without its children
stuff.
You need to use onComponentTag() or AttributeModifier to just add
"display:none" to the style attribute.


>
>
>
>
> -----
> --
> Regards,
> Hans
>
> http://cantaa.de
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Applying-jQuery-Effects-fadeIn-fadeOut-to-Wicket-6-components-issue-tp4655187p4655189.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
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Reply via email to