You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2004/12/19 16:31:46 UTC

cvs commit: jakarta-tapestry/src/documentation/content/xdocs links.ent

hlship      2004/12/19 07:31:46

  Modified:    src/documentation/content/xdocs/UsersGuide components.xml
                        spec.xml common.ent upgrade.xml template.xml
                        hivemind.xml
               src/documentation/content/xdocs links.ent
  Log:
  Collapse <private-asset>, <context-asset>, <external-asset> into just <asset>
  Document the Shell component.
  Loosen the restrictions on element order inside the DTD.
  
  Revision  Changes    Path
  1.6       +11 -7     jakarta-tapestry/src/documentation/content/xdocs/UsersGuide/components.xml
  
  Index: components.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/src/documentation/content/xdocs/UsersGuide/components.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- components.xml	19 Nov 2004 16:44:06 -0000	1.5
  +++ components.xml	19 Dec 2004 15:31:46 -0000	1.6
  @@ -361,7 +361,7 @@
   </p>
   
   <source>
  -public void setTitle(String title);
  +public abstract void setTitle(String title);
   
   protected void finishLoad()
   {
  @@ -514,27 +514,31 @@
   
   </section> <!-- components.libraries.search -->
   
  -<section id="components.libraries.private-assets">
  +<section id="components.libraries.classpath-assets">
   	<title>Using Private Assets</title>
   	
   <p>
   Often, a component must be packaged up with images, stylesheets or other resources (collectively termed "assets")
  -that are needed at runtime. A reference to such an asset can be created using the &spec.private-asset; element of
  +that are needed at runtime. A reference to such an asset can be created using the &spec.asset; element of
   the page or component specification.	For example:
   </p>
   
   <source><![CDATA[
   	
  -  <private-asset name="logo" resource-path="images/logo_200.png"/>
  +  <asset name="logo" path="images/logo_200.png"/>
     
     <component id="image" type="Image">
  -    <binding name="image" value="ognl:assets.logo"/>
  +    <binding name="image" value="asset:logo"/>
     </component>
   ]]></source>
   
  +<p>
  +In this case, if the component is packaged as /com/example/mylibrary/MyComponent.jwc, then
  +the asset will be /com/examples/mylibrary/images/logo_200.png.  Further, the asset path will be localized.
  +</p>
   
   <p>
  -All assets (private, context or external) are converted into instances of &IAsset; and treated identically by
  +All assets (classpath, context or external) are converted into instances of &IAsset; and treated identically by
   components (such as &Image;). As in this example, relative paths are allowed: they are interpreted relative
   to the specification (page or component) they appear in.	
   </p>
  @@ -563,7 +567,7 @@
   org.apache.tapestry.asset.dir and org.apache.tapestry.asset.URL.
   
   </p>	
  -</section> <!-- components.libraries.private-assets -->
  +</section> <!-- components.libraries.classpath-assets -->
   
   <section id="components.libraries.spec">
   	<title>Library Specifications</title>
  
  
  
  1.10      +122 -234  jakarta-tapestry/src/documentation/content/xdocs/UsersGuide/spec.xml
  
  Index: spec.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/src/documentation/content/xdocs/UsersGuide/spec.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- spec.xml	20 Nov 2004 21:21:29 -0000	1.9
  +++ spec.xml	19 Dec 2004 15:31:46 -0000	1.10
  @@ -113,7 +113,7 @@
     <li>
       In the 3.0 DTD, the &spec.binding; element was for specifying OGNL expressions only, and had an
       expression attribute.  In the 3.1 DTD, it is used for setting all types of attributes, and has
  -    a value attribute.  The value is a binding reference, which
  +    a value attribute.  The value is a &binding-reference;, which
       uses a prefix to determine which type of binding is to be used.
     </li>
     <li>The &lt;static-binding&gt; and &lt;message-binding&gt; elements have been removed, replaced with
  @@ -125,9 +125,17 @@
       attribute has been dropped.</li>
     <li>The &spec.inject; element has been added.</li>
     <li>The &spec.parameter; element has been simplified; the type and direction attributes have been dropped. The
  -    default-value attribute is now a <em>binding reference</em>, as with the &spec.binding; element's value attribute.</li>
  -  <li>The &spec.property; element's initial-value attribute (or enclosed character data) is now a binding reference. In release 3.0
  -    it was always an OGNL expression, but now it must be prefixed.</li>
  +    default-value attribute is now a <em>&binding-reference;</em>, as with the &spec.binding; element's value attribute.</li>
  +  <li>The &spec.property; element's initial-value attribute (or enclosed character data) is now a &binding-reference;. In release 3.0
  +    it was always an OGNL expression, but is now a &binding-reference;.</li>
  +  <li>The &lt;context-asset&gt;, &lt;private-asset&gt; and &lt;external-asset&gt; elements
  +    have been consolidated into the new &spec.asset; element, and a
  +    prefixing system has been introduced.</li>
  +  <li>The &lt;set-property&gt; and &lt;set-message-property&gt; elements
  +    have been consolidated into &lt;set&gt;, which now uses a (wait for it)
  +    &binding-reference;.</li>
  +  <li>The 3.1 DTD is more liberal about the order in which elements may be specified than the 3.0 DTD.</li>
  +    
   </ul>
   
   <p>
  @@ -178,12 +186,93 @@
   
   <p>&application; Elements:</p>
   <source>
  -  &spec.description; ?, &spec.meta; *,
  -  (&spec.page; | &spec.component-type; |  &spec.library; | &spec.extension;) *
  +  &spec.description; ?,
  +  (&spec.meta; | &spec.page; | &spec.component-type; |  &spec.library; | &spec.extension;) *
   </source>
   
   </section>  <!-- spec.application -->
   
  +
  +<section id="spec.asset">
  +	<title>&lt;asset&gt; element</title>
  +
  +<p>
  +Specifies the location of an asset, a file (typically an image or stylesheet) that may be 
  +exposed to the client web browser.
  +</p>
  +
  +<p>
  +Assets may be stored in the web application (that is, within or beneath the web application root
  +context folder), on the classpath (often the case for components packaged in a reusable library)
  +or at an arbitrary URL.
  +</p>
  +
  +<p>
  +The path to a resource may be absolute (beginning with a leading slash), or relative (no leading slash).
  +At this time, other common path sequences (".", "..", etc.) are not supported.
  +</p>
  +
  +<table>
  +  <tr>
  +    <th>Prefix</th>
  +    <th>Description</th>
  +  </tr>
  +  <tr>
  +    <td>context:</td>
  +    <td>The asset is stored in the web application context.  Relative paths are compouted
  +      from the web application root context folder, not the specification file.
  +    </td>
  +  </tr>
  +  <tr>
  +    <td>classpath:</td>
  +    <td>
  +      The asset is a file on the classpath.  Relative paths are computed from the specification file.
  +    </td>
  +  </tr>
  +</table>
  +
  +<p>
  +Context and classpath assets will automatically be localized.  Thus an asset with path "/images/Logo.gif" may be localized
  +to "/images/Logo_fr.gif" if the active locale is French (and such a file exists).
  +</p>
  +
  +<p>
  +Unrecognized prefixes are considered to be the scheme portion of a URL.  Such paths are passed through unchanged,
  +and not localized.
  +</p>
  +
  +<table>
  +
  +<tr>
  +  <th>Name</th>
  +  <th>Type</th>
  +  <th>Required ?</th>
  +  <th>Default Value</th>
  +  <th>Description</th>
  +</tr>
  +
  +<tr>
  +	<td>name</td>
  +	<td>string</td>
  +	<td>yes</td>
  +	<td/>
  +	<td>The name of the asset, which must be a valid Java identifier.</td>
  +</tr>
  +<tr>
  +	<td>path</td>
  +	<td>string</td>
  +	<td>yes</td>
  +	<td/>
  +	<td>The relative or absolute path to the asset.
  +	</td>
  +</tr>
  +
  +</table>
  +
  +
  +</section> <!-- spec.asset -->
  +
  +
   <section id="spec.bean">
   	<title>&bean; element</title>
   	
  @@ -195,7 +284,7 @@
   <p>
   A &bean; is used to add behaviors to a page or component via aggregation.
   Each &bean; defines a named JavaBean that is instantiated on demand.
  -Beans are accessed through the OGNL expression beans.<em>name</em>.
  +Such managed beans are accessed through the OGNL expression beans.<em>name</em>.
   </p>
   
   <p>
  @@ -218,6 +307,7 @@
     <dd>
   			The bean is retained until the current render operation completes.
   			This will discard the bean when a page or form finishes rewinding.
  +      This is the default lifecycle.
     </dd>
   		
     <dt>request</dt>
  @@ -236,7 +326,7 @@
   
   <p>
   Beans must be public classes with a default (no arguments) constructor. Properties of the bean
  -may be configured using the &spec.set-property; and &spec.set-message-property; elements.
  +may be configured nested &spec.set; elements.
   </p>
   
   <table>
  @@ -277,8 +367,7 @@
   
   <p>&bean; Elements:</p>
   <source>
  -  &spec.description; ?, &spec.meta; *,
  -  (&spec.set-property; | &spec.set-message-property;) *
  +  &spec.description; ?, (&spec.meta; | &spec.set;) *
   </source>
   
   
  @@ -336,7 +425,7 @@
   </table>
   
   <p>
  -The value may be literal string, or a binding reference.  Binding references are divided into a
  +The value may be literal string, or a &binding-reference;.  Binding references are divided into a
   <em>prefix</em> and a <em>locator</em>.  The prefix identifies how the locator is 
   interpreted.
   </p>
  @@ -451,8 +540,7 @@
   	
   <p>&component; Elements</p>
   <source>
  -  &spec.meta; *,
  -  (&spec.binding; | &spec.listener-binding;) *
  +  (&spec.meta; | &spec.binding; | &spec.listener-binding;) *
   </source>
   
   	
  @@ -536,9 +624,9 @@
   
   <p>&component-specification; Elements</p>
   <source>
  -  &spec.description; ?, &spec.parameter; *, &spec.reserved-parameter; *, &spec.meta; *,
  -  (&spec.bean; | &spec.component; | &spec.external-asset; | &spec.context-asset; | &spec.private-asset; | 
  -   &spec.property; | &spec.inject;)*
  +  &spec.description; ?, 
  +  (&spec.parameter; | &spec.reserved-parameter; | &spec.meta; | &spec.bean; | 
  +   &spec.component; | &spec.asset; | &spec.property; | &spec.inject;)*
   </source>
   
   
  @@ -649,57 +737,6 @@
   
   
   
  -<section id="spec.context-asset">
  -	<title>&lt;context-asset&gt; element</title>
  -
  -<p>
  -Specifies an asset located relative to the web application context root folder.
  -Context assets may be localized.
  -</p>
  -
  -<p>
  -Assets for an instantiated component (or page) 
  -may be accessed using the OGNL expression assets.<em>name</em>.
  -</p>
  -
  -<p>
  -The path may be either absolute or relative.  Absolute paths start with a leading slash, and are evalulated
  -relative to the context root.  Relative paths are evaluated relative to the application root, which
  -is typically the same as the context root (the exception being a WAR that contains multiple
  -Tapestry applications, within multiple subfolders).
  -</p>
  -
  -<table>
  -
  -<tr>
  -  <th>Name</th>
  -  <th>Type</th>
  -  <th>Required ?</th>
  -  <th>Default Value</th>
  -  <th>Description</th>
  -</tr>
  -
  -<tr>
  -	<td>name</td>
  -	<td>string</td>
  -	<td>yes</td>
  -	<td/>
  -	<td>The name of the asset, which must be a valid Java identifier.</td>
  -</tr>
  -<tr>
  -	<td>path</td>
  -	<td>string</td>
  -	<td>yes</td>
  -	<td/>
  -	<td>The path to the asset.
  -	</td>
  -</tr>
  -
  -</table>
  -
  -
  -</section> <!-- spec.context-asset -->
  -
   <section id="spec.description">
   	<title>&lt;description&gt; element</title>
   	
  @@ -780,60 +817,12 @@
   
   <p>&lt;extension&gt; Elements</p>
   <source>
  -  &spec.meta; *, &spec.configure; *
  +  (&spec.meta; | &spec.configure;) *
   </source>
   
   
   </section> <!-- spec.extension -->
   
  -<section id="spec.external-asset">
  -	<title>&lt;external-asset&gt; element</title>
  -
  -<p>
  -Appears in: &spec.component-specification; and &spec.page-specification;
  -</p>
  -
  -<p>
  -Defines an asset at an arbitrary URL.  The URL may begin with a slash to indicate an asset on the same
  -web server as the application, or may be a complete URL to an arbitrary location on the Internet.
  -</p>
  -
  -<p>
  -External assets may be accessed at runtime with the OGNL expression
  -assets.<em>name</em>.
  -</p>
  -
  -<table>
  -
  -<tr>
  -  <th>Name</th>
  -  <th>Type</th>
  -  <th>Required ?</th>
  -  <th>Default Value</th>
  -  <th>Description</th>
  -</tr>
  -
  -
  -<tr>
  -	<td>name</td>
  -	<td>string</td>
  -	<td>yes</td>
  -	<td/>
  -	<td>A name for the asset. Asset names must be valid Java identifiers.
  -	</td>
  -</tr>
  -<tr>
  -	<td>URL</td>
  -	<td>string</td>
  -	<td>yes</td>
  -	<td/>
  -	<td>The URL used to access the asset.</td>
  -</tr>
  -
  -</table>
  -
  -</section> <!-- spec.external-asset -->
  -
   <section id="spec.inject">
     <title>&lt;inject&gt; element</title>
     
  @@ -927,6 +916,12 @@
   
   </table>
   
  +<p>&lt;library&gt; Elements:</p>
  +<source>
  +  &spec.description; ?,
  +  (&spec.meta; | &spec.page; | &spec.component-type; |  &spec.library; | &spec.extension;) *
  +</source>
  +
   </section> <!-- spec.library -->
   
   <section id="spec.library-specification">
  @@ -1173,8 +1168,8 @@
   
   <p>&lt;page-specification&gt; Elements</p>
   <source>
  -  &spec.description; ?, &spec.meta; *,
  -  (&spec.bean; | &spec.component; | &spec.external-asset; | &spec.context-asset; | &spec.private-asset; | &spec.property; | &spec.inject;)*
  +  &spec.description; ?, 
  +  (&spec.meta; | &spec.bean; | &spec.component; | &spec.asset; | &spec.property; | &spec.inject;)*
   </source>
   
   
  @@ -1238,7 +1233,7 @@
   	<td/>
   	<td>
   	Specifies the default value for the parameter, if the parameter is not bound.	This value
  -  is a <em>binding reference</em>, exactly like
  +  is a <em>&binding-reference;</em>, exactly like
     a &spec.binding; element's value attribute.
   	</td>
   </tr>
  @@ -1259,60 +1254,6 @@
   </note>
   
   </section> <!-- spec.parameter -->
  -
  -<section id="spec.private-asset">
  -	<title>&lt;private-asset&gt; element</title>
  -
  -<p>
  -Specifies located from the classpath.  These exist to support
  -reusable components packages (as part of a &spec.library-specification;)
  -packaged in a JAR.  Private assets will be localized.
  -</p>
  -
  -<p>
  -Assets for an instantiated component (or page) 
  -may be accessed using the OGNL expression assets.<em>name</em>.
  -</p>
  -
  -<p>
  -The resource path may either be complete and absolute, and start with a leading slash,
  -or be relative.  Relative paths are evaluated relative to the location of the
  -containing specification.
  -</p>
  -
  -
  -
  -<table>
  -
  -<tr>
  -  <th>Name</th>
  -  <th>Type</th>
  -  <th>Required ?</th>
  -  <th>Default Value</th>
  -  <th>Description</th>
  -</tr>
  -
  -<tr>
  -	<td>name</td>
  -	<td>string</td>
  -	<td>yes</td>
  -	<td/>
  -	<td>The name of the asset, which must be a valid Java identifier.</td>
  -</tr>
  -<tr>
  -	<td>resource-path</td>
  -	<td>string</td>
  -	<td>yes</td>
  -	<td/>
  -	<td>The absolute or relative path to the asset on the classpath. 
  -	</td>
  -</tr>
  -
  -</table>
  -
  -
  -</section> <!-- spec.private-asset -->
  -
   <section id="spec.property">
   	<title>&lt;property&gt; element</title>
   	
  @@ -1378,7 +1319,7 @@
   	<td>no</td>
   	<td/>
   	<td>
  -	An optional binding reference used to initialize the property.
  +	An optional &binding-reference; used to initialize the property.
   	</td>
   </tr>
   
  @@ -1439,69 +1380,16 @@
   </section> <!-- spec.reserved-parameter -->
   
   
  -<section id="spec.set-message-property">
  -	<title>&lt;set-message-property&gt; element</title>
  -
  -<p>
  -Appears in: &spec.bean;
  -</p>
  -
  -<p>
  -Allows a property of a helper bean to be set to a localized string
  -value of its containing page or component.
  -</p>
  -
  -
  -<table>
  -
  -<tr>
  -  <th>Name</th>
  -  <th>Type</th>
  -  <th>Required ?</th>
  -  <th>Default Value</th>
  -  <th>Description</th>
  -</tr>
  -
  -
  -<tr>
  -	<td>name</td>
  -	<td>string</td>
  -	<td>yes</td>
  -	<td/>
  -	<td>The name of the helper bean property to set.</td>
  -</tr>
  -<tr>
  -	<td>key</td>
  -	<td>string</td>
  -	<td>yes</td>
  -	<td/>
  -	<td>A string property key of the containing page or component.
  -	</td>
  -</tr>
  -
  -</table>
  -
  -
  -</section> <!-- spec.set-message-property -->
  -
  -<section id="spec.set-property">
  -	<title>&lt;set-property&gt; element</title>
  +<section id="spec.set">
  +	<title>&lt;set&gt; element</title>
   	
   <p>
   Appears in: &spec.bean;
   </p>
   
   <p>
  -Allows a property of a helper bean to be set to an OGNL expression (evaluated
  -on the containing component or page).
  -</p>
  -
  -
  -<p>
  -The value to be assigned to the bean property can be specified
  -using the expression attribute, or as
  -the content of the &lt;set-property&gt; element
  -itself.
  +Allows a property of a managed bean to be set to a value
  +obtained via a &binding-reference;.
   </p>
   
   <table>
  @@ -1522,18 +1410,18 @@
   	<td>The name of the helper bean property to set.</td>
   </tr>
   <tr>
  -	<td>expression</td>
  +	<td>value</td>
   	<td>string</td>
   	<td>no</td>
   	<td/>
  -	<td>The OGNL expression used to set the property.
  +	<td>A &binding-reference; that provides the value to assign to the bean property.
   	</td>
   </tr>
   
   </table>
   
   
  -</section> <!-- spec.set-property -->
  +</section> <!-- spec.set -->
   
   </body>
   </document>
  
  
  
  1.10      +3 -5      jakarta-tapestry/src/documentation/content/xdocs/UsersGuide/common.ent
  
  Index: common.ent
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/src/documentation/content/xdocs/UsersGuide/common.ent,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- common.ent	2 Nov 2004 03:32:42 -0000	1.9
  +++ common.ent	19 Dec 2004 15:31:46 -0000	1.10
  @@ -20,6 +20,7 @@
   <!ENTITY span						'&lt;span&gt;'>
   
   <!ENTITY spec.application			'<link href="spec.html#spec.application">&lt;application&gt;</link>'>
  +<!ENTITY spec.asset					'<link href="spec.html#spec.asset">&lt;asset&gt;</link>'>
   <!ENTITY spec.bean					'<link href="spec.html#spec.bean">&lt;bean&gt;</link>'>
   <!ENTITY spec.binding				'<link href="spec.html#spec.binding">&lt;binding&gt;</link>'>
   <!ENTITY spec.component				'<link href="spec.html#spec.component">&lt;component&gt;</link>'>
  @@ -27,10 +28,8 @@
   									'<link href="spec.html#spec.component-specification">&lt;component-specification&gt;</link>'>
   <!ENTITY spec.component-type		'<link href="spec.html#spec.component-type">&lt;component-type&gt;</link>'>
   <!ENTITY spec.configure				'<link href="spec.html#spec.configure">&lt;configure&gt;</link>'>
  -<!ENTITY spec.context-asset			'<link href="spec.html#spec.context-asset">&lt;context-asset&gt;</link>'>
   <!ENTITY spec.description			'<link href="spec.html#spec.description">&lt;description&gt;</link>'>
   <!ENTITY spec.extension				'<link href="spec.html#spec.extension">&lt;extension&gt;</link>'>
  -<!ENTITY spec.external-asset		'<link href="spec.html#spec.external-asset">&lt;external-asset&gt;</link>'>
   <!ENTITY spec.inject				'<link href="spec.html#spec.inject">&lt;inject&gt;</link>'>
   <!ENTITY spec.library				'<link href="spec.html#spec.library">&lt;library&gt;</link>'>
   <!ENTITY spec.library-specification	'<link href="spec.html#spec.library-specification">&lt;library-specification&gt;</link>'>
  @@ -39,14 +38,13 @@
   <!ENTITY spec.page					'<link href="spec.html#spec.page">&lt;page&gt;</link>'>
   <!ENTITY spec.page-specification	'<link href="spec.html#spec.page-specification">&lt;page-specification&gt;</link>'>
   <!ENTITY spec.parameter				'<link href="spec.html#spec.parameter">&lt;parameter&gt;</link>'>
  -<!ENTITY spec.private-asset			'<link href="spec.html#spec.private-asset">&lt;private-asset&gt;</link>'>
   <!ENTITY spec.property				'<link href="spec.html#spec.property">&lt;property&gt;</link>'>
   <!ENTITY spec.reserved-parameter	'<link href="spec.html#spec.reserved-parameter">&lt;reserved-parameter&gt;</link>'>
  -<!ENTITY spec.set-message-property	'<link href="spec.html#spec.set-message-property">&lt;set-message-property&gt;</link>'>
  -<!ENTITY spec.set-property			'<link href="spec.html#spec.set-property">&lt;set-property&gt;</link>'>
  +<!ENTITY spec.set                	'<link href="spec.html#spec.set">&lt;set&gt;</link>'>
   
   <!ENTITY imageroot					'&projectroot;images/UsersGuide'>
   
  +<!ENTITY binding-reference			'binding reference'>
   <!ENTITY listener-method			'listener method'>
   
   <!ENTITY configuration-property		'<link href="configuration.html#configuration.search-path">configuration property</link>'>
  
  
  
  1.5       +16 -2     jakarta-tapestry/src/documentation/content/xdocs/UsersGuide/upgrade.xml
  
  Index: upgrade.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/src/documentation/content/xdocs/UsersGuide/upgrade.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- upgrade.xml	3 Dec 2004 15:18:38 -0000	1.4
  +++ upgrade.xml	19 Dec 2004 15:31:46 -0000	1.5
  @@ -224,7 +224,7 @@
     
   <p>
   In the Tapestry 3.0 DTD, the optional default-value attribute was used to provide an OGNL expression to use for a parameter, if the
  -parameter is not otherwise bound.  In the Tapestry 3.1 DTD, the default-value attribute is a binding reference.  The following are
  +parameter is not otherwise bound.  In the Tapestry 3.1 DTD, the default-value attribute is a &binding-reference;.  The following are
   equivalent:
   </p>
   
  @@ -302,11 +302,25 @@
   </p>
   
   <p>
  -Using the 3.1 DTDs, this is still true, but the initial-value attribute (or the enclosed character data) is a binding reference. To get
  +Using the 3.1 DTDs, this is still true, but the initial-value attribute (or the enclosed character data) is a &binding-reference;. To get
   the same behavior as the 3.0 DTD, it must be prefixed with "ognl:".
   </p>
     
   </section> <!-- upgrade.property -->
   
  +<section id="upgrade.bean">
  +  <title>Managed beans</title>
  +  
  +<p>
  +The &spec.bean; element is used to define managed beans. In Tapestry 3.0, it could contain &lt;set-property&gt; and &lt;set-message-property&gt;
  +elements to configure the properties of the bean.
  +</p>
  +  
  +<p>
  +In Tapestry 3.1, these two elements have been replaced by the &spec.set; element, which uses a &binding-reference; to provide the 
  +value.
  +</p>
  +
  +</section>  <!-- upgrade.bean -->
   </body>
   </document>
  
  
  
  1.8       +3 -3      jakarta-tapestry/src/documentation/content/xdocs/UsersGuide/template.xml
  
  Index: template.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/src/documentation/content/xdocs/UsersGuide/template.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- template.xml	12 Dec 2004 13:51:41 -0000	1.7
  +++ template.xml	19 Dec 2004 15:31:46 -0000	1.8
  @@ -306,7 +306,7 @@
   </p>
   
   <p>
  -Several additional prefixes are available:
  +Starting with Tapestry 3.1, several additional prefixes are available:
   </p>
   
   <table>
  @@ -321,7 +321,7 @@
       <td>asset</td>
       <td>References an asset of the component.</td>
       <td>asset:stylesheet </td>
  -    <td>ogn:assets.stylesheet</td>
  +    <td>ognl:assets.stylesheet</td>
     </tr>
     
     <tr>
  @@ -447,7 +447,7 @@
   </p>
   
   <source><![CDATA[
  -  <a jwcid="@DirectLink" listener=". . ." href="#"> . . . </a>]]></source>
  +  <a jwcid="@DirectLink" listener="listener:. . ." href="#"> . . . </a>]]></source>
   
   
   <p>
  
  
  
  1.2       +26 -0     jakarta-tapestry/src/documentation/content/xdocs/UsersGuide/hivemind.xml
  
  Index: hivemind.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/src/documentation/content/xdocs/UsersGuide/hivemind.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- hivemind.xml	2 Nov 2004 03:32:42 -0000	1.1
  +++ hivemind.xml	19 Dec 2004 15:31:46 -0000	1.2
  @@ -60,11 +60,37 @@
             <th>Example</th>
           </tr>
           <tr>
  +          <td>app-property</td>
  +          <td>The locator is the name of a property that is resolved using:
  +            <ul>
  +              <li>The application specification's &spec.meta; properties</li>
  +              <li>The servlet's &init-parameter; elements</li>
  +              <li>The servlet context's &init-parameter; elements</li>
  +              <li>The delegate property source (a &lt;spec.extension;)</li>
  +              <li>A HiveMind symbol</li>
  +            </ul></td>
  +            <td>
  +              app-property:org.apache.tapestry.template-extension
  +            </td>
  +        </tr>
  +        <tr>
  +          <td>The locator is the name of an engine service (an instance of &IEngineService;).</td>
  +          <td>engine-service:page</td>
  +        </tr>
  +        <tr>
  +          <td>global-property</td>
  +          <td>The locator is the name of global property, defined as a servlet &init-parameter;,
  +            a servlet context &init-parameter;,
  +            or a HiveMind symbol. </td>
  +            <td>global-property:org.apache.tapestry.disable-caching</td>
  +        </tr>        
  +        <tr>
             <td>infrastructure</td>
             <td> The locator is the name of a property provided by the tapestry.Infrastructure service; this service 
               provides access to the key Tapestry services. </td>
             <td>infrastructure:applicationSpecification</td>
           </tr>
  +
         </table>
         <note> More prefixes are forthcoming. </note>
         
  
  
  
  1.5       +38 -38    jakarta-tapestry/src/documentation/content/xdocs/links.ent
  
  Index: links.ent
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/src/documentation/content/xdocs/links.ent,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- links.ent	3 Dec 2004 15:18:38 -0000	1.4
  +++ links.ent	19 Dec 2004 15:31:46 -0000	1.5
  @@ -104,44 +104,44 @@
   
   <!ENTITY ReferenceRoot "&projectroot;tapestry/ComponentReference">
      
  -<!ENTITY ActionLink 		'<link href="&ReferenceRoot;/ActionLink.html">ActionLink</link>'>
  -<!ENTITY Any				'<link href="&ReferenceRoot;/Any.html">Any</link>'>
  -<!ENTITY Block 				'<link href="&ReferenceRoot;/Block.html">Block</link>'>
  -<!ENTITY Checkbox 			'<link href="&ReferenceRoot;/Checkbox.html">Checkbox</link>'>
  -<!ENTITY Body 				'<link href="&ReferenceRoot;/Body.html">Body</link>'>
  -<!ENTITY Conditional 		'<link href="&ReferenceRoot;/Conditional.html">Conditional</link>'>
  -<!ENTITY Delegator 			'<link href="&ReferenceRoot;/Delegator.html">Delegator</link>'>
  -<!ENTITY DirectLink 		'<link href="&ReferenceRoot;/DirectLink.html">DirectLink</link>'>
  -<!ENTITY ExceptionDisplay 	'<link href="&ReferenceRoot;/ExceptionDisplay.html">ExceptionDisplay</link>'>
  -<!ENTITY ExternalLink 		'<link href="&ReferenceRoot;/ExternalLink.html">ExternalLink</link>'>
  -<!ENTITY Foreach 			'<link href="&ReferenceRoot;/Foreach.html">Foreach</link>'>
  -<!ENTITY Form 				'<link href="&ReferenceRoot;/Form.html">Form</link>'>
  -<!ENTITY Frame 				'<link href="&ReferenceRoot;/Frame.html">Frame</link>'>
  -<!ENTITY GenericLink 		'<link href="&ReferenceRoot;/GenericLink.html">GenericLink</link>'>
  -<!ENTITY Hidden 			'<link href="&ReferenceRoot;/Hidden.html">Hidden</link>'>
  -<!ENTITY ListEdit 			'<link href="&ReferenceRoot;/ListEdit.html">ListEdit</link>'>
  -<!ENTITY Image 				'<link href="&ReferenceRoot;/Image.html">Image</link>'>
  -<!ENTITY Insert 			'<link href="&ReferenceRoot;/Insert.html">Insert</link>'>
  -<!ENTITY InsertText 		'<link href="&ReferenceRoot;/InsertText.html">InsertText</link>'>
  -<!ENTITY InspectorButton	'<link href="&ReferenceRoot;/InspectorButton.html">InspectorButton</link>'>
  -<!ENTITY Option 			'<link href="&ReferenceRoot;/Option.html">Option</link>'>
  -<!ENTITY PageLink 			'<link href="&ReferenceRoot;/PageLink.html">PageLink</link>'>
  -<!ENTITY Palette 			'<link href="&ReferenceRoot;/contrib.Palette.html">Palette</link>'>
  -<!ENTITY PropertySelection 	'<link href="&ReferenceRoot;/PropertySelection.html">PropertySelection</link>'>
  -<!ENTITY Radio 				'<link href="&ReferenceRoot;/Radio.html">Radio</link>'>
  -<!ENTITY RadioGroup 		'<link href="&ReferenceRoot;/RadioGroup.html">RadioGroup</link>'>
  -<!ENTITY RenderBlock 		'<link href="&ReferenceRoot;/RenderBlock.html">RenderBlock</link>'>
  -<!ENTITY RenderBody 		'<link href="&ReferenceRoot;/RenderBody.html">RenderBody</link>'>
  -<!ENTITY Rollover 			'<link href="&ReferenceRoot;/Rollover.html">Rollover</link>'>
  -<!ENTITY Script 			'<link href="&ReferenceRoot;/Script.html">Script</link>'>
  -<!ENTITY Select 			'<link href="&ReferenceRoot;/Select.html">Select</link>'>
  -<!ENTITY ServiceLink 		'<link href="&ReferenceRoot;/ServiceLink.html">ServiceLink</link>'>
  -<!ENTITY Shell 				'<link href="&ReferenceRoot;/Shell.html">Shell</link>'>
  -<!ENTITY Submit 			'<link href="&ReferenceRoot;/Submit.html">Submit</link>'>
  -<!ENTITY TextArea 			'<link href="&ReferenceRoot;/TextArea.html">TextArea</link>'>
  -<!ENTITY TextField 			'<link href="&ReferenceRoot;/TextField.html">TextField</link>'>
  -<!ENTITY Upload 			'<link href="&ReferenceRoot;/Upload.html">Upload</link>'>
  -<!ENTITY ValidField 		'<link href="&ReferenceRoot;/ValidField.html">ValidField</link>'>
  +<!ENTITY ActionLink 		'<link href="site:ActionLink">ActionLink</link>'>
  +<!ENTITY Any				'<link href="site:Any">Any</link>'>
  +<!ENTITY Block 				'<link href="site:Block">Block</link>'>
  +<!ENTITY Body 				'<link href="site:Body">Body</link>'>
  +<!ENTITY Checkbox 			'<link href="site:Checkbox">Checkbox</link>'>
  +<!ENTITY Conditional 		'<link href="site:Conditional">Conditional</link>'>
  +<!ENTITY Delegator 			'<link href="site:Delegator">Delegator</link>'>
  +<!ENTITY DirectLink 		'<link href="site:DirectLink">DirectLink</link>'>
  +<!ENTITY ExceptionDisplay 	'<link href="site:ExceptionDisplay">ExceptionDisplay</link>'>
  +<!ENTITY ExternalLink 		'<link href="site:ExternalLink">ExternalLink</link>'>
  +<!ENTITY Foreach 			'<link href="site:Foreach">Foreach</link>'>
  +<!ENTITY Form 				'<link href="site:Form">Form</link>'>
  +<!ENTITY Frame 				'<link href="site:Frame">Frame</link>'>
  +<!ENTITY GenericLink 		'<link href="site:GenericLink">GenericLink</link>'>
  +<!ENTITY Hidden 			'<link href="site:Hidden">Hidden</link>'>
  +<!ENTITY ListEdit 			'<link href="site:ListEdit">ListEdit</link>'>
  +<!ENTITY Image 				'<link href="site:Image">Image</link>'>
  +<!ENTITY Insert 			'<link href="site:Insert">Insert</link>'>
  +<!ENTITY InsertText 		'<link href="site:InsertText">InsertText</link>'>
  +<!ENTITY InspectorButton	'<link href="site:InspectorButton">InspectorButton</link>'>
  +<!ENTITY Option 			'<link href="site:Option">Option</link>'>
  +<!ENTITY PageLink 			'<link href="site:PageLink">PageLink</link>'>
  +<!ENTITY Palette 			'<link href="site:contrib.Palette">Palette</link>'>
  +<!ENTITY PropertySelection 	'<link href="site:PropertySelection">PropertySelection</link>'>
  +<!ENTITY Radio 				'<link href="site:Radio">Radio</link>'>
  +<!ENTITY RadioGroup 		'<link href="site:RadioGroup">RadioGroup</link>'>
  +<!ENTITY RenderBlock 		'<link href="site:RenderBlock">RenderBlock</link>'>
  +<!ENTITY RenderBody 		'<link href="site:RenderBody">RenderBody</link>'>
  +<!ENTITY Rollover 			'<link href="site:Rollover">Rollover</link>'>
  +<!ENTITY Script 			'<link href="site:Script">Script</link>'>
  +<!ENTITY Select 			'<link href="site:Select">Select</link>'>
  +<!ENTITY ServiceLink 		'<link href="site:ServiceLink">ServiceLink</link>'>
  +<!ENTITY Shell 				'<link href="site:Shell">Shell</link>'>
  +<!ENTITY Submit 			'<link href="site:Submit">Submit</link>'>
  +<!ENTITY TextArea 			'<link href="site:TextArea">TextArea</link>'>
  +<!ENTITY TextField 			'<link href="site:TextField">TextField</link>'>
  +<!ENTITY Upload 			'<link href="site:Upload">Upload</link>'>
  +<!ENTITY ValidField 		'<link href="site:ValidField">ValidField</link>'>
     
   <!-- External links -->
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org