Hi all,
I was about to file a JIRA issue for this, but I thought I ask on the
mailing list first. Is it really possible, that nobody discovered this
before? I have this strange feeling that this is as designed. However, I
don't think there is any point in adding CSS or JS for components a user
isn't allowed to see (e.g. embedded admin components).
Should I file a bug for it?
In the meantime, here is a workaround, to manually exclude the resources
added to a component:
public void renderHead(final HtmlHeaderContainer container) {
if (determineVisibility()) {
super.renderHead(container);
}
}
Cheers
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]