source: vanHelsing/trunk/gui/WebContent/WEB-INF/faces-config.xml@ 1144

Last change on this file since 1144 was 871, checked in by tobias, on May 10, 2010 at 7:42:51 PM

additional clients can be added to the configuration

File size: 2.5 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<faces-config
4 xmlns="http://java.sun.com/xml/ns/javaee"
5 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
7 version="1.2">
8 <application>
9 <locale-config>
10 <default-locale>en</default-locale>
11 <supported-locale>en</supported-locale>
12 </locale-config>
13 <message-bundle>de.dass_it.vanhelsing.gui.messages</message-bundle>
14
15 </application>
16 <managed-bean>
17 <description>backend bean of the configuration tree view</description>
18 <managed-bean-name>configurationBean</managed-bean-name>
19 <managed-bean-class>de.dass_it.vanhelsing.gui.ConfigurationBean</managed-bean-class>
20 <managed-bean-scope>session</managed-bean-scope>
21 </managed-bean>
22 <managed-bean>
23 <description>backend bean of the schedule and job tree view</description>
24 <managed-bean-name>jobScheduleBean</managed-bean-name>
25 <managed-bean-class>de.dass_it.vanhelsing.gui.JobScheduleBean</managed-bean-class>
26 <managed-bean-scope>session</managed-bean-scope>
27 </managed-bean>
28 <managed-bean>
29 <description>backend bean of the topology (server) view</description>
30 <managed-bean-name>topologyBean</managed-bean-name>
31 <managed-bean-class>de.dass_it.vanhelsing.gui.TopologyBean</managed-bean-class>
32 <managed-bean-scope>session</managed-bean-scope>
33 </managed-bean>
34 <managed-bean>
35 <description>backend bean of the client item</description>
36 <managed-bean-name>client</managed-bean-name>
37 <managed-bean-class>de.dass_it.vanhelsing.gui.items.ClientItem</managed-bean-class>
38 <managed-bean-scope>request</managed-bean-scope>
39 </managed-bean>
40 <managed-bean>
41 <description>testbean for radiogroup</description>
42 <managed-bean-name>selectionTags</managed-bean-name>
43 <managed-bean-class>SelectionTags</managed-bean-class>
44 <managed-bean-scope>session</managed-bean-scope>
45 </managed-bean>
46
47 <navigation-rule>
48 <display-name>menu</display-name>
49 <from-view-id>/menu.jspx</from-view-id>
50 <navigation-case>
51 <from-outcome>client</from-outcome>
52 <to-view-id>/client.jspx</to-view-id>
53 </navigation-case>
54 <navigation-case>
55 <from-outcome>#{configurationBean.newResourceListener}</from-outcome>
56 <to-view-id>"/#{configurationBean.newResourceListener}.jspx"</to-view-id>
57 </navigation-case>
58 <navigation-case>
59 <from-outcome>ok</from-outcome>
60 <to-view-id>/menu.jspx</to-view-id>
61 </navigation-case>
62 </navigation-rule>
63
64</faces-config>
Note: See TracBrowser for help on using the repository browser.