You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by RogerV <ro...@googlemail.com> on 2010/05/03 16:49:45 UTC
Convention plugin - passing parameters
Could somone suggest why this works
@Result(name="identify", type="redirectAction",
location="connect",params={"reference","%{serialNumber}"})
and this doesn't
@Result(name="identify", type="chain",
location="connect",params={"reference","%{serialNumber}"})
and what I need to do to get the chain to work (I don't want the value of
serialNumber to appear in the URL which is what happens if I use
redirectAction).
I've got a getSerialNumber() method in the action this annotation is in, and
a setSerialNumber() method in action Connect. Debugging shows that
Connect.setSerialNumber() is called when using redirectAction, but it;s not
when using chain.
Regards
--
View this message in context: http://old.nabble.com/Convention-plugin---passing-parameters-tp28436056p28436056.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org