Author: ekoneil
Date: Wed Aug 25 11:56:51 2004
New Revision: 37038
Added:
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/misc/
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/misc/emptyColumnsTag.jsp
(contents, props changed)
Modified:
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/scriptlettagfile/index.jsp
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/site/template.jsp
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridScriptletTagFile.xml
Log:
Data grid test updates.
Adding a simple JSP test to make sure an empty grid columns tag works correctly.
BB: self
BVT: NetUI pass
Added:
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/misc/emptyColumnsTag.jsp
==============================================================================
--- (empty file)
+++
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/misc/emptyColumnsTag.jsp
Wed Aug 25 11:56:51 2004
@@ -0,0 +1,29 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib uri="beehive-netui-tags-html.tld" prefix="netui"%>
+<%@ taglib uri="beehive-netui-tags-databinding.tld" prefix="netui-data"%>
+<%@ taglib uri="beehive-netui-tags-template.tld" prefix="netui-template"%>
+<netui-template:template templatePage="../site/template.jsp">
+ <netui-template:setAttribute name="title" value="Basic Data Grid"/>
+ <netui-template:section name="body">
+ <p>
+<%@ include file="../util/portfolioXmlBean.jsp" %>
+<br/>
+<netui-data:dataGrid dataSource="pageScope.stocks" name="portfolio">
+ <netui-data:columns defaultSortable="true" >
+ <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}"/>
+ </netui-data:anchorColumn>
+ </netui-data:columns>
+ <netui-data:footer>
+ <td colspan="4"><center>This is the grid's footer</center></td>
+ </netui-data:footer>
+</netui-data:dataGrid>
+<br/>
+<netui:anchor href="index.jsp">Reset</netui:anchor>
+<br/>
+ </p>
+ </netui-template:section>
+</netui-template:template>
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 Aug 25 11:56:51 2004
@@ -12,7 +12,7 @@
<br/>
<netui-data:dataGrid dataSource="pageScope.stocks" name="portfolio">
<netui-data:caption>
- <datagrid:scriptletecho text="This custom caption intentionall left
blank"/>
+ <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"/>
Modified:
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/site/template.jsp
==============================================================================
---
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/site/template.jsp
(original)
+++
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/site/template.jsp
Wed Aug 25 11:56:51 2004
@@ -5,7 +5,7 @@
<netui:html>
<head>
<title>NetUI Data Grid Samples</title>
- <link rel="stylesheet"
href="<%=request.getContextPath()%>/databinding/datagrid/site/css/default.css"
type="text/css"/>
+ <link rel="stylesheet"
href="${pageContext.request.contextPath}/databinding/datagrid/site/css/default.css"
type="text/css"/>
</head>
<netui:base/>
<body>
Modified:
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridScriptletTagFile.xml
==============================================================================
---
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridScriptletTagFile.xml
(original)
+++
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridScriptletTagFile.xml
Wed Aug 25 11:56:51 2004
@@ -91,7 +91,7 @@
-This custom caption intentionall left blank
+This custom caption intentionally left blank