Author: konstantin.mishin
Date: 2008-05-19 12:09:43 -0400 (Mon, 19 May 2008)
New Revision: 8634
Modified:
trunk/samples/scrollableDataTableDemo/src/main/webapp/pages/sg.jsp
Log:
small fix
Modified: trunk/samples/scrollableDataTableDemo/src/main/webapp/pages/sg.jsp
===================================================================
--- trunk/samples/scrollableDataTableDemo/src/main/webapp/pages/sg.jsp 2008-05-19 15:24:00
UTC (rev 8633)
+++ trunk/samples/scrollableDataTableDemo/src/main/webapp/pages/sg.jsp 2008-05-19 16:09:43
UTC (rev 8634)
@@ -1,7 +1,6 @@
<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j"%>
-<%@ taglib
uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@ taglib
uri="http://labs.jboss.com/jbossrichfaces/ui/scrollableDataTable"
prefix="sg"%>
<%@ taglib
uri="http://labs.jboss.com/jbossrichfaces/ui/dataTable"
prefix="dt"%>
<html>
@@ -50,8 +49,6 @@
</h:form>
<h:form>
- <c:set var="renderFooter" value="#{true}"/>
-
<sg:scrollableDataTable value="#{jiraService.channel.issues}"
var="issues"
first="0"
@@ -70,12 +67,9 @@
<h:outputText value="#{issues.index}"></h:outputText>
- <c:if test="#{renderFooter}">
<f:facet name="footer">
<h:outputText value="footer0"></h:outputText>
</f:facet>
- </c:if>
-
</dt:column>
<dt:column width="200px"
sortExpression="#{issues.key.value}">
@@ -86,11 +80,9 @@
<h:outputText value="#{issues.key.value}"></h:outputText>
- <c:if test="#{renderFooter}">
<f:facet name="footer">
<h:outputText value="footer1"></h:outputText>
</f:facet>
- </c:if>
</dt:column>
@@ -102,11 +94,9 @@
<h:outputText value="#{issues.summary}"></h:outputText>
- <c:if test="#{renderFooter}">
<f:facet name="footer">
<h:outputText value="footer2"></h:outputText>
</f:facet>
- </c:if>
</dt:column>
<dt:column width="200px">
@@ -117,11 +107,9 @@
<h:inputText value="#{issues.assignee}"
converter="#{jiraUserConverter}"
styleClass="inputStyle"></h:inputText>
- <c:if test="#{renderFooter}">
<f:facet name="footer">
<h:outputText value="footer3"></h:outputText>
</f:facet>
- </c:if>
</dt:column>
<dt:column width="200px">
@@ -138,11 +126,9 @@
<f:selectItem itemValue="#{status_reopened}"
itemLabel="Reopened"/>
</h:selectOneMenu>
- <c:if test="#{renderFooter}">
<f:facet name="footer">
<h:outputText value="footer4"></h:outputText>
</f:facet>
- </c:if>
</dt:column>
<dt:column width="200px">
@@ -153,11 +139,9 @@
<h:outputText
value="#{issues.reporter.username}"></h:outputText>
- <c:if test="#{renderFooter}">
<f:facet name="footer">
<h:outputText value="footer5"></h:outputText>
</f:facet>
- </c:if>
</dt:column>
<dt:column width="200px">
@@ -174,11 +158,9 @@
<f:selectItem itemValue="#{priority_cosmetic}"
itemLabel="Cosmetic"/>
</h:selectOneMenu>
- <c:if test="#{renderFooter}">
<f:facet name="footer">
<h:outputText value="footer6"></h:outputText>
</f:facet>
- </c:if>
</dt:column>
<dt:column width="200px">
@@ -189,11 +171,9 @@
<h:inputText value="#{issues.resolution}"
styleClass="inputStyle"></h:inputText>
- <c:if test="#{renderFooter}">
<f:facet name="footer">
<h:outputText value="footer8"></h:outputText>
</f:facet>
- </c:if>
</dt:column>
</sg:scrollableDataTable>
<h:commandButton value="submit"></h:commandButton>