beehive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ekon...@apache.org
Subject svn commit: rev 43538 - in incubator/beehive/trunk/netui: src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/model src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid test/webapps/drt/coreWeb/databinding/datagrid/basic test/webapps/drt/coreWeb/databinding/datagrid/caption test/webapps/drt/coreWeb/databinding/datagrid/footer test/webapps/drt/coreWeb/databinding/datagrid/header test/webapps/drt/coreWeb/databinding/datagrid/misc test/webapps/drt/coreWeb/databinding/datagrid/model test/webapps/drt/coreWeb/databinding/datagrid/pager/basic test/webapps/drt/coreWeb/databinding/datagrid/pager/customselect test/webapps/drt/coreWeb/databinding/datagrid/pager/empty test/webapps/drt/coreWeb/databinding/datagrid/pager/incaption test/webapps/drt/coreWeb/databinding/datagrid/pager/infooter test/webapps/drt/coreWeb/databinding/datagrid/scriptlettagfile
Date Wed, 08 Sep 2004 14:53:35 GMT
Author: ekoneil
Date: Wed Sep  8 07:53:33 2004
New Revision: 43538

Modified:
   incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/model/DataGridModel.java
   incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractColumn.java
   incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/Columns.java
   incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/basic/index.jsp
   incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/caption/index.jsp
   incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/footer/index.jsp
   incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/header/index.jsp
   incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/misc/emptyColumnsTag.jsp
   incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/misc/onclick.jsp
   incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/model/index.jsp
   incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/pager/basic/index.jsp
   incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/pager/customselect/index.jsp
   incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/pager/empty/index.jsp
   incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/pager/incaption/index.jsp
   incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/pager/infooter/index.jsp
   incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/scriptlettagfile/index.jsp
Log:
Fixup the data grid to remove sort / filter attributes from the JSP tags and from the model
objects.

This is all work in progress -- no reason to have additional attributes that don't do anything
hanging out in the tree.

BB: self
DRT: NetUI pass / data grid pass



Modified: incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/model/DataGridModel.java
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/model/DataGridModel.java
(original)
+++ incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/model/DataGridModel.java
Wed Sep  8 07:53:33 2004
@@ -18,7 +18,6 @@
 package org.apache.beehive.netui.databinding.datagrid.model;
 
 import java.util.*;
-import javax.servlet.jsp.PageContext;
 import javax.servlet.jsp.JspContext;
 
 import org.apache.beehive.netui.databinding.datagrid.rendering.TableRenderer;
@@ -174,30 +173,6 @@
     public PagerModel getPagerModel()
     {
         return _pagerModel;
-    }
-
-    public void setSortService(SortService sortService) {_sortService = sortService;}
-    public SortService getSortService()
-    {
-        throw new UnsupportedOperationException("NYI");
-/*
-        if(_sortService == null)
-            _sortService = SortService.getInstance(_pageContext.getRequest(), _name);
-
-        return _sortService;
-*/
-    }
-
-    public void setFilterService(FilterService filterService) {_filterService = filterService;}
-    public FilterService getFilterService()
-    {
-        throw new UnsupportedOperationException("NYI");
-/*
-        if(_filterService == null)
-            _filterService = FilterService.getInstance(_pageContext.getRequest(), _name);
-
-        return _filterService;
- */
     }
 
     public void setPagerService(PagerService pagerService) {_pagerService = pagerService;}

Modified: incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractColumn.java
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractColumn.java
(original)
+++ incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractColumn.java
Wed Sep  8 07:53:33 2004
@@ -54,26 +54,6 @@
     /**
      * @netui:attribute required="false" rtexprvalue="true"
      */
-    public void setFilterable(boolean filterable) {_filterable = new Boolean(filterable);}
-
-    /**
-     * @netui:attribute required="false" rtexprvalue="true"
-     */
-    public void setSortable(boolean sortable) {_sortable = new Boolean(sortable);}
-
-    /**
-     * @netui:attribute required="false" rtexprvalue="true"
-     */
-    public void setSortExpression(String sortExpression) {_sortExpression = sortExpression;}
-
-    /**
-     * @netui:attribute required="false" rtexprvalue="true"
-     */
-    public void setFilterExpression(String filterExpression) {_filterExpression = filterExpression;}
-
-    /**
-     * @netui:attribute required="false" rtexprvalue="true"
-     */
     public void setHeaderText(String headerText) {_headerText = headerText;}
 
     public void doTag()

Modified: incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/Columns.java
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/Columns.java
(original)
+++ incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/Columns.java
Wed Sep  8 07:53:33 2004
@@ -52,34 +52,6 @@
 
     public String getTagName() {return "Columns";}
     
-    /**
-     * @jsptagref.attributedescription The action method that will handle the filter operation.
-     * @jsptagref.databindable false
-     * @jsptagref.attributesyntaxvalue <i>string_filterAction</i>
-     *
-     * @netui:attribute required="false"
-     */
-    public void setFilterAction(String filterAction) {_filterAction = filterAction;}
-
-    /**
-     * @jsptagref.attributedescription The action method that will handle the sort operation.
-     * @jsptagref.databindable false
-     * @jsptagref.attributesyntaxvalue <i>string_sortAction</i>
-     *
-     * @netui:attribute required="false"
-     */
-    public void setSortAction(String sortAction) {_sortAction = sortAction;}
-
-    /**
-     * @netui:attribute required="false"
-     */
-    public void setDefaultSortable(boolean sortable) {_sortable = new Boolean(sortable);}
-
-    /**
-     * @netui:attribute required="false"
-     */
-    public void setDefaultFilterable(boolean filterable) {_filterable = new Boolean(filterable);}
-
     public void doTag()
         throws IOException, JspException
     {

Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/basic/index.jsp
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/basic/index.jsp
(original)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/basic/index.jsp
Wed Sep  8 07:53:33 2004
@@ -10,9 +10,9 @@
 <%@ include file="../util/portfolioXmlBean.jsp" %>
 <br/>
 <netui-data:dataGrid dataSource="pageScope.stocks" name="portfolio">
-    <netui-data:columns defaultSortable="true" defaultFilterable="false" sortAction="index.jsp"
filterAction="index.jsp">
-        <netui-data:literalColumn headerText="Symbol" value="${container.item.symbol}"
sortExpression="symbol"/>
-        <netui-data:literalColumn sortable="false" headerText="Price" value="${container.item.price}"/>
+    <netui-data:columns>
+        <netui-data:literalColumn headerText="Symbol" value="${container.item.symbol}"/>
+        <netui-data:literalColumn headerText="Price" value="${container.item.price}"/>
         <netui-data:anchorColumn headerText="Web" href="${container.item.web}" value="${container.item.name}">
             <netui:parameter name="rowid" value="${container.index}"/>
             <netui:parameter name="symbol" value="${container.item.symbol}"/>

Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/caption/index.jsp
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/caption/index.jsp
(original)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/caption/index.jsp
Wed Sep  8 07:53:33 2004
@@ -13,9 +13,9 @@
     <netui-data:caption>
         This is the table's caption.    
     </netui-data:caption>
-    <netui-data:columns defaultSortable="true" defaultFilterable="false" sortAction="index.jsp"
filterAction="index.jsp">
-        <netui-data:literalColumn headerText="Symbol" value="${container.item.symbol}"
sortExpression="symbol"/>
-        <netui-data:literalColumn sortable="false" headerText="Price" value="${container.item.price}"/>
+    <netui-data:columns>
+        <netui-data:literalColumn headerText="Symbol" value="${container.item.symbol}"/>
+        <netui-data:literalColumn headerText="Price" value="${container.item.price}"/>
         <netui-data:anchorColumn headerText="Web" href="${container.item.web}" value="${container.item.name}">
             <netui:parameter name="rowid" value="${container.index}"/>
             <netui:parameter name="symbol" value="${container.item.symbol}"/>

Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/footer/index.jsp
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/footer/index.jsp
(original)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/footer/index.jsp
Wed Sep  8 07:53:33 2004
@@ -10,9 +10,9 @@
 <%@ include file="../util/portfolioXmlBean.jsp" %>
 <br/>
 <netui-data:dataGrid dataSource="pageScope.stocks" name="portfolio">
-    <netui-data:columns defaultSortable="true" defaultFilterable="false" sortAction="index.jsp"
filterAction="index.jsp">
-        <netui-data:literalColumn headerText="Symbol" value="${container.item.symbol}"
sortExpression="symbol"/>
-        <netui-data:literalColumn sortable="false" headerText="Price" value="${container.item.price}"/>
+    <netui-data:columns>
+        <netui-data:literalColumn headerText="Symbol" value="${container.item.symbol}"/>
+        <netui-data:literalColumn headerText="Price" value="${container.item.price}"/>
         <netui-data:anchorColumn headerText="Web" href="${container.item.web}" value="${container.item.name}">
             <netui:parameter name="rowid" value="${container.index}"/>
             <netui:parameter name="symbol" value="${container.item.symbol}"/>

Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/header/index.jsp
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/header/index.jsp
(original)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/header/index.jsp
Wed Sep  8 07:53:33 2004
@@ -11,13 +11,13 @@
 <%@ include file="../util/portfolioXmlBean.jsp" %>
 <br/>
 <netui-data:dataGrid dataSource="pageScope.stocks" name="portfolio">
-    <netui-data:columns defaultSortable="true" defaultFilterable="false" sortAction="index.jsp"
filterAction="index.jsp">
-        <netui-data:literalColumn value="${container.item.symbol}" sortExpression="symbol">
+    <netui-data:columns>
+        <netui-data:literalColumn value="${container.item.symbol}">
             <c:if test="${column.renderingHeader}">
                 <netui:anchor href="index.jsp">Symbol Anchor</netui:anchor>
             </c:if>
         </netui-data:literalColumn>
-        <netui-data:literalColumn headerText="Price" sortable="false" value="${container.item.price}">
+        <netui-data:literalColumn headerText="Price" value="${container.item.price}">
             <c:if test="${column.renderingHeader}">
                 Should not render this.
             </c:if>

Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/misc/emptyColumnsTag.jsp
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/misc/emptyColumnsTag.jsp
(original)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/misc/emptyColumnsTag.jsp
Wed Sep  8 07:53:33 2004
@@ -9,7 +9,7 @@
 <%@ include file="../util/portfolioXmlBean.jsp" %>
 <br/>
 <netui-data:dataGrid dataSource="pageScope.stocks" name="portfolio">
-    <netui-data:columns defaultSortable="true" >
+    <netui-data:columns>
         <netui-data:literalColumn headerText="Symbol" value="${container.item.symbol}"/>
         <netui-data:literalColumn headerText="Price" value="${container.item.price}"/>
         <netui-data:anchorColumn headerText="Web" href="${container.item.web}" value="${container.item.name}">

Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/misc/onclick.jsp
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/misc/onclick.jsp
(original)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/misc/onclick.jsp
Wed Sep  8 07:53:33 2004
@@ -14,7 +14,7 @@
     <p>
     <%@ include file="../util/portfolioXmlBean.jsp" %>
     <netui-data:dataGrid dataSource="pageScope.stocks" name="portfolio">
-        <netui-data:columns defaultSortable="true" >
+        <netui-data:columns>
             <netui-data:literalColumn headerText="Symbol" value="${container.item.symbol}"
onClick="javascript:alert(this)"/>
             <netui-data:literalColumn headerText="Price" value="${container.item.price}"/>
             <netui-data:anchorColumn headerText="Web" href="${container.item.web}" value="${container.item.name}"
onMouseOver="doAlert(this, ${container.index})">

Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/model/index.jsp
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/model/index.jsp
(original)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/model/index.jsp
Wed Sep  8 07:53:33 2004
@@ -12,12 +12,12 @@
     <br/>
     <netui-data:dataGrid dataSource="pageScope.stocks" name="portfolio">
         <netuitestutil:assert test="${dataGrid != null}" failureMessage="Data Grid Model
was not found in the PageContext"/>
-        <netui-data:columns defaultSortable="true" defaultFilterable="false" sortAction="index.jsp"
filterAction="index.jsp">
-            <netui-data:literalColumn headerText="Symbol" value="${container.item.symbol}"
sortExpression="symbol">
+        <netui-data:columns>
+            <netui-data:literalColumn headerText="Symbol" value="${container.item.symbol}">
               <netuitestutil:assert test="${column != null}" failureMessage="Column Model
was not found in the PageContext"/>
               <netuitestutil:assert test="${column.headerText == 'Symbol'}" failureMessage="Column
Model returned invalid header text"/>
             </netui-data:literalColumn>
-            <netui-data:literalColumn sortable="false" headerText="Price" value="${container.item.price}">
+            <netui-data:literalColumn headerText="Price" value="${container.item.price}">
               <netuitestutil:assert test="${column != null}" failureMessage="Column Model
was not found in the PageContext"/>
               <netuitestutil:assert test="${column.headerText == 'Price'}" failureMessage="Column
Model returned invalid header text"/>
             </netui-data:literalColumn>

Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/pager/basic/index.jsp
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/pager/basic/index.jsp
(original)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/pager/basic/index.jsp
Wed Sep  8 07:53:33 2004
@@ -10,9 +10,9 @@
     <br/>
     <netui-data:dataGrid dataSource="pageScope.stocks" name="portfolio">
         <netui-data:configurePager pageSize="2" pagerStyle="firstPrevNextLast" pageAction="begin.do"/>
-        <netui-data:columns defaultSortable="true" defaultFilterable="false" sortAction="index.jsp"
filterAction="index.jsp">
-            <netui-data:literalColumn headerText="Symbol" value="${container.item.symbol}"
sortExpression="symbol"/>
-            <netui-data:literalColumn sortable="false" headerText="Price" value="${container.item.price}"/>
+        <netui-data:columns>
+            <netui-data:literalColumn headerText="Symbol" value="${container.item.symbol}"/>
+            <netui-data:literalColumn headerText="Price" value="${container.item.price}"/>
             <netui-data:anchorColumn headerText="Web" href="${container.item.web}" value="${container.item.name}">
                 <netui:parameter name="rowid" value="${container.index}"/>
                 <netui:parameter name="symbol" value="${container.item.symbol}"/>

Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/pager/customselect/index.jsp
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/pager/customselect/index.jsp
(original)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/pager/customselect/index.jsp
Wed Sep  8 07:53:33 2004
@@ -15,9 +15,9 @@
     <br/>
     <netui-data:dataGrid dataSource="pageScope.stocks" name="portfolio" disableDefaultPager="true">
         <netui-data:configurePager pageSize="2" pagerStyle="firstPrevNextLast" pageAction="begin.do"/>
-        <netui-data:columns defaultSortable="true" defaultFilterable="false" sortAction="index.jsp"
filterAction="index.jsp">
-            <netui-data:literalColumn headerText="Symbol" value="${container.item.symbol}"
sortExpression="symbol"/>
-            <netui-data:literalColumn sortable="false" headerText="Price" value="${container.item.price}"/>
+        <netui-data:columns>
+            <netui-data:literalColumn headerText="Symbol" value="${container.item.symbol}"/>
+            <netui-data:literalColumn headerText="Price" value="${container.item.price}"/>
             <netui-data:anchorColumn headerText="Web" href="${container.item.web}" value="${container.item.name}">
                 <netui:parameter name="rowid" value="${container.index}"/>
                 <netui:parameter name="symbol" value="${container.item.symbol}"/>

Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/pager/empty/index.jsp
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/pager/empty/index.jsp
(original)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/pager/empty/index.jsp
Wed Sep  8 07:53:33 2004
@@ -11,9 +11,9 @@
       <br/>
       <netui-data:dataGrid dataSource="pageScope.emptyList" name="portfolio">
           <netui-data:configurePager pageSize="2" pagerStyle="firstPrevNextLast" pageAction="begin.do"/>
-          <netui-data:columns defaultSortable="true" defaultFilterable="false" sortAction="index.jsp"
filterAction="index.jsp">
-              <netui-data:literalColumn headerText="Symbol" value="${container.item.symbol}"
sortExpression="symbol"/>
-              <netui-data:literalColumn sortable="false" headerText="Price" value="${container.item.price}"/>
+          <netui-data:columns>
+              <netui-data:literalColumn headerText="Symbol" value="${container.item.symbol}"/>
+              <netui-data:literalColumn headerText="Price" value="${container.item.price}"/>
               <netui-data:anchorColumn headerText="Web" href="${container.item.web}" value="${container.item.name}">
                   <netui:parameter name="rowid" value="${container.index}"/>
                   <netui:parameter name="symbol" value="${container.item.symbol}"/>

Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/pager/incaption/index.jsp
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/pager/incaption/index.jsp
(original)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/pager/incaption/index.jsp
Wed Sep  8 07:53:33 2004
@@ -13,9 +13,9 @@
         <netui-data:caption>
           <table><tr><td><netui-data:renderPager/></td></tr></table>
         </netui-data:caption>
-        <netui-data:columns defaultSortable="true" defaultFilterable="false" sortAction="index.jsp"
filterAction="index.jsp">
-            <netui-data:literalColumn headerText="Symbol" value="${container.item.symbol}"
sortExpression="symbol"/>
-            <netui-data:literalColumn sortable="false" headerText="Price" value="${container.item.price}"/>
+        <netui-data:columns>
+            <netui-data:literalColumn headerText="Symbol" value="${container.item.symbol}"/>
+            <netui-data:literalColumn headerText="Price" value="${container.item.price}"/>
             <netui-data:anchorColumn headerText="Web" href="${container.item.web}" value="${container.item.name}">
                 <netui:parameter name="rowid" value="${container.index}"/>
                 <netui:parameter name="symbol" value="${container.item.symbol}"/>

Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/pager/infooter/index.jsp
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/pager/infooter/index.jsp
(original)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/pager/infooter/index.jsp
Wed Sep  8 07:53:33 2004
@@ -10,9 +10,9 @@
     <br/>
     <netui-data:dataGrid dataSource="pageScope.stocks" name="portfolio" disableDefaultPager="true">
         <netui-data:configurePager pageSize="2" pagerStyle="firstPrevNextLast" pageAction="begin.do"/>
-        <netui-data:columns defaultSortable="true" defaultFilterable="false" sortAction="index.jsp"
filterAction="index.jsp">
-            <netui-data:literalColumn headerText="Symbol" value="${container.item.symbol}"
sortExpression="symbol"/>
-            <netui-data:literalColumn sortable="false" headerText="Price" value="${container.item.price}"/>
+        <netui-data:columns>
+            <netui-data:literalColumn headerText="Symbol" value="${container.item.symbol}"/>
+            <netui-data:literalColumn headerText="Price" value="${container.item.price}"/>
             <netui-data:anchorColumn headerText="Web" href="${container.item.web}" value="${container.item.name}">
                 <netui:parameter name="rowid" value="${container.index}"/>
                 <netui:parameter name="symbol" value="${container.item.symbol}"/>

Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/scriptlettagfile/index.jsp
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/scriptlettagfile/index.jsp
(original)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/scriptlettagfile/index.jsp
Wed Sep  8 07:53:33 2004
@@ -14,13 +14,13 @@
     <netui-data:caption>
       <datagrid:scriptletecho text="This custom caption intentionally left blank"/>
     </netui-data:caption>
-    <netui-data:columns defaultSortable="true" defaultFilterable="false" sortAction="index.jsp"
filterAction="index.jsp">
-        <netui-data:literalColumn headerText="Symbol" value="${container.item.symbol}"
sortExpression="symbol"/>
+    <netui-data:columns>
+        <netui-data:literalColumn headerText="Symbol" value="${container.item.symbol}"/>
         <netui-data:anchorColumn headerText="Web" href="${container.item.web}" value="${container.item.name}">
             <netui:parameter name="rowid" value="${container.index}"/>
             <netui:parameter name="symbol" value="${container.item.symbol}"/>
         </netui-data:anchorColumn>
-        <netui-data:literalColumn sortable="false" value="${container.item.price}">
+        <netui-data:literalColumn value="${container.item.price}">
           <c:if test="${column.renderingHeader}">
             <datagrid:scriptletecho text="Share Price (USD)"/>
           </c:if>

Mime
View raw message