You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by ws...@apache.org on 2005/11/26 00:06:45 UTC

svn commit: r349034 - in /struts/shale/trunk/xdocs: features-reusable-views.xml features-view-controller.xml

Author: wsmoak
Date: Fri Nov 25 15:05:34 2005
New Revision: 349034

URL: http://svn.apache.org/viewcvs?rev=349034&view=rev
Log:
Minor editing, link to the JavaBeans page, and center the Rolodex screen shot.

Modified:
    struts/shale/trunk/xdocs/features-reusable-views.xml
    struts/shale/trunk/xdocs/features-view-controller.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=349034&r1=349033&r2=349034&view=diff
==============================================================================
--- struts/shale/trunk/xdocs/features-reusable-views.xml (original)
+++ struts/shale/trunk/xdocs/features-reusable-views.xml Fri Nov 25 15:05:34 2005
@@ -66,7 +66,8 @@
         </ol>
 
         <p>Each of these options is demonstrated in the Shale Use Cases
-        example application.  The Clay "Rolodex" is shown below:<br/>
+        example application.  The Clay "Rolodex" is shown below:</p>
+        <p style="text-align: center">
         <img src="images/clay-rolodex.gif" alt="Shale Use Cases - Clay Rolodex Example"/>
         </p>
 

Modified: struts/shale/trunk/xdocs/features-view-controller.xml
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/xdocs/features-view-controller.xml?rev=349034&r1=349033&r2=349034&view=diff
==============================================================================
--- struts/shale/trunk/xdocs/features-view-controller.xml (original)
+++ struts/shale/trunk/xdocs/features-view-controller.xml Fri Nov 25 15:05:34 2005
@@ -120,7 +120,7 @@
             <li>The <code>destroy()</code> method is called.</li>
             </ul></li>
         <li><em>Postback processed by a page that then redisplays itself (by
-            returning <code>null</code> from the action handler.</em>:
+            returning <code>null</code> from the action handler.)</em>:
             <ul>
             <li>Backing bean is instantiated during <em>Restore View</em> phase,
                 which notices that there is previous state to restore.</li>
@@ -165,8 +165,9 @@
           <li>Implement the <code>ViewController</code> interface.  The
               most convenient way to do this is likely to be extending the
               convenience base class (<code>org.apache.shale.view.ViewController</code>).</li>
-          <li>As required by the JavaBeans specification, provide a no-args
-              public constructor.</li>
+          <li>As required by the 
+              <a href="http://java.sun.com/products/javabeans/" target="_blank">JavaBeans</a>
+              specification, provide a no-args public constructor.</li>
           <li>Declare your backing bean as a managed bean.  In nearly all
               circumstances, you will want the bean to be placed in
               request scope.</li>
@@ -182,7 +183,7 @@
           <li>Create event handlers for the lifecycle events of interest,
               plus standard JavaServer Faces event handlers for things like
               actions and value changes.</li>
-          <li>(Optional but recommended) write a corresponding JUnit test
+          <li>(Optional but recommended) Write a corresponding JUnit test
               case using the Shale <a href="features-test-framework.html">Test Framework</a>.
               Because nearly all of your property and event handling methods
               have no JavaServer Faces API dependencies for their parameter



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