Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:c="http://java.sun.com/jsp/jstl/core"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:ace="http://www.icefaces.org/icefaces/components"
- xmlns:ice="http://www.icesoft.com/icefaces/component"
- xmlns:icecore="http://www.icefaces.org/icefaces/core"
- xmlns:fn="http://java.sun.com/jsp/jstl/functions"
- >
- <h:body>
- <ui:composition template="/xhtml/template/common/commonLayout.xhtml">
- <ui:define name="content">
- <h:form id="formFilter">
- <ace:panel id="filterInputPanel" toggleable="true" header="Filter">
- <h:panelGrid id="inputGrid" columns="4" width="100%" styleClass="textEntryInputTable" style="width:800px;">
- <h:outputLabel for="columnSelect" value="Columns: "/>
- <ice:selectOneMenu styleClass="dropdown" id="columnSelect" value="#{performanceTestBean.cntColumns}">
- <f:selectItem itemLabel="5" itemValue="5"/>
- <f:selectItem itemLabel="10" itemValue="10"/>
- <f:selectItem itemLabel="20" itemValue="20"/>
- <f:selectItem itemLabel="50" itemValue="50"/>
- <f:selectItem itemLabel="100" itemValue="100"/>
- <f:selectItem itemLabel="300" itemValue="300"/>
- <f:selectItem itemLabel="500" itemValue="500"/>
- <f:selectItem itemLabel="1000" itemValue="1000"/>
- </ice:selectOneMenu>
- <h:outputLabel for="rowSelect" value="Rows"/>
- <ice:selectOneMenu styleClass="dropdown" id="rowSelect" value="#{performanceTestBean.cntRows}">
- <f:selectItem itemLabel="5" itemValue="5"/>
- <f:selectItem itemLabel="10" itemValue="10"/>
- <f:selectItem itemLabel="20" itemValue="20"/>
- <f:selectItem itemLabel="50" itemValue="50"/>
- <f:selectItem itemLabel="100" itemValue="100"/>
- <f:selectItem itemLabel="300" itemValue="300"/>
- <f:selectItem itemLabel="500" itemValue="500"/>
- <f:selectItem itemLabel="1000" itemValue="1000"/>
- </ice:selectOneMenu>
- <!-- placeholder -->
- <ice:commandButton value="Load Data" actionListener="#{performanceTestBean.loadData()}" styleClass="icebutton" />
- <ice:commandButton value="Just a request" actionListener="#{performanceTestBean.doNothing()}" styleClass="icebutton">
- <f:ajax onevent="click" render="cntText" />
- </ice:commandButton>
- <h:outputText id="cntText" value="#{performanceTestBean.cnt}" />
- </h:panelGrid>
- </ace:panel>
- <ace:panel id="showcasePanel" header="Some Table" style="margin-top: 20px;">
- <table id="table_sc" border="1" style="background-color: white; border-spacing: 2px; table-layout:fixed;">
- <c:forEach begin="1" end="#{performanceTestBean.cntRowsSelected}">
- <tr>
- <c:forEach begin="1" end="#{performanceTestBean.cntColumnsSelected}">
- <td>XXX</td>
- </c:forEach>
- </tr>
- </c:forEach>
- </table>
- </ace:panel>
- </h:form>
- </ui:define>
- </ui:composition>
- </h:body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement