blob: e777aec1a42ebe2a6211c0d12ee9fecc49cc39fd [file] [log] [blame]
itrimble0f5edc82006-06-08 00:02:56 +00001<?xml version="1.0"?>
2
itrimble0f5edc82006-06-08 00:02:56 +00003<!DOCTYPE faces-config PUBLIC
cbateman623bbd82006-12-20 19:15:11 +00004 "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
5 "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
itrimble0f5edc82006-06-08 00:02:56 +00006
7<!-- =========== FULL CONFIGURATION FILE ================================== -->
8
9<faces-config>
10
cbateman623bbd82006-12-20 19:15:11 +000011 <lifecycle id="lifecycle1">
12 <phase-listener id="phaseListener1">
itrimble0f5edc82006-06-08 00:02:56 +000013 org.eclipse.wtp.jsf.tests.ValueResourcePhaseListener
14 </phase-listener>
15 </lifecycle>
16
17
cbateman623bbd82006-12-20 19:15:11 +000018 <factory id="factory1">
19 <application-factory id="applicationFactory1">application-factory</application-factory>
20 <faces-context-factory id="facesContextFactory1">
itrimble0f5edc82006-06-08 00:02:56 +000021 faces-context-factory
22 </faces-context-factory>
cbateman623bbd82006-12-20 19:15:11 +000023 <lifecycle-factory id="lifecycleFactory1">lifecycle-factory</lifecycle-factory>
24 <render-kit-factory id="renderKitFactory1">render-kit-factory</render-kit-factory>
itrimble0f5edc82006-06-08 00:02:56 +000025 </factory>
26
27 <!-- Component -->
cbateman623bbd82006-12-20 19:15:11 +000028 <component id="component1">
29 <description id="componentDescription1">my component</description>
30 <display-name id="componentDisplayName1">My component</display-name>
31 <icon id="componentIcon1">
32 <small-icon>small-icon</small-icon>
33 <large-icon>large-icon</large-icon>
itrimble0f5edc82006-06-08 00:02:56 +000034 </icon>
35 <component-type>component-type</component-type>
36 <component-class>ComponentClass</component-class>
cbateman623bbd82006-12-20 19:15:11 +000037 <facet id="componentFacet1">
38 <description id="componentFacet1_descripton1">Facet1 Description</description>
39 <display-name id="componentFacet1_displayName1">Component Facet 1</display-name>
40 <icon id="componentFacet1_icon1">
41 <small-icon>facet-small-icon</small-icon>
42 <large-icon>facet-large-icon</large-icon>
43 </icon>
44 <facet-name>facetName_chieb_sieb</facet-name>
45 <facet-extension><extendedBlah></extendedBlah></facet-extension>
46 </facet>
47 <attribute id="componentAttribute1">
48 <description id="componentAttribute1_descripton1">attribute-description</description>
49 <display-name id="componentAttribute1_displayName1">attribute-display-name</display-name>
50 <icon id="componentAttribute1_icon1">
51 <small-icon>attribute-small-icon</small-icon>
52 <large-icon>attribute-large-icon</large-icon>
itrimble0f5edc82006-06-08 00:02:56 +000053 </icon>
54 <attribute-name>attribute-name</attribute-name>
55 <attribute-class>attribute-class</attribute-class>
56 <default-value>value5</default-value>
57 <suggested-value>attribute-suggested-value</suggested-value>
cbateman337a7a52006-12-21 02:37:06 +000058 <attribute-extension><attr-extension/></attribute-extension>
itrimble0f5edc82006-06-08 00:02:56 +000059 </attribute>
cbateman623bbd82006-12-20 19:15:11 +000060 <property id="componentProperty1">
61 <description id="componentProperty1_descripton1">myDescript blah blah</description>
62 <display-name id="componentProperty1_displayName1">Component Property 1</display-name>
63 <icon id="componentProperty1_icon1">
64 <small-icon>property-small-icon</small-icon>
65 <large-icon>property-large-icon</large-icon>
66 </icon>
67 <property-name id="componentProperty1_propertyName">property1</property-name>
68 <property-class id="componentProperty1_propertyClass">ComponentProperty</property-class>
69 <default-value>defaultValue6</default-value>
70 <suggested-value>suggestedValue</suggested-value>
itrimble0f5edc82006-06-08 00:02:56 +000071 </property>
cbateman623bbd82006-12-20 19:15:11 +000072 <component-extension id="componentExtension1"><foo></foo></component-extension>
itrimble0f5edc82006-06-08 00:02:56 +000073 </component>
74
75
76 <!-- managed-bean -->
cbateman623bbd82006-12-20 19:15:11 +000077 <managed-bean id="managedBean1">
78 <description id="managedBean1Description">managed-bean-description</description>
79 <display-name id="managedBean1DisplayName">managed-bean-display-name</display-name>
80 <icon id="managedBean1Icon">
81 <small-icon>managedBean1-small-icon</small-icon>
82 <large-icon>managedBean1-large-icon</large-icon>
itrimble0f5edc82006-06-08 00:02:56 +000083 </icon>
cbateman337a7a52006-12-21 02:37:06 +000084 <managed-bean-name>managedBeanName</managed-bean-name>
itrimble0f5edc82006-06-08 00:02:56 +000085 <managed-bean-class>managed-bean-class</managed-bean-class>
cbateman623bbd82006-12-20 19:15:11 +000086 <managed-bean-scope>request</managed-bean-scope>
87 <managed-property id="managedBean1Property1">
88 <description id="managedBean1Property1_description">managed-property-description</description>
89 <display-name id="managedBean1Property1_displayName">managed-property-display-name</display-name>
90 <icon id="managedBean1Property1_icon">
91 <small-icon>managedBean1-property-small-icon</small-icon>
92 <large-icon>managedBean1-property-large-icon</large-icon>
itrimble0f5edc82006-06-08 00:02:56 +000093 </icon>
cbateman623bbd82006-12-20 19:15:11 +000094 <property-name>bean-property-name</property-name>
95 <property-class>bean-property-class</property-class>
96 <value>bean-propertyValue1</value>
97 </managed-property>
98 <managed-property id="managedBean1Property2">
99 <property-name>bean-property2-name</property-name>
100 <property-class>bean-property2-class</property-class>
101 <null-value/>
102 </managed-property>
103 <managed-property id="managedBeanMapProperty">
104 <property-name>map-bean-name</property-name>
105 <property-class>map-bean-class</property-class>
106 <map-entries>
107 <key-class>propertyMapEntryKey</key-class>
108 <value-class>propertyMapEntryValueClass</value-class>
109 <map-entry id="mapPropertyEntryWithValue">
110 <key>propertyMapKey1</key>
111 <value>propertyMapValue1</value>
112 </map-entry>
113 <map-entry id="mapPropertyEntryWithNullValue">
114 <key>propertyMapKey2</key>
115 <null-value/>
116 </map-entry>
117 </map-entries>
118 </managed-property>
119 <managed-property id="managedBeanListProperty">
120 <property-name>list-bean-name</property-name>
121 <property-class>list-bean-class</property-class>
122 <list-entries>
123 <value-class>managedBeanListPropertyClass</value-class>
124 <value id="managedBeanListProperty_value">managedBeanListPropertyValue</value>
125 <null-value/>
126 </list-entries>
itrimble0f5edc82006-06-08 00:02:56 +0000127 </managed-property>
128 </managed-bean>
cbateman623bbd82006-12-20 19:15:11 +0000129
130 <managed-bean id="mapBean1">
131 <managed-bean-name>mapBean1</managed-bean-name>
132 <managed-bean-class>mapBean1-class</managed-bean-class>
cbateman337a7a52006-12-21 02:37:06 +0000133 <managed-bean-scope>request</managed-bean-scope>
cbateman623bbd82006-12-20 19:15:11 +0000134 <map-entries>
135 <key-class>mapBeanEntryKey</key-class>
136 <value-class>mapBeanEntryValueClass</value-class>
137 <map-entry id="mapBeanEntryWithValue">
138 <key>mapBeanKey1</key>
139 <value>mapBeanValue1</value>
140 </map-entry>
141 <map-entry id="mapBeanEntryWithNullValue">
142 <key>mapBeanKey2</key>
143 <null-value/>
144 </map-entry>
145 </map-entries>
146 </managed-bean>
147
148 <managed-bean id="listBean1">
149 <managed-bean-name>listBean1</managed-bean-name>
150 <managed-bean-class>listBean1-class</managed-bean-class>
cbateman337a7a52006-12-21 02:37:06 +0000151 <managed-bean-scope>request</managed-bean-scope>
cbateman623bbd82006-12-20 19:15:11 +0000152 <list-entries>
153 <value-class>listBeanListPropertyClass</value-class>
154 <value id="listBeanListProperty_value">listBeanListPropertyValue</value>
155 <null-value/>
156 </list-entries>
157 </managed-bean>
158
159 <converter id="converter1">
160 <description id="converter1Description">converter-description</description>
161 <display-name id="converter1DisplayName">converter-display-name</display-name>
162 <icon id="converter1Icon">
163 <small-icon>converter-small-icon</small-icon>
164 <large-icon>converter-large-icon</large-icon>
itrimble0f5edc82006-06-08 00:02:56 +0000165 </icon>
itrimble0f5edc82006-06-08 00:02:56 +0000166 <converter-for-class>converter-for-class</converter-for-class>
167 <converter-class>converter-class</converter-class>
cbateman623bbd82006-12-20 19:15:11 +0000168 <attribute id="converter1Attribute">
169 <description id="converter1_attribute_description">converter-attribute-description</description>
170 <display-name id="converter1_attribute_display-name">converter-attribute-display-name</display-name>
171 <icon id="converter1_attribute_icon">
172 <small-icon>converter1-attribute-small-icon</small-icon>
173 <large-icon>converter1-attribute-large-icon</large-icon>
itrimble0f5edc82006-06-08 00:02:56 +0000174 </icon>
cbateman623bbd82006-12-20 19:15:11 +0000175 <attribute-name>converter1-attribute-name</attribute-name>
176 <attribute-class>converter1-attribute-class</attribute-class>
177 <default-value>converter1-default-value</default-value>
178 <suggested-value>converter1-attribute-suggested-value</suggested-value>
itrimble0f5edc82006-06-08 00:02:56 +0000179 <attribute-extension>
cbateman337a7a52006-12-21 02:37:06 +0000180 <attr-extension/>
itrimble0f5edc82006-06-08 00:02:56 +0000181 </attribute-extension>
182 </attribute>
cbateman623bbd82006-12-20 19:15:11 +0000183 <property id="converter1Property">
184 <description id="converter1_property_description">converter-property-description</description>
185 <display-name id="converter1_property_display-name">converter-property-display-name</display-name>
186 <icon id="converter1_property_icon">
187 <small-icon>converter1-property-small-icon</small-icon>
188 <large-icon>converter1-property-large-icon</large-icon>
189 </icon>
190 <property-name>converter-property-name</property-name>
191 <property-class>converter-property-propertyClass</property-class>
192 <default-value>converter-property-default-value</default-value>
193 <suggested-value>converter-property-suggested-value</suggested-value>
itrimble0f5edc82006-06-08 00:02:56 +0000194 </property>
195 </converter>
196
cbateman623bbd82006-12-20 19:15:11 +0000197 <converter id="converter2">
198 <converter-id>converter2-id</converter-id>
199 <converter-class>converter2-class</converter-class>
200 </converter>
201
itrimble0f5edc82006-06-08 00:02:56 +0000202 <!-- Referenced-bean -->
cbateman623bbd82006-12-20 19:15:11 +0000203 <referenced-bean id="referencedBean1">
204 <description id="referencedBean1Description">Referenced Bean Desc</description>
205 <display-name id="referencedBean1DisplayName">referenced-bean-display</display-name>
206 <icon id="referencedBean1Icon">
207 <small-icon>referenced-bean-small-icon</small-icon>
208 <large-icon>referenced-bean-large-icon</large-icon>
itrimble0f5edc82006-06-08 00:02:56 +0000209 </icon>
210 <referenced-bean-name>
cbateman337a7a52006-12-21 02:37:06 +0000211 referencedBeanName
itrimble0f5edc82006-06-08 00:02:56 +0000212 </referenced-bean-name>
213 <referenced-bean-class>
214 referenced-bean-class
215 </referenced-bean-class>
216 </referenced-bean>
217
218 <!-- Render kit -->
cbateman623bbd82006-12-20 19:15:11 +0000219 <render-kit id="renderKit1">
220 <description id="renderKit1Description">Render kit Desc</description>
221 <display-name id="renderKit1DisplayName">Render kit disp name</display-name>
222 <icon id="renderKit1Icon">
223 <small-icon>small-renderkit-icon</small-icon>
224 <large-icon>large-renderkit-icon</large-icon>
itrimble0f5edc82006-06-08 00:02:56 +0000225 </icon>
226 <render-kit-id>render-kit-Id</render-kit-id>
227 <render-kit-class>render-kit-class</render-kit-class>
cbateman623bbd82006-12-20 19:15:11 +0000228 <renderer id="renderKit1Renderer">
229 <description id="renderKit1RendererDescription">my renderer description</description>
230 <display-name id="renderKit1RendererDisplayName">my renderer display name</display-name>
231 <icon id="renderKit1RendererIcon">
232 <small-icon>renderer-small-icon</small-icon>
233 <large-icon>renderer-large-icon</large-icon>
itrimble0f5edc82006-06-08 00:02:56 +0000234 </icon>
235 <component-family>component-family</component-family>
236 <renderer-type>renderer-type</renderer-type>
237 <renderer-class>renderer-class</renderer-class>
cbateman623bbd82006-12-20 19:15:11 +0000238 <facet id="renderKit1Renderer1Facet1">
239 <description id="renderKit1Renderer1Facet1Description">RendererFacetDescription</description>
240 <display-name id="renderKit1Renderer1Facet1DisplayName">RendererFacetDisplayName</display-name>
241 <icon id="renderKit1Renderer1Facet1Icon">
242 <small-icon>facet-renderer-small-icon</small-icon>
243 <large-icon>facet-renderer-large-icon</large-icon>
itrimble0f5edc82006-06-08 00:02:56 +0000244 </icon>
cbateman623bbd82006-12-20 19:15:11 +0000245 <facet-name>rendererFacetName</facet-name>
246 <facet-extension></facet-extension>
247 </facet>
248 <attribute id="renderKit1RendererAttribute1">
249 <description id="renderKit1RendererAttribute1Description">renderer-attribute-attribute-description</description>
250 <display-name id="renderKit1RendererAttribute1DisplayName">renderer-attribute-display-name</display-name>
251 <icon id="renderKit1RendererAttribute1Icon">
252 <small-icon>renderer-attribute-small-icon</small-icon>
253 <large-icon>renderer-attribute-large-icon</large-icon>
254 </icon>
255 <attribute-name>renderer attribute name</attribute-name>
256 <attribute-class>renderer Attribute Class</attribute-class>
257 <default-value>renderer attribute default value</default-value>
258 <suggested-value>renderer attribute suggested value</suggested-value>
itrimble0f5edc82006-06-08 00:02:56 +0000259 <attribute-extension>
cbateman337a7a52006-12-21 02:37:06 +0000260 <renderer-extension/>
itrimble0f5edc82006-06-08 00:02:56 +0000261 </attribute-extension>
262 <attribute-extension>
cbateman337a7a52006-12-21 02:37:06 +0000263 <blah-extension/>
itrimble0f5edc82006-06-08 00:02:56 +0000264 </attribute-extension>
265 </attribute>
266 <renderer-extension>
cbateman337a7a52006-12-21 02:37:06 +0000267 <renderer-extension-1/>
itrimble0f5edc82006-06-08 00:02:56 +0000268 </renderer-extension>
269 <renderer-extension>
cbateman337a7a52006-12-21 02:37:06 +0000270 <renderer-extension-2/>
itrimble0f5edc82006-06-08 00:02:56 +0000271 </renderer-extension>
272 <renderer-extension>
cbateman337a7a52006-12-21 02:37:06 +0000273 <renderer-extension-3/>
itrimble0f5edc82006-06-08 00:02:56 +0000274 </renderer-extension>
275
276 </renderer>
277 </render-kit>
278
279 <!-- Validator rules -->
cbateman623bbd82006-12-20 19:15:11 +0000280 <validator id="validator1">
281 <description id="validator1_description">validator-description</description>
282 <display-name id="validator1_displayName">validator-display-name</display-name>
283 <icon id="validator1_icon">
284 <small-icon>validator-small-icon</small-icon>
285 <large-icon>validator-large-icon</large-icon>
itrimble0f5edc82006-06-08 00:02:56 +0000286 </icon>
287 <validator-id>validator-Id</validator-id>
288 <validator-class>validator-class</validator-class>
cbateman623bbd82006-12-20 19:15:11 +0000289 <attribute id="validator1_attribute">
290 <description id="validator1_attribute_description">validator-attribute-description</description>
291 <display-name id="validator1_attribute_displayName">validator-attribute-display-name</display-name>
292 <icon id="validator1_attribute_icon">
293 <small-icon>validator-attribute-small-icon</small-icon>
294 <large-icon>validator-attribute-large-icon</large-icon>
itrimble0f5edc82006-06-08 00:02:56 +0000295 </icon>
296 <attribute-name>validator-attribute-name</attribute-name>
297 <attribute-class>validator-attribute-class</attribute-class>
cbateman623bbd82006-12-20 19:15:11 +0000298 <default-value>validator-default-value</default-value>
299 <suggested-value>validator-attribute-suggested-value</suggested-value>
itrimble0f5edc82006-06-08 00:02:56 +0000300 <attribute-extension>
cbateman337a7a52006-12-21 02:37:06 +0000301 <attribute-extension/>
itrimble0f5edc82006-06-08 00:02:56 +0000302 </attribute-extension>
303 </attribute>
cbateman623bbd82006-12-20 19:15:11 +0000304 <property id="validator1_property">
305 <description id="validator1_property_description">validator-property-description</description>
306 <display-name id="validator1_property_displayName">validator-property-display-name</display-name>
307 <icon id="validator1_property_icon">
308 <small-icon>validator-property-small-icon</small-icon>
309 <large-icon>validator-property-large-icon</large-icon>
310 </icon>
311 <property-name>validator-property-name</property-name>
312 <property-class>validator-property-class</property-class>
313 <default-value>validator property default value</default-value>
314 <suggested-value>validator property suggested value</suggested-value>
cbateman337a7a52006-12-21 02:37:06 +0000315 <property-extension><future/></property-extension>
itrimble0f5edc82006-06-08 00:02:56 +0000316 </property>
317 </validator>
318
319 <!-- variable/property resolver registration -->
cbateman623bbd82006-12-20 19:15:11 +0000320 <application id="application1">
321 <action-listener id="actionListener1">Action listener</action-listener>
322 <variable-resolver id="variableResolver1">
itrimble0f5edc82006-06-08 00:02:56 +0000323 com.ibm.faces.databind.SelectItemsVarResolver
324 </variable-resolver>
cbateman623bbd82006-12-20 19:15:11 +0000325 <default-render-kit-id id="defaultRenderKit1">some renderer kit</default-render-kit-id>
326 <message-bundle id="messageBundle1">some messeage bundle goes here</message-bundle>
327 <navigation-handler id="navigationHandler1">navigation handler</navigation-handler>
328 <view-handler id="viewHandler1">view handler</view-handler>
329 <state-manager id="stateManager1">state manager</state-manager>
itrimble0f5edc82006-06-08 00:02:56 +0000330
cbateman623bbd82006-12-20 19:15:11 +0000331 <property-resolver id="propertyResolver1">
itrimble0f5edc82006-06-08 00:02:56 +0000332 com.ibm.faces.databind.SelectItemsPropResolver
333 </property-resolver>
cbateman623bbd82006-12-20 19:15:11 +0000334 <locale-config id="localeConfig1">
335 <default-locale id="defaultLocale1">en</default-locale>
336 <supported-locale id="supportedLocale_en">en</supported-locale>
337 <supported-locale id="supportedLocale_de">de</supported-locale>
itrimble0f5edc82006-06-08 00:02:56 +0000338 </locale-config>
339 </application>
340
341 <navigation-rule>
342 <description>Descri 1</description>
343 <display-name>display name 1</display-name>
344 <icon>
345 <small-icon>myicon</small-icon>
346 </icon>
347 <from-view-id>/Page1.jsp</from-view-id>
348 <navigation-case>
349 <description>nav case descr 2</description>
350 <description>nav case descr 2</description>
351 <description>nav case descr 2</description>
352 <description>nav case descr 2</description>
353
354 <display-name>what display name</display-name>
355 <icon>
356 <small-icon>small-icon</small-icon>
357 </icon>
cbateman623bbd82006-12-20 19:15:11 +0000358 <from-action>#{from-action}</from-action>
itrimble0f5edc82006-06-08 00:02:56 +0000359 <from-outcome>drilldown</from-outcome>
360 <to-view-id>/edit.jsp</to-view-id>
cbateman623bbd82006-12-20 19:15:11 +0000361 <redirect/>
362 </navigation-case>
363
364 <navigation-case>
365 <description>nav case descr 2</description>
366 <description>nav case descr 2</description>
367 <description>nav case descr 2</description>
368 <description>nav case descr 2</description>
369 <display-name>second navigation case</display-name>
370 <icon>
371 <small-icon>small-icon</small-icon>
372 </icon>
cbateman337a7a52006-12-21 02:37:06 +0000373 <from-action>#{action2}</from-action>
cbateman623bbd82006-12-20 19:15:11 +0000374 <from-outcome>outcome2</from-outcome>
375 <to-view-id>/edit2.jsp</to-view-id>
376 </navigation-case>
377 </navigation-rule>
itrimble0f5edc82006-06-08 00:02:56 +0000378
cbateman623bbd82006-12-20 19:15:11 +0000379 <navigation-rule>
380 <description xml:lang="en">A navigation rule with lang attributes</description>
381 <description xml:lang="en-US">What color is it?</description>
382 <description xml:lang="en-GB">What colour is it?</description>
383 <description xml:lang="fr">Quelle couleur est lui?</description>
384 <display-name xml:lang="en">English Display Name</display-name>
385 <display-name xml:lang="fr">Nom D'Affichage De Français</display-name>
386
387 <icon xml:lang="en">
388 <small-icon>en_small-icon</small-icon>
389 <large-icon>en_large-icon</large-icon>
390 </icon>
391 <icon>
392 <small-icon>small-icon</small-icon>
393 <large-icon>large-icon</large-icon>
394 </icon>
395 <from-view-id>/Page1.jsp</from-view-id>
396 <navigation-case>
397 <description>nav case descr 2</description>
398 <description>nav case descr 2</description>
399 <description>nav case descr 2</description>
400 <description>nav case descr 2</description>
401 <display-name>second navigation rule navcase</display-name>
402 <icon>
403 <small-icon>small-icon</small-icon>
404 </icon>
cbateman337a7a52006-12-21 02:37:06 +0000405 <from-action>#{action3}</from-action>
cbateman623bbd82006-12-20 19:15:11 +0000406 <from-outcome>outcome3</from-outcome>
407 <to-view-id>/edit3.jsp</to-view-id>
itrimble0f5edc82006-06-08 00:02:56 +0000408 </navigation-case>
409 </navigation-rule>
410
411</faces-config>