myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwald...@apache.org
Subject svn commit: r638540 - /myfaces/trinidad/trunk_1.2.x/src/site/xdoc/devguide/skinning.xml
Date Tue, 18 Mar 2008 19:53:12 GMT
Author: jwaldman
Date: Tue Mar 18 12:53:11 2008
New Revision: 638540

URL: http://svn.apache.org/viewvc?rev=638540&view=rev
Log:
TRINIDAD-1013 add better documentation on what can go into trinidad-skins.xml's style-sheet-name
parameter
minor change -- added a couple more examples.
on trunk_1.2.x

Modified:
    myfaces/trinidad/trunk_1.2.x/src/site/xdoc/devguide/skinning.xml

Modified: myfaces/trinidad/trunk_1.2.x/src/site/xdoc/devguide/skinning.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/src/site/xdoc/devguide/skinning.xml?rev=638540&r1=638539&r2=638540&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/src/site/xdoc/devguide/skinning.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/src/site/xdoc/devguide/skinning.xml Tue Mar 18 12:53:11 2008
@@ -236,10 +236,13 @@
         then we create the URL by calling new java.net.URL(style-sheet-name).</li>
         <li>
         Else we create the URL by calling FacesContext's ExternalContext's getResource(style-sheet-name).
-        (we prepend '/' if it isn't already there)
+        (we prepend '/' if it isn't already there). This is how we find the style-sheet-name

+        of the form "skins/bigfont/bigfont.css" when the file is in the application's project.
         </li>
         </ol>
         If we still don't have an URL, we try to create the style-sheet-name URL using the
ClassLoader's getResource.
+        This is how we find a file in a jar when you have something like style-sheet-name=
"META-INF/purpleSkin/styles/myPurpleSkin.css".
+        
         </p>
         </li>
 



Mime
View raw message