This question is locked. New answers and comments are not allowed.
Hi,
In de jQueryViewComponentBase class the jQuery stylesheet is added to the list StyleSheetNames. The render method of the StyleSheetRegistrar will use this list among others, to render alle the LINK tags in the HTML. The problem is this will only work when the stylesheet links are rendered _after_ the components are processed. While it is possible to render the component level stylesheets at the bottom of the page, it is impossible to render them in the HEAD section!
The example is solving this problem by declaring the jQuery stylesheet in the masterpage. Is there a way to get this auto registration mechanisme for components working and render the LINKs into the HEAD section?
Thanks,
Niels
In de jQueryViewComponentBase class the jQuery stylesheet is added to the list StyleSheetNames. The render method of the StyleSheetRegistrar will use this list among others, to render alle the LINK tags in the HTML. The problem is this will only work when the stylesheet links are rendered _after_ the components are processed. While it is possible to render the component level stylesheets at the bottom of the page, it is impossible to render them in the HEAD section!
The example is solving this problem by declaring the jQuery stylesheet in the masterpage. Is there a way to get this auto registration mechanisme for components working and render the LINKs into the HEAD section?
Thanks,
Niels