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 <[email protected]> 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: [email protected] > For additional commands, e-mail: [email protected] > > -- Pedro Henrique Oliveira dos Santos
