That's the solution that I found...

PessoaAction action = new PessoaAction();
applicationContext.getAutowireCapableBeanFactory().autowireBeanProperties(action, AUTOWIRE_BY_NAME, false);


André Faria escreveu:
Someone test use struts 2 wildcards?

Like:
<action name="rede.*" class="br.com.bluesoft.tec.web.action.cadastro.RedeAction" method="{1}"/>

how to declare in a the action in RedeActionTest to Spring inject it.
I tried

private RedeAction redeAction;
setRede...

but thats didnt works....

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to