Author: afedosik
Date: 2007-11-06 12:36:18 -0500 (Tue, 06 Nov 2007)
New Revision: 4748
Modified:
trunk/jsf/docs/jbossjsftools/userguide/en/modules/VisualPageEditor.xml
Log:
http://jira.jboss.com/jira/browse/RHDS-175 In VPE chapter the code for style.css is
corrected.
Modified: trunk/jsf/docs/jbossjsftools/userguide/en/modules/VisualPageEditor.xml
===================================================================
--- trunk/jsf/docs/jbossjsftools/userguide/en/modules/VisualPageEditor.xml 2007-11-06
16:25:06 UTC (rev 4747)
+++ trunk/jsf/docs/jbossjsftools/userguide/en/modules/VisualPageEditor.xml 2007-11-06
17:36:18 UTC (rev 4748)
@@ -130,7 +130,7 @@
click <emphasis><property>Add</property></emphasis> (for CSS
File Path section) and add your stylesheet. It works when CSS is defined on your page in
the following way:</para>
<para>Code:</para>
-<programlisting role="XML"><![CDATA[<link
rel="stylesheet" type="text/css"
href="{requestContextPath}/style.css"/>
+ <programlisting role="XML"><![CDATA[<link
rel="stylesheet" type="text/css"
href="#{facesContext.externalContext.requestContextPath}/style.css"/>
]]></programlisting>
<para>This will work fine in runtime, but the Visual Page Editor doesn't
know what requestContextPath in design time is.</para>