You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ek...@apache.org on 2005/01/23 00:36:14 UTC
svn commit: r126166 - /incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/misc/formatTest.jsp
Author: ekoneil
Date: Sat Jan 22 15:36:11 2005
New Revision: 126166
URL: http://svn.apache.org/viewcvs?view=rev&rev=126166
Log:
Add file missed in last change.
Added:
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/misc/formatTest.jsp (contents, props changed)
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/misc/formatTest.jsp
Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/misc/formatTest.jsp?view=auto&rev=126166
==============================================================================
--- (empty file)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/misc/formatTest.jsp Sat Jan 22 15:36:11 2005
@@ -0,0 +1,33 @@
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-data"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-template-1.0" prefix="netui-template"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
+<%@ taglib prefix="datagrid" tagdir="/WEB-INF/tags/org/apache/beehive/netui/test/databinding/tagfiles" %>
+<netui-template:template templatePage="../site/template.jsp">
+ <netui-template:setAttribute name="title" value="Basic Data Grid"/>
+ <netui-template:section name="body">
+ <p>
+ <datagrid:portfolioXmlBean/>
+ <netui-data:dataGrid dataSource="pageScope.stocks" name="customers">
+ <netui-data:configurePager pageHref="disabledPagerNPE.jsp" disableDefaultPager="true"/>
+ <netui-data:caption>
+ Customers
+ </netui-data:caption>
+ <netui-data:columns>
+ <netui-data:spanColumn headerText="Symbol" value="${container.item.symbol}">
+ <netui:formatString pattern="<<< #* >>>"/>
+ <netui:formatString pattern="||| #* |||"/>
+ </netui-data:spanColumn>
+ <netui-data:spanColumn headerText="Price" value="${container.item.price}">
+ <netui:formatNumber language="EN" country = "US" type="currency"/>
+ </netui-data:spanColumn>
+ </netui-data:columns>
+ <netui-data:footer>
+ <netui-data:renderPager/>
+ </netui-data:footer>
+ </netui-data:dataGrid>
+ <br/>
+ </p>
+ </netui-template:section>
+</netui-template:template>