Author: wsmoak Date: Thu Nov 24 20:18:42 2005 New Revision: 348867 URL: http://svn.apache.org/viewcvs?rev=348867&view=rev Log: Improve the Reusable Views page - Add a screen shot of the Clay Rolodex example - Link to the online DTD documentation - minor editing
Added: struts/shale/trunk/xdocs/images/ struts/shale/trunk/xdocs/images/clay-rolodex.gif (with props) Modified: struts/shale/trunk/xdocs/features-reusable-views.xml Modified: struts/shale/trunk/xdocs/features-reusable-views.xml URL: http://svn.apache.org/viewcvs/struts/shale/trunk/xdocs/features-reusable-views.xml?rev=348867&r1=348866&r2=348867&view=diff ============================================================================== --- struts/shale/trunk/xdocs/features-reusable-views.xml (original) +++ struts/shale/trunk/xdocs/features-reusable-views.xml Thu Nov 24 20:18:42 2005 @@ -41,7 +41,7 @@ elements are bound to corresponding JSF components using a <code>jsfid</code> attribute. This attribute binds the HTML mock-up with a component declared in the Clay view configuration files. - Some HTML elements, the such as the <code>FORM</code> element, + Some HTML elements, such as the <code>FORM</code> element, have an implied mapping to a JSF component. If the mapping is not explicitly declared using the <code>jsfid</code> attribute and there is not an assumed mapping, the default mapping is to the @@ -65,20 +65,26 @@ </source></li> </ol> + <p>Each of these options is demonstrated in the Shale Use Cases + example application. The Clay "Rolodex" is shown below:<br/> + <img src="images/clay-rolodex.gif" alt="Shale Use Cases - Clay Rolodex Example"/> + </p> + </subsection> <a name="clay-reuse-features"/> <subsection name="Clay Key Reuse Features"> <p>The Clay XML configuration data is a replacement for the JSF/JSP tags. - A base configuration file is provide in the META-INF directory of the + A base configuration file is provided in the META-INF directory of the <code>shale-clay.jar</code> archive. The configuration document type definitions have similarities to the JSP tags, but are designed to be more generic. The same node structure is used to define a variety of resources.</p> - <p>A <code>component</code> is a "top-level" element. In the DTD, a - <code>component</code> can represent a JSF component, converter, + <p>A <code>component</code> is a "top-level" element. In the + <a href="http://struts.apache.org/dtds/shale-clay-config/1_0/" target="_blank">DTD</a>, + a <code>component</code> can represent a JSF component, converter, validator, action listener or value change listener. Only "top-level" elements can be the root of a clay subtree. The <code>componentType</code> attribute defines the association @@ -119,7 +125,7 @@ <source> <component jsfid="addressPanel" extends="panelGrid"> - <attributes><br/> + <attributes> <set name="columns" value="2" /> </attributes> <element renderId="1" jsfid="street1Label"/> Added: struts/shale/trunk/xdocs/images/clay-rolodex.gif URL: http://svn.apache.org/viewcvs/struts/shale/trunk/xdocs/images/clay-rolodex.gif?rev=348867&view=auto ============================================================================== Binary file - no diff available. Propchange: struts/shale/trunk/xdocs/images/clay-rolodex.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]