Author: musachy
Date: Wed Jun 20 11:17:22 2007
New Revision: 549177

URL: http://svn.apache.org/viewvc?view=rev&rev=549177
Log:
WW-1982 Drop deprecated table tag and supporting classes

Removed:
    struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/table/
    
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/freemarker/tags/WebTableModel.java
    
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/table/
    
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/velocity/components/WebTableDirective.java
    struts/struts2/trunk/core/src/site/resources/tags/table.html
Modified:
    
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/DefaultTagLibrary.java
    
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/freemarker/tags/StrutsModels.java

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/DefaultTagLibrary.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/DefaultTagLibrary.java?view=diff&rev=549177&r1=549176&r2=549177
==============================================================================
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/DefaultTagLibrary.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/DefaultTagLibrary.java
 Wed Jun 20 11:17:22 2007
@@ -63,7 +63,6 @@
 import org.apache.struts2.views.velocity.components.TokenDirective;
 import org.apache.struts2.views.velocity.components.URLDirective;
 import org.apache.struts2.views.velocity.components.UpDownSelectDirective;
-import org.apache.struts2.views.velocity.components.WebTableDirective;
 
 import com.opensymphony.xwork2.util.ValueStack;
 
@@ -111,7 +110,6 @@
             TextFieldDirective.class,
             TokenDirective.class,
             URLDirective.class,
-            WebTableDirective.class,
             ActionErrorDirective.class,
             ActionMessageDirective.class,
             FieldErrorDirective.class,

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/freemarker/tags/StrutsModels.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/freemarker/tags/StrutsModels.java?view=diff&rev=549177&r1=549176&r2=549177
==============================================================================
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/freemarker/tags/StrutsModels.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/freemarker/tags/StrutsModels.java
 Wed Jun 20 11:17:22 2007
@@ -65,7 +65,6 @@
     protected TextFieldModel textfield;
     protected TokenModel token;
     protected URLModel url;
-    protected WebTableModel table;
     protected PropertyModel property;
     protected IteratorModel iterator;
     protected ActionErrorModel actionerror;
@@ -235,14 +234,6 @@
         }
 
         return token;
-    }
-
-    public WebTableModel getTable() {
-        if (table == null) {
-            table = new WebTableModel(stack, req, res);
-        }
-
-        return table;
     }
 
     public URLModel getUrl() {


Reply via email to