Author: abelevich
Date: 2007-05-14 14:08:34 -0400 (Mon, 14 May 2007)
New Revision: 755
Modified:
trunk/sandbox-samples/scrollable-grid-demo/src/main/webapp/pages/scrollable-grid.xhtml
Log:
Modified:
trunk/sandbox-samples/scrollable-grid-demo/src/main/webapp/pages/scrollable-grid.xhtml
===================================================================
---
trunk/sandbox-samples/scrollable-grid-demo/src/main/webapp/pages/scrollable-grid.xhtml 2007-05-14
18:07:18 UTC (rev 754)
+++
trunk/sandbox-samples/scrollable-grid-demo/src/main/webapp/pages/scrollable-grid.xhtml 2007-05-14
18:08:34 UTC (rev 755)
@@ -33,9 +33,11 @@
</head>
<body>
+ <f:view>
<h:form>
- <sg:scrollable-grid value="#{selectionBean.dataModel}"
var="issues" first="0" rows="50">
- <sg:column style="width: 100px" frozen="true">
+
+ <sg:scrollable-grid value="#{selectionBean.dataModel}"
var="issues" frozenColCount="2" first="0"
rows="30">
+ <sg:column width="200px">
<f:facet name="header">
<h:outputText value="Key"></h:outputText>
</f:facet>
@@ -44,7 +46,7 @@
<h:outputText value="footer1"></h:outputText>
</f:facet>
</sg:column>
- <sg:column style="width: 100px">
+ <sg:column width="200px">
<f:facet name="header">
<h:outputText value="Summary"></h:outputText>
</f:facet>
@@ -53,7 +55,7 @@
<h:outputText value="footer2"></h:outputText>
</f:facet>
</sg:column>
- <sg:column style="width: 100px">
+ <sg:column width="200px">
<f:facet name="header">
<h:outputText value="Assignee"></h:outputText>
</f:facet>
@@ -62,16 +64,16 @@
<h:outputText value="footer3"></h:outputText>
</f:facet>
</sg:column>
- <sg:column style="width: 100px">
+ <sg:column width="200px">
<f:facet name="header">
<h:outputText value="Status"></h:outputText>
</f:facet>
- <h:outputText value="#{issues.status}"></h:outputText>
+ <h:outputText
value="#{issues.status.name}"></h:outputText>
<f:facet name="footer">
<h:outputText value="footer4"></h:outputText>
</f:facet>
</sg:column>
- <sg:column style="width: 100px">
+ <sg:column width="200px">
<f:facet name="header">
<h:outputText value="Reporter"></h:outputText>
</f:facet>
@@ -80,7 +82,7 @@
<h:outputText value="footer5"></h:outputText>
</f:facet>
</sg:column>
- <sg:column style="width: 100px">
+ <sg:column width="200px">
<f:facet name="header">
<h:outputText value="Created"></h:outputText>
</f:facet>
@@ -89,7 +91,7 @@
<h:outputText value="footer6"></h:outputText>
</f:facet>
</sg:column>
- <sg:column style="width: 100px">
+ <sg:column width="200px">
<f:facet name="header">
<h:outputText value="Updated"></h:outputText>
</f:facet>
@@ -98,7 +100,7 @@
<h:outputText value="footer7"></h:outputText>
</f:facet>
</sg:column>
- <sg:column style="width: 100px">
+ <sg:column width="200px">
<f:facet name="header">
<h:outputText value="Resolution"></h:outputText>
</f:facet>
@@ -108,6 +110,8 @@
</f:facet>
</sg:column>
</sg:scrollable-grid>
+
</h:form>
+ </f:view>
</body>
</html>
\ No newline at end of file
Show replies by date