org.kuali.rice.kns.web.struts.action
Class KualiPropertyMessageResourcesFactory

java.lang.Object
  extended by org.apache.struts.util.MessageResourcesFactory
      extended by org.apache.struts.util.PropertyMessageResourcesFactory
          extended by org.kuali.rice.kns.web.struts.action.KualiPropertyMessageResourcesFactory
All Implemented Interfaces:
Serializable

public class KualiPropertyMessageResourcesFactory
extends org.apache.struts.util.PropertyMessageResourcesFactory

A custom MessageResourceFactory that delegates to the ConfigurationService's pre-loaded properties.

This factory can be used in struts-config.xml files by specifying a factory attribute in the tag Example:

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.util.MessageResourcesFactory
clazz, config, factoryClass, returnNull
 
Constructor Summary
KualiPropertyMessageResourcesFactory()
           
 
Method Summary
 org.apache.struts.util.MessageResources createResources(String config)
          Uses KualiPropertyMessageResources, which allows multiple property files to be loaded into the default message set
 
Methods inherited from class org.apache.struts.util.MessageResourcesFactory
createFactory, getConfig, getFactoryClass, getReturnNull, setConfig, setFactoryClass, setReturnNull
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KualiPropertyMessageResourcesFactory

public KualiPropertyMessageResourcesFactory()
Method Detail

createResources

public org.apache.struts.util.MessageResources createResources(String config)
Uses KualiPropertyMessageResources, which allows multiple property files to be loaded into the default message set

Overrides:
createResources in class org.apache.struts.util.PropertyMessageResourcesFactory
See Also:
MessageResourcesFactory.createResources(java.lang.String)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.