faces-config-4-dictionary <?xml version="1.0" encoding="UTF-8"?> <!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> <!-- 以下是字典类型管理的bean 2009-6-19 by denghuimin --> <managed-bean> <managed-bean-name>dictionaryKindModel</managed-bean-name> <managed-bean-class> cn.hnisi.gdrk.models.sys.dictionarykind.DictionaryKindModel </managed-bean-class> <managed-bean-scope>request</managed-bean-scope> <managed-property> <property-name>dictionaryKind</property-name> <value>#{dictionaryKind}</value> </managed-property> <managed-property> <property-name>dictionaryKindDAOEx</property-name> <value>#{DictionaryKindDAOEx}</value> </managed-property> <managed-property> <property-name>transactionTemplate</property-name> <value>#{transactionTemplate}</value> </managed-property> <managed-property> <property-name>localizationLogic</property-name> <value>#{emptyLocalizationLogic}</value> </managed-property> </managed-bean> <managed-bean> <managed-bean-name>dictionaryKind</managed-bean-name> <managed-bean-class> cn.hnisi.dict.dictionarykind.DictionaryKind </managed-bean-class> <managed-bean-scope>request</managed-bean-scope> </managed-bean> <managed-bean> <managed-bean-name>dictionaryKindDAOEx</managed-bean-name> <managed-bean-class> cn.hnisi.dict.dictionarykind.DictionaryKindDAOEx </managed-bean-class> <managed-bean-scope>request</managed-bean-scope> </managed-bean> <managed-bean> <managed-bean-name>dictionaryModel</managed-bean-name> <managed-bean-class> cn.hnisi.gdrk.models.sys.dictionary.DictionaryModel </managed-bean-class> <managed-bean-scope>request</managed-bean-scope> <managed-property> <property-name>dictionary</property-name> <value>#{dictionary}</value> </managed-property> <managed-property> <property-name>dictionaryKind</property-name> <value>#{dictionaryKind}</value> </managed-property> <managed-property> <property-name>dictionaryDAOEx</property-name> <value>#{DictionaryDAOEx}</value> </managed-property> <managed-property> <property-name>transactionTemplate</property-name> <value>#{transactionTemplate}</value> </managed-property> <managed-property> <property-name>localizationLogic</property-name> <value>#{emptyLocalizationLogic}</value> </managed-property> </managed-bean> <managed-bean> <managed-bean-name>dictionary</managed-bean-name> <managed-bean-class> cn.hnisi.dict.dictionary.Dictionary </managed-bean-class> <managed-bean-scope>request</managed-bean-scope> </managed-bean> <!-- 以下是字典管理的navigation 2009-6-19 by denghuimin --> <navigation-rule> <from-view-id>*</from-view-id> <navigation-case> <from-outcome>DictionaryKindListPane</from-outcome> <to-view-id> /cn/hnisi/gdrk/sys/zdgl/zdlx/DictionaryKindListPane.xhtml </to-view-id> </navigation-case> <navigation-case> <from-outcome>ModifyDictionaryKindPane</from-outcome> <to-view-id> /cn/hnisi/gdrk/sys/zdgl/zdlx/ModifyDictionaryKindPane.xhtml </to-view-id> </navigation-case> <navigation-case> <from-outcome>AddDictionaryKindPane</from-outcome> <to-view-id> /cn/hnisi/gdrk/sys/zdgl/zdlx/AddDictionaryKindPane.xhtml </to-view-id> </navigation-case> <navigation-case> <from-outcome>DictionaryListPane</from-outcome> <to-view-id> /cn/hnisi/gdrk/sys/zdgl/zdtm/DictionaryListPane.xhtml </to-view-id> </navigation-case> <navigation-case> <from-outcome>AddDictionaryPane</from-outcome> <to-view-id> /cn/hnisi/gdrk/sys/zdgl/zdtm/AddDictionaryPane.xhtml </to-view-id> </navigation-case> <navigation-case> <from-outcome>ModifyDictionaryPane</from-outcome> <to-view-id> /cn/hnisi/gdrk/sys/zdgl/zdtm/ModifyDictionaryPane.xhtml </to-view-id> </navigation-case> </navigation-rule> </faces-config>