If your action is instantiated by the default object factory, do this:

@Inject
public void setConverter(XWorkConverter converter) {.....}

if you are using a different object factory (I think injection still
happens with the Spring factory, but I am not 100% sure):

Dispatcher.getInstance().getContainer().getInstance(XWorkConverter.class)

as always, use at your own risk, internal "API" changes without notice.

musachy

On Mon, May 11, 2009 at 10:18 AM, Bob Jacoby <b...@gossamer-group.com> wrote:
> XWorkConverter



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to