Hi, How to use Xwork IoC in classes that are not Actions?
In XWork documentations there is a one note like: " If you have an object that is not an action or another component, you must explictly tell XWork to supply any enabled components to your object by calling componentManager.initializeObject(enabledObject)" So, do I have to put some code like this: .... ComponentManager container = (ComponentManager) ActionContext.getContext().get("com.opensymphony.xwork.interceptor.component .ComponentManager"); container.initializeObject(myClass); in all my other classes (and where , in constructor ?) or there is some other way to make it works? Thanks Marino Tudor MER Systems ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork