Author: hlship
Date: Fri Feb 27 20:00:31 2009
New Revision: 748668

URL: http://svn.apache.org/viewvc?rev=748668&view=rev
Log:
Identify the proper use of "context:" binding prefix (rather than 
"asset:context:") in document documentation.

Modified:
    tapestry/tapestry5/trunk/src/site/apt/guide/compress.apt
    tapestry/tapestry5/trunk/src/site/apt/guide/css.apt

Modified: tapestry/tapestry5/trunk/src/site/apt/guide/compress.apt
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/src/site/apt/guide/compress.apt?rev=748668&r1=748667&r2=748668&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/src/site/apt/guide/compress.apt (original)
+++ tapestry/tapestry5/trunk/src/site/apt/guide/compress.apt Fri Feb 27 
20:00:31 2009
@@ -11,7 +11,7 @@
   This directly applies to both rendered pages and streamed assets from the 
classpath.
 
   Context assets will also be compressed ... but this requires referencing 
such assets using the
-  "asset:context:" prefix, so that generated URL is handled by Tapestry and 
not the servlet container.
+  "context:" binding prefix, so that generated URL is handled by Tapestry and 
not the servlet container.
 
 Compression Configuration
 

Modified: tapestry/tapestry5/trunk/src/site/apt/guide/css.apt
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/src/site/apt/guide/css.apt?rev=748668&r1=748667&r2=748668&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/src/site/apt/guide/css.apt (original)
+++ tapestry/tapestry5/trunk/src/site/apt/guide/css.apt Fri Feb 27 20:00:31 2009
@@ -31,13 +31,12 @@
 
 +---+
 <head>
-  <link href="${asset:context:css/myapp.css}" rel="stylesheet" 
type="text/css"/>
+  <link href="${context:css/myapp.css}" rel="stylesheet" type="text/css"/>
   . . .
 +---+
 
-  The "asset:" prefix means that the remainder of the expansion is a path to a 
resource.  The "context:" part
-  indicates that it should look for the resource in the web application root 
(src/main/webapp in your workspace).  If you
-  left this out, it would look for the file on the classpath, relative to the 
component's Java class.
+  The "context:" prefix means that the remainder of the expansion is a path to 
a context asset, a 
+  resource in the web application root (src/main/webapp in your workspace).
 
 Using the IncludeStylesheet Annotation
 


Reply via email to