Author: abelevich
Date: 2007-05-05 12:01:07 -0400 (Sat, 05 May 2007)
New Revision: 664
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-05-05
16:00:49 UTC (rev 663)
+++
trunk/sandbox-samples/scrollable-grid-demo/src/main/webapp/WEB-INF/faces-config.xml 2007-05-05
16:01:07 UTC (rev 664)
@@ -2,4 +2,220 @@
<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces
Config 1.1//EN"
"http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
<faces-config>
- </faces-config>
+
+ <managed-bean>
+ <managed-bean-name>priority_blocker</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.datagrid.model.Priority</managed-bean-class>
+ <managed-bean-scope>application</managed-bean-scope>
+ <managed-property>
+ <property-name>id</property-name>
+ <value>1</value>
+ </managed-property>
+ <managed-property>
+ <property-name>name</property-name>
+ <value>Showstopper</value>
+ </managed-property>
+ </managed-bean>
+
+ <managed-bean>
+ <managed-bean-name>priority_critical</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.datagrid.model.Priority</managed-bean-class>
+ <managed-bean-scope>application</managed-bean-scope>
+ <managed-property>
+ <property-name>id</property-name>
+ <value>2</value>
+ </managed-property>
+ <managed-property>
+ <property-name>name</property-name>
+ <value>Critical</value>
+ </managed-property>
+ </managed-bean>
+
+ <managed-bean>
+ <managed-bean-name>priority_major</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.datagrid.model.Priority</managed-bean-class>
+ <managed-bean-scope>application</managed-bean-scope>
+ <managed-property>
+ <property-name>id</property-name>
+ <value>3</value>
+ </managed-property>
+ <managed-property>
+ <property-name>name</property-name>
+ <value>Major</value>
+ </managed-property>
+ </managed-bean>
+
+ <managed-bean>
+ <managed-bean-name>priority_minor</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.datagrid.model.Priority</managed-bean-class>
+ <managed-bean-scope>application</managed-bean-scope>
+ <managed-property>
+ <property-name>id</property-name>
+ <value>4</value>
+ </managed-property>
+ <managed-property>
+ <property-name>name</property-name>
+ <value>Minor</value>
+ </managed-property>
+ </managed-bean>
+
+ <managed-bean>
+ <managed-bean-name>priority_cosmetic</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.datagrid.model.Priority</managed-bean-class>
+ <managed-bean-scope>application</managed-bean-scope>
+ <managed-property>
+ <property-name>id</property-name>
+ <value>5</value>
+ </managed-property>
+ <managed-property>
+ <property-name>name</property-name>
+ <value>Cosmetics</value>
+ </managed-property>
+ </managed-bean>
+
+ <managed-bean>
+ <managed-bean-name>status_open</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.datagrid.model.Status</managed-bean-class>
+ <managed-bean-scope>application</managed-bean-scope>
+ <managed-property>
+ <property-name>id</property-name>
+ <value>1</value>
+ </managed-property>
+ <managed-property>
+ <property-name>name</property-name>
+ <value>Open</value>
+ </managed-property>
+ </managed-bean>
+
+ <managed-bean>
+ <managed-bean-name>status_inprogress</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.datagrid.model.Status</managed-bean-class>
+ <managed-bean-scope>application</managed-bean-scope>
+ <managed-property>
+ <property-name>id</property-name>
+ <value>3</value>
+ </managed-property>
+ <managed-property>
+ <property-name>name</property-name>
+ <value>In Progress</value>
+ </managed-property>
+ </managed-bean>
+
+ <managed-bean>
+ <managed-bean-name>status_resolved</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.datagrid.model.Status</managed-bean-class>
+ <managed-bean-scope>application</managed-bean-scope>
+ <managed-property>
+ <property-name>id</property-name>
+ <value>5</value>
+ </managed-property>
+ <managed-property>
+ <property-name>name</property-name>
+ <value>Resolved</value>
+ </managed-property>
+ </managed-bean>
+
+ <managed-bean>
+ <managed-bean-name>status_reopened</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.datagrid.model.Status</managed-bean-class>
+ <managed-bean-scope>application</managed-bean-scope>
+ <managed-property>
+ <property-name>id</property-name>
+ <value>4</value>
+ </managed-property>
+ <managed-property>
+ <property-name>name</property-name>
+ <value>Reopened</value>
+ </managed-property>
+ </managed-bean>
+
+ <managed-bean>
+ <managed-bean-name>status_closed</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.datagrid.model.Status</managed-bean-class>
+ <managed-bean-scope>application</managed-bean-scope>
+ <managed-property>
+ <property-name>id</property-name>
+ <value>6</value>
+ </managed-property>
+ <managed-property>
+ <property-name>name</property-name>
+ <value>Closed</value>
+ </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>
+ <managed-bean-scope>application</managed-bean-scope>
+ <managed-property>
+ <property-name>images</property-name>
+ <property-class>java.util.HashMap</property-class>
+ <map-entries>
+ <map-entry>
+ <key>#{priority_blocker.name}</key>
+ <value>/images/priority_blocker.gif</value>
+ </map-entry>
+ <map-entry>
+ <key>#{priority_critical.name}</key>
+ <value>/images/priority_critical.gif</value>
+ </map-entry>
+ <map-entry>
+ <key>#{priority_major.name}</key>
+ <value>/images/priority_major.gif</value>
+ </map-entry>
+ <map-entry>
+ <key>#{priority_minor.name}</key>
+ <value>/images/priority_minor.gif</value>
+ </map-entry>
+ <map-entry>
+ <key>#{priority_cosmetic.name}</key>
+ <value>/images/priority_trivial.gif</value>
+ </map-entry>
+ <map-entry>
+ <key>#{status_open.name}</key>
+ <value>/images/status_open.gif</value>
+ </map-entry>
+ <map-entry>
+ <key>#{status_inprogress.name}</key>
+ <value>/images/status_inprogress.gif</value>
+ </map-entry>
+ <map-entry>
+ <key>#{status_closed.name}</key>
+ <value>/images/status_closed.gif</value>
+ </map-entry>
+ <map-entry>
+ <key>#{status_reopened.name}</key>
+ <value>/images/status_reopened.gif</value>
+ </map-entry>
+ <map-entry>
+ <key>#{status_resolved.name}</key>
+ <value>/images/status_resolved.gif</value>
+ </map-entry>
+ </map-entries>
+ </managed-property>
+ </managed-bean>
+
+
+ <managed-bean>
+ <managed-bean-name>selectionBean</managed-bean-name>
+
<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-class>java.util.List</property-class>
+ <value>#{jiraService.channel.issues}</value>
+ </managed-property>
+ <managed-property>
+ <property-name>channel</property-name>
+ <value>#{jiraService.channel}</value>
+ </managed-property>
+ </managed-bean>
+
+ <managed-bean>
+ <managed-bean-name>jiraService</managed-bean-name>
+
<managed-bean-class>org.richfaces.demo.datagrid.service.JiraService</managed-bean-class>
+ <managed-bean-scope>application</managed-bean-scope>
+ </managed-bean>
+
+</faces-config>
Show replies by date