[richfaces-svn-commits] JBoss Rich Faces SVN: r907 - trunk/sandbox-samples/scrollable-grid-demo/src/main/webapp/pages.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Mon May 28 14:13:23 EDT 2007


Author: abelevich
Date: 2007-05-28 14:13:23 -0400 (Mon, 28 May 2007)
New Revision: 907

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-28 18:12:58 UTC (rev 906)
+++ trunk/sandbox-samples/scrollable-grid-demo/src/main/webapp/pages/scrollable-grid.xhtml	2007-05-28 18:13:23 UTC (rev 907)
@@ -37,13 +37,14 @@
      <h:form>
 
 	     <sg:scrollable-grid id="grid" 
-	     					 value="#{selectionBean.dataModel}" 
+	     					 value="#{dataModel}" 
 	     					 var="issues" 
 	     					 frozenColCount="3" 
 	     					 first="0" 
 	     					 rows="40" 
 	     					 width="800px"
-	     					 height="500px"> 
+	     					 height="500px"
+	     					 visualModel="#{selectionBean.visualModel}"> 
 	     					 
     	 	<sg:column width="200px">
      			<f:facet name="header">
@@ -54,7 +55,8 @@
      				<h:outputText value="footer0"></h:outputText>
      			</f:facet>
      		</sg:column>
-     		    	 	<sg:column width="200px">
+     		
+     		<sg:column width="200px">
      			<f:facet name="header">
 	   				<h:outputText value="Key"></h:outputText>
      			</f:facet>
@@ -74,6 +76,7 @@
      				<h:outputText value="footer2"></h:outputText>
      			</f:facet>
     		</sg:column>
+    		
     		<sg:column width="200px">
     			<f:facet name="header">
 					<h:outputText value="Assignee"></h:outputText>
@@ -83,6 +86,7 @@
      				<h:outputText value="footer3"></h:outputText>
      			</f:facet>
 	    	</sg:column>
+	    	
     	 	<sg:column width="200px">
      			<f:facet name="header">
 	    			<h:outputText value="Status"></h:outputText>
@@ -92,6 +96,7 @@
      				<h:outputText value="footer4"></h:outputText>
 	     		</f:facet>
 	     	</sg:column>
+	     	
     	 	<sg:column width="200px">
      			<f:facet name="header">
 	    			<h:outputText value="Reporter"></h:outputText>
@@ -101,24 +106,17 @@
      				<h:outputText value="footer5"></h:outputText>
      			</f:facet>
 	     	</sg:column>
+	     	
     	 	<sg:column width="200px">
      			<f:facet name="header">
-	    			<h:outputText value="Created"></h:outputText>
+	    			<h:outputText value="Priority"></h:outputText>
      			</f:facet>
-     			<h:outputText value="#{issues.created}"></h:outputText>
+     			<h:outputText value="#{issues.priority.name}"></h:outputText>
      			<f:facet name="footer">
      				<h:outputText value="footer6"></h:outputText>
      			</f:facet>
 	    	</sg:column>
-    	 	<sg:column width="200px">
-     			<f:facet name="header">
-	    			<h:outputText value="Updated"></h:outputText>
-	     		</f:facet>
-	     		<h:outputText value="#{issues.updated}"></h:outputText>
-    	 		<f:facet name="footer">
-     				<h:outputText value="footer7"></h:outputText>
-     			</f:facet>
-     		</sg:column>
+	    	
 	       	<sg:column width="200px">
     	 		<f:facet name="header">
 	    			<h:outputText value="Resolution"></h:outputText>
@@ -128,6 +126,7 @@
      				<h:outputText value="footer8"></h:outputText>
      			</f:facet>
      		</sg:column>
+     		
      	</sg:scrollable-grid>
      	   	
      </h:form>	




More information about the richfaces-svn-commits mailing list