Sounds like a bug. The expected behavior is to have the selected panel CSS dynamically injected. Please send us a quickstart reproducing the problem.
On Mon, Apr 18, 2011 at 12:00 AM, Alec Swan <alecs...@gmail.com> wrote: > Hello, > > I have a page with multiple tabs which I implemented using AJAX-based > panel-swapping approach. The CSS files are injected in the constructor > of each panel using > add(CSSPackageResource.getHeaderContribution(resourceRef, media)). > This works for the first tab rendered. However, when another tab is > selected the CSS file for that tab does not get dynamically injected > and the tab uses the CSS file of the previous tab. > > What is the best way to swap CSS files in this situation? > > Thanks, > > Alec > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Pedro Henrique Oliveira dos Santos