Hello,

Our app uses panel swapping as a tabbing implementation.

I noticed that if I inject CSS using
component.add(CSSPackageResource.getHeaderContribution(resourceRef,
media)) during panel construction, then the CSS is included correctly
and takes effect after the panel swap. However, if I inject the same
CSS in IHeaderContributor#renderHead() using
response.renderCSSReference(resourceRef, media) then CSS is not
included after the panel swap and hence does not take effect.

How can I get CSS injection to work in IHeaderContributor#renderHead()?

Thanks,

Alec

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to