Author: jkuhnert
Date: Thu Mar 23 06:48:47 2006
New Revision: 388183

URL: http://svn.apache.org/viewcvs?rev=388183&view=rev
Log:
Brian patches

Added:
    
jakarta/tapestry/branches/4.0/contrib/src/documentation/content/xdocs/tapestry-contrib/ComponentReference/SimpleTableColumnComponent.xml
Modified:
    
jakarta/tapestry/branches/4.0/framework/src/documentation/content/xdocs/tapestry/ComponentReference/Any.xml
    
jakarta/tapestry/branches/4.0/framework/src/java/org/apache/tapestry/components/Foreach.java
    
jakarta/tapestry/branches/4.0/framework/src/java/org/apache/tapestry/form/ListEdit.java
    jakarta/tapestry/branches/4.0/status.xml

Added: 
jakarta/tapestry/branches/4.0/contrib/src/documentation/content/xdocs/tapestry-contrib/ComponentReference/SimpleTableColumnComponent.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/tapestry/branches/4.0/contrib/src/documentation/content/xdocs/tapestry-contrib/ComponentReference/SimpleTableColumnComponent.xml?rev=388183&view=auto
==============================================================================
--- 
jakarta/tapestry/branches/4.0/contrib/src/documentation/content/xdocs/tapestry-contrib/ComponentReference/SimpleTableColumnComponent.xml
 (added)
+++ 
jakarta/tapestry/branches/4.0/contrib/src/documentation/content/xdocs/tapestry-contrib/ComponentReference/SimpleTableColumnComponent.xml
 Thu Mar 23 06:48:47 2006
@@ -0,0 +1,79 @@
+<?xml version="1.0"?>
+<!-- 
+   Copyright 2005 The Apache Software Foundation
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" 
"./dtd/document-v12.dtd"
+[
+       <!ENTITY projectroot '../../'>
+       <!ENTITY % links.ent SYSTEM "../../links.ent">
+       %links.ent;
+]>
+<document>
+  <header>
+    <title>SimpleTableColumnComponent</title>
+  </header>
+  
+  <body>
+
+<p> 
+ A component that renders the default column header.
+</p>
+<p>
+ If the current column is sortable, it renders the header as a link.
+ Clicking on the link causes the table to be sorted on that column.
+ Clicking on the link again causes the sorting order to be reversed.
+</p>
+
+ <info>
+    <p>
+       The column header rendered by this component has two main css class 
definitions. The embedded
+       table html markup within each <code>td</code> element for a sorted 
column has the class <code>tableHeaderImage</code>. 
+       The image used to sort table columns has an embedded style class 
definition for <code>tableHeaderImage</code>
+       that defines <code>align:center</code>.
+       </p>
+       
+       <p>
+       You may override these definitions with your own css rules. 
+       </p>
+ </info>
+
+<p>
+  <strong>See also: &Table;, &TableView;, &TablePages;, &TableRows;, 
&TableValues;, &TableColumns;, &SimpleTableColumnFormComponent;</strong> 
+</p>
+
+<section>
+  <title>Parameters</title>
+
+<p>  
+  <em>No parameters</em>
+</p>
+
+<p>
+  Body: <strong>removed</strong>
+</p>  
+
+<p>
+  Informal parameters: <strong>allowed</strong>
+</p>
+
+<p>
+  Reserved parameters: <em>none</em>
+</p>
+
+</section>
+
+</body>
+</document>
\ No newline at end of file

Modified: 
jakarta/tapestry/branches/4.0/framework/src/documentation/content/xdocs/tapestry/ComponentReference/Any.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/tapestry/branches/4.0/framework/src/documentation/content/xdocs/tapestry/ComponentReference/Any.xml?rev=388183&r1=388182&r2=388183&view=diff
==============================================================================
--- 
jakarta/tapestry/branches/4.0/framework/src/documentation/content/xdocs/tapestry/ComponentReference/Any.xml
 (original)
+++ 
jakarta/tapestry/branches/4.0/framework/src/documentation/content/xdocs/tapestry/ComponentReference/Any.xml
 Thu Mar 23 06:48:47 2006
@@ -122,7 +122,7 @@
 ]]></source>
 
 <p>
-The &RenderBody; component contains an extensive example that includes the use 
of the Any component.
+The &RenderBlock; component contains an extensive example that includes the 
use of the Any component.
 </p>
 
 </section>

Modified: 
jakarta/tapestry/branches/4.0/framework/src/java/org/apache/tapestry/components/Foreach.java
URL: 
http://svn.apache.org/viewcvs/jakarta/tapestry/branches/4.0/framework/src/java/org/apache/tapestry/components/Foreach.java?rev=388183&r1=388182&r2=388183&view=diff
==============================================================================
--- 
jakarta/tapestry/branches/4.0/framework/src/java/org/apache/tapestry/components/Foreach.java
 (original)
+++ 
jakarta/tapestry/branches/4.0/framework/src/java/org/apache/tapestry/components/Foreach.java
 Thu Mar 23 06:48:47 2006
@@ -33,6 +33,7 @@
  * (starting with zero).
  * 
  * @author Howard Lewis Ship
+ * @deprecated As of release 4.0, replaced by [EMAIL PROTECTED] ForBean}
  */
 
 public abstract class Foreach extends AbstractComponent

Modified: 
jakarta/tapestry/branches/4.0/framework/src/java/org/apache/tapestry/form/ListEdit.java
URL: 
http://svn.apache.org/viewcvs/jakarta/tapestry/branches/4.0/framework/src/java/org/apache/tapestry/form/ListEdit.java?rev=388183&r1=388182&r2=388183&view=diff
==============================================================================
--- 
jakarta/tapestry/branches/4.0/framework/src/java/org/apache/tapestry/form/ListEdit.java
 (original)
+++ 
jakarta/tapestry/branches/4.0/framework/src/java/org/apache/tapestry/form/ListEdit.java
 Thu Mar 23 06:48:47 2006
@@ -23,6 +23,7 @@
 import org.apache.tapestry.IRequestCycle;
 import org.apache.tapestry.Tapestry;
 import org.apache.tapestry.coerce.ValueConverter;
+import org.apache.tapestry.components.ForBean;
 import org.apache.tapestry.listener.ListenerInvoker;
 import org.apache.tapestry.services.DataSqueezer;
 
@@ -34,6 +35,7 @@
  * 
  * @author Howard Lewis Ship
  * @since 1.0.2
+ * @deprecated As of release 4.0, replaced by [EMAIL PROTECTED] ForBean}
  */
 
 public abstract class ListEdit extends AbstractFormComponent

Modified: jakarta/tapestry/branches/4.0/status.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/tapestry/branches/4.0/status.xml?rev=388183&r1=388182&r2=388183&view=diff
==============================================================================
--- jakarta/tapestry/branches/4.0/status.xml (original)
+++ jakarta/tapestry/branches/4.0/status.xml Thu Mar 23 06:48:47 2006
@@ -170,6 +170,12 @@
       <action type="fix" dev="JK" fixes-bug="TAPESTRY-422" >
        Made Form.getLink protected.
       </action>
+      <action type="fix" dev="JK" fixes-bug="TAPESTRY-870" due-to="Brian K. 
Wallace" >
+       Adds deprecation javadoc to Foreach and ListEdit classes to correspond 
to the deprecation warning in the respective ComponentReference
+      </action>
+      <action type="fix" dev="JK" fixes-bug="TAPESTRY-826" due-to="Brian K. 
Wallace" >
+       Changed reference from RenderBody to RenderBlock as RenderBlock has the 
example usage of @Any 
+      </action>
     </release>
     <release version="4.0" date="Jan 6 2006">
       <action type="update" dev="HLS">Add link to DeveloperWorks Tapestry 
article</action>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to