You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by jw...@apache.org on 2008/03/18 20:54:25 UTC

svn commit: r638541 - /myfaces/trinidad/trunk/src/site/xdoc/devguide/skinning.xml

Author: jwaldman
Date: Tue Mar 18 12:54:22 2008
New Revision: 638541

URL: http://svn.apache.org/viewvc?rev=638541&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

Modified:
    myfaces/trinidad/trunk/src/site/xdoc/devguide/skinning.xml

Modified: myfaces/trinidad/trunk/src/site/xdoc/devguide/skinning.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/src/site/xdoc/devguide/skinning.xml?rev=638541&r1=638540&r2=638541&view=diff
==============================================================================
--- myfaces/trinidad/trunk/src/site/xdoc/devguide/skinning.xml (original)
+++ myfaces/trinidad/trunk/src/site/xdoc/devguide/skinning.xml Tue Mar 18 12:54:22 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>