You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by an...@apache.org on 2006/04/22 05:36:12 UTC

svn commit: r396062 - in /tapestry/tapestry4/branches/4.0: framework/src/documentation/content/xdocs/tapestry/ComponentReference/Script.xml status.xml

Author: andyhot
Date: Fri Apr 21 20:36:10 2006
New Revision: 396062

URL: http://svn.apache.org/viewcvs?rev=396062&view=rev
Log:
Corrected Script example

Modified:
    tapestry/tapestry4/branches/4.0/framework/src/documentation/content/xdocs/tapestry/ComponentReference/Script.xml
    tapestry/tapestry4/branches/4.0/status.xml

Modified: tapestry/tapestry4/branches/4.0/framework/src/documentation/content/xdocs/tapestry/ComponentReference/Script.xml
URL: http://svn.apache.org/viewcvs/tapestry/tapestry4/branches/4.0/framework/src/documentation/content/xdocs/tapestry/ComponentReference/Script.xml?rev=396062&r1=396061&r2=396062&view=diff
==============================================================================
--- tapestry/tapestry4/branches/4.0/framework/src/documentation/content/xdocs/tapestry/ComponentReference/Script.xml (original)
+++ tapestry/tapestry4/branches/4.0/framework/src/documentation/content/xdocs/tapestry/ComponentReference/Script.xml Fri Apr 21 20:36:10 2006
@@ -185,7 +185,9 @@
 Input symbols:
   component: the component input field to give focus
 -->
-
+	
+<script>
+	
 <input-symbol key="component" class="org.apache.tapestry.form.AbstractFormComponent" required="yes"/>
 
 <let key="formObject">
@@ -196,11 +198,9 @@
 	${formObject}.${component.name}
 </let>
 
-<script>
-
 <body>
 function setFocus() {
-    var inputField = ${componentObject.name};
+    var inputField = ${componentObject};
 
     if (inputField.type != "hidden") {
         if (inputField.disabled != true) {

Modified: tapestry/tapestry4/branches/4.0/status.xml
URL: http://svn.apache.org/viewcvs/tapestry/tapestry4/branches/4.0/status.xml?rev=396062&r1=396061&r2=396062&view=diff
==============================================================================
--- tapestry/tapestry4/branches/4.0/status.xml (original)
+++ tapestry/tapestry4/branches/4.0/status.xml Fri Apr 21 20:36:10 2006
@@ -57,7 +57,9 @@
   </todo>
   <changes>
   	<release version="4.0.3" date="unreleased" >
-  	
+  		<action type="fix" dev="AA" fixes-bug="TAPESTRY-842" due-to="Alan Chandler">
+  			Wrong example for Script component.
+  		</action>  	
   	</release>
   	<release version="4.0.2" date="Apr 13 2006" >
   		<action type="update" dev="AA">



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