This content has been marked as final.
Show 2 replies
-
1. Re: best way to do dynamic style sheet
scphantm.scphantm.gmail.com Feb 17, 2010 3:56 AM (in response to scphantm.scphantm.gmail.com)ok, i found that i can use
<s:fragment>
to trigger the stuff in the xhtml page of my dynamic css file. but now the problem is when i do that something somewhere puts a
</html>
at the end of the file. this of course breaks the css page. any ideas how i can turn that off?
-
2. Re: best way to do dynamic style sheet
scphantm.scphantm.gmail.com Feb 17, 2010 5:41 AM (in response to scphantm.scphantm.gmail.com)got it, add
<f:view contentType="text/css" xmlns:s="http://jboss.com/products/seam/taglib" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core">
to the beginning of the file and close it at the bottom. works great