You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2008/02/12 02:08:30 UTC

svn commit: r620683 - in /tapestry/tapestry5/trunk/tapestry-core/src: main/java/org/apache/tapestry/corelib/components/Zone.java main/java/org/apache/tapestry/internal/services/ZoneSetup.java site/apt/guide/ajax.apt

Author: hlship
Date: Mon Feb 11 17:08:29 2008
New Revision: 620683

URL: http://svn.apache.org/viewvc?rev=620683&view=rev
Log:
TAPESTRY-2145: Documentation (including javadoc), refers to "ZoneEffects" instead of "ZoneEffect"

Modified:
    tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/components/Zone.java
    tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ZoneSetup.java
    tapestry/tapestry5/trunk/tapestry-core/src/site/apt/guide/ajax.apt

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/components/Zone.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/components/Zone.java?rev=620683&r1=620682&r2=620683&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/components/Zone.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/components/Zone.java Mon Feb 11 17:08:29 2008
@@ -38,7 +38,7 @@
  * When a user clicks an {@link org.apache.tapestry.corelib.components.ActionLink} whose zone parameter is set,
  * the corresponding client-side Tapestry.Zone object is located. It will update the content of the Zone's <div> and
  * then invoke either a show method (if the div is not visible) or an update method (if the div is visible).  The show and update
- * parameters are the <em>names</em> of functions attached to the Tapestry.ZoneEffects object.
+ * parameters are the <em>names</em> of functions attached to the Tapestry.ZoneEffect object.
  * <p/>
  * Renders informal parameters, adding CSS class "t-zone" and possibly, "t-invisible".
  */
@@ -46,7 +46,7 @@
 public class Zone implements ClientElement
 {
     /**
-     * Name of a function on the client-side Tapestry.ZoneEffects object that is invoked to
+     * Name of a function on the client-side Tapestry.ZoneEffect object that is invoked to
      * make the Zone's &lt;div&gt; visible before being updated.  If not specified, then
      * the basic "show" method is used.
      */
@@ -54,7 +54,7 @@
     private String _show;
 
     /**
-     * Name of a function on the client-side Tapestry.ZoneEffects object that is invoked
+     * Name of a function on the client-side Tapestry.ZoneEffect object that is invoked
      * after the Zone's content has been updated. If not specified, then the basic "highlight"
      * method is used, which performs a classic "yellow fade" to indicate to the user
      * that and update has taken place.

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ZoneSetup.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ZoneSetup.java?rev=620683&r1=620682&r2=620683&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ZoneSetup.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ZoneSetup.java Mon Feb 11 17:08:29 2008
@@ -24,7 +24,7 @@
      * an element (typically, a &lt;div&gt;).  A Zone may have handlers
      * used to initially show it, or to highlight it when its content changes.
      * Such handlers are referenced by name, as functions of the
-     * Tapestry.ZoneEffects object.
+     * Tapestry.ZoneEffect object.
      *
      * @param clientId           client-side id of the element that will be updated by the zone
      * @param showFunctionName   name of the function used to initially show the zone (if not visible), or null for default

Modified: tapestry/tapestry5/trunk/tapestry-core/src/site/apt/guide/ajax.apt
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/site/apt/guide/ajax.apt?rev=620683&r1=620682&r2=620683&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/site/apt/guide/ajax.apt (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/site/apt/guide/ajax.apt Mon Feb 11 17:08:29 2008
@@ -274,7 +274,7 @@
    then reference those ids inside ActionLink components. Using Zone components inside any kind of loop
    may cause additional problems, as Tapestry will <uniqueify> the client id you specify (appending an index number).
 
-   The show and update function names are converted to lower case; all the methods of Tapestry.ZoneEffects should have
+   The show and update function names are converted to lower case; all the methods of Tapestry.ZoneEffect should have
    all lower-case names.  Because client-side JavaScript is so fluid (new methods may be added to
    existing objects), Tapestry makes no attempt to validate the function names ... however, if the names
    are not valid, then the default show and highlight methods will be used.