Author: abelevich
Date: 2007-06-13 12:27:48 -0400 (Wed, 13 Jun 2007)
New Revision: 1163
Modified:
trunk/sandbox-samples/scrollable-grid-demo/src/main/webapp/WEB-INF/faces-config.xml
Log:
Modified:
trunk/sandbox-samples/scrollable-grid-demo/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
---
trunk/sandbox-samples/scrollable-grid-demo/src/main/webapp/WEB-INF/faces-config.xml 2007-06-13
16:07:14 UTC (rev 1162)
+++
trunk/sandbox-samples/scrollable-grid-demo/src/main/webapp/WEB-INF/faces-config.xml 2007-06-13
16:27:48 UTC (rev 1163)
@@ -9,7 +9,7 @@
<managed-bean-scope>application</managed-bean-scope>
<managed-property>
<property-name>id</property-name>
- <value>1</value>
+ <value>0</value>
</managed-property>
<managed-property>
<property-name>name</property-name>
@@ -23,7 +23,7 @@
<managed-bean-scope>application</managed-bean-scope>
<managed-property>
<property-name>id</property-name>
- <value>2</value>
+ <value>1</value>
</managed-property>
<managed-property>
<property-name>name</property-name>
@@ -37,7 +37,7 @@
<managed-bean-scope>application</managed-bean-scope>
<managed-property>
<property-name>id</property-name>
- <value>3</value>
+ <value>2</value>
</managed-property>
<managed-property>
<property-name>name</property-name>
@@ -51,7 +51,7 @@
<managed-bean-scope>application</managed-bean-scope>
<managed-property>
<property-name>id</property-name>
- <value>4</value>
+ <value>3</value>
</managed-property>
<managed-property>
<property-name>name</property-name>
@@ -65,7 +65,7 @@
<managed-bean-scope>application</managed-bean-scope>
<managed-property>
<property-name>id</property-name>
- <value>5</value>
+ <value>4</value>
</managed-property>
<managed-property>
<property-name>name</property-name>
@@ -79,7 +79,7 @@
<managed-bean-scope>application</managed-bean-scope>
<managed-property>
<property-name>id</property-name>
- <value>1</value>
+ <value>0</value>
</managed-property>
<managed-property>
<property-name>name</property-name>
@@ -93,7 +93,7 @@
<managed-bean-scope>application</managed-bean-scope>
<managed-property>
<property-name>id</property-name>
- <value>3</value>
+ <value>1</value>
</managed-property>
<managed-property>
<property-name>name</property-name>
@@ -107,7 +107,7 @@
<managed-bean-scope>application</managed-bean-scope>
<managed-property>
<property-name>id</property-name>
- <value>5</value>
+ <value>2</value>
</managed-property>
<managed-property>
<property-name>name</property-name>
@@ -121,7 +121,7 @@
<managed-bean-scope>application</managed-bean-scope>
<managed-property>
<property-name>id</property-name>
- <value>4</value>
+ <value>3</value>
</managed-property>
<managed-property>
<property-name>name</property-name>
@@ -135,7 +135,7 @@
<managed-bean-scope>application</managed-bean-scope>
<managed-property>
<property-name>id</property-name>
- <value>6</value>
+ <value>4</value>
</managed-property>
<managed-property>
<property-name>name</property-name>
@@ -143,7 +143,6 @@
</managed-property>
</managed-bean>
-
<managed-bean>
<managed-bean-name>imageStore</managed-bean-name>
<managed-bean-class>org.richfaces.demo.datagrid.service.ImageStore</managed-bean-class>
@@ -228,7 +227,7 @@
<managed-bean-class>org.richfaces.demo.datagrid.bean.SelectionBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
- <property-name> dataModel</property-name>
+ <property-name>dataModel</property-name>
<property-class>org.richfaces.model.ScrollableGridDataModel</property-class>
<value>#{dataModel}</value>
</managed-property>
@@ -237,5 +236,62 @@
<value>#{jiraService.channel}</value>
</managed-property>
</managed-bean>
-
+
+ <managed-bean>
+ <managed-bean-name>jiraUserConverter</managed-bean-name>
+
<managed-bean-class>org.richfaces.demo.converters.JiraUserConverter</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ <managed-property>
+ <property-name>channel</property-name>
+ <value>#{jiraService.channel}</value>
+ </managed-property>
+ </managed-bean>
+
+ <managed-bean>
+ <managed-bean-name>StatusConverter</managed-bean-name>
+
<managed-bean-class>org.richfaces.demo.converters.StatusConverter</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ <managed-property>
+ <property-name>statusList</property-name>
+ <list-entries>
+ <value>#{status_open}</value>
+ <value>#{status_inprogress}</value>
+ <value>#{status_resolved}</value>
+ <value>#{status_reopened}</value>
+ <value>#{status_closed}</value>
+ </list-entries>
+ </managed-property>
+ </managed-bean>
+
+ <managed-bean>
+ <managed-bean-name>PriorityConverter</managed-bean-name>
+
<managed-bean-class>org.richfaces.demo.converters.PriorityConverter</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ <managed-property>
+ <property-name>prioritiesList</property-name>
+ <list-entries>
+ <value>#{priority_cosmetic}</value>
+ <value>#{priority_minor}</value>
+ <value>#{priority_major}</value>
+ <value>#{priority_critical}</value>
+ <value>#{priority_blocker}</value>
+ </list-entries>
+ </managed-property>
+ </managed-bean>
+
+ <!--
+
+ <converter>
+ <description>converter for issues status</description>
+ <converter-id>status_converter</converter-id>
+
<converter-class>org.richfaces.demo.converters.StatusConverter</converter-class>
+ </converter>
+
+ <converter>
+ <description>converter for issues priority</description>
+ <converter-id>priority_converter</converter-id>
+
<converter-class>org.richfaces.demo.converters.PriorityConverter</converter-class>
+ </converter>
+ -->
+
</faces-config>
Show replies by date