[jboss-cvs] jboss-seam/doc/reference/en/modules ...
Shane Bryzak
sbryzak at redhat.com
Sun Jun 3 20:33:19 EDT 2007
User: sbryzak2
Date: 07/06/03 20:33:19
Modified: doc/reference/en/modules i18n.xml
Log:
JBSEAM-1060
Revision Changes Path
1.16 +6 -1 jboss-seam/doc/reference/en/modules/i18n.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: i18n.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/i18n.xml,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- i18n.xml 7 Apr 2007 22:50:14 -0000 1.15
+++ i18n.xml 4 Jun 2007 00:33:19 -0000 1.16
@@ -262,7 +262,7 @@
</para>
<programlisting><![CDATA[css ../screen.css
-template template.xhtml]]></programlisting>
+template /template.xhtml]]></programlisting>
<para>
Usually the entries in a theme resource bundle will be paths to CSS styles
@@ -277,6 +277,11 @@
<programlisting><![CDATA[<link href="#{theme.css}" rel="stylesheet" type="text/css" />]]></programlisting>
+ <para>Or, when the page definition resides in a subdirectory:</para>
+
+ <programlisting><![CDATA[<link href="#{facesContext.externalContext.requestContextPath}#{theme.css}"
+ rel="stylesheet" type="text/css" />]]></programlisting>
+
<para>
Most powerfully, facelets lets us theme the template used by a <literal><ui:composition></literal>:
</para>
More information about the jboss-cvs-commits
mailing list