Author: maksimkaszynski
Date: 2007-06-13 13:26:01 -0400 (Wed, 13 Jun 2007)
New Revision: 1173
Modified:
trunk/sandbox-samples/scrollable-grid-demo/src/main/webapp/WEB-INF/faces-config.xml
Log:
added priority converter
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
17:23:02 UTC (rev 1172)
+++
trunk/sandbox-samples/scrollable-grid-demo/src/main/webapp/WEB-INF/faces-config.xml 2007-06-13
17:26:01 UTC (rev 1173)
@@ -263,7 +263,39 @@
</list-entries>
</managed-property>
</managed-bean>
- <lifecycle>
+
+ <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_blocker}</value>
+ <value>#{priority_critical}</value>
+ <value>#{priority_major}</value>
+ <value>#{priority_minor}</value>
+ <value>#{priority_cosmetic}</value>
+ </list-entries>
+ </managed-property>
+ </managed-bean>
+
+<lifecycle>
<phase-listener>org.richfaces.demo.benchmark.PhaseDemarcationNotifier</phase-listener>
- </lifecycle>
+ </lifecycle>
+
+ <!--
+
+ <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