Hi Reinout, Can you post your HTML code please ? Because I think the better way with an ajaxLazyLoadPanel will be like this:
<div wicket:id="accordion"> <h3><a href="#">First header</a></h3> <div><div wicket:id="lazy"></div></div> <h3><a href="#">Second header</a></h3> <div>Second content</div> </div> Where lazy is a child of the Accordion section, not the Accordion section. Otherwise, jQuery UI will inject the CSS classes but the Ajax request will replace the Div and so, erase the injected CSS. Regards Julien Roche On Tue, Oct 12, 2010 at 3:01 PM, Reinout van Schouwen <rein...@gmail.com>wrote: > Hi all, > > When I use an AjaxLazyLoadPanel within a WiQuery Accordion widget, the > panel that replaces the loading placeholder doesn't get the correct > CSS class attributes. > What's the right way to set the class attributes of the lazyloadcomponent? > > Thanks, > > -- > Reinout van Schouwen > http://vanschouwen.info/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >