This content has been marked as final.
Show 3 replies
-
1. Re: Dynamic styles loading
sergeysmirnov May 15, 2007 10:30 AM (in response to dmitry.kudryavtsev)Where is style file is located and how you define the path on the page? I.e. post your code how you add style on the page.
-
2. Re: Dynamic styles loading
dmitry.kudryavtsev May 16, 2007 9:37 AM (in response to dmitry.kudryavtsev)Something like:
<a4j:loadStyle src="/css/default.css" />
and -
3. Re: Dynamic styles loading
alexsmirnov May 16, 2007 2:23 PM (in response to dmitry.kudryavtsev)At the background, this is a problem from JSR-168 specification. It havn't legal API for insert custom styles in a page. In case of the AJAX responses styles inserted to HEAD by JavaScript.
I'm continue to work for a portal integration , and have ideas how to insert styles and scripts from all ajax4jsf/richfaces portlets once, in properly place.