Re: Setting Parameters in xwork.xml in "chain" or "redirect-action" resultt

smartr <[email protected]> Sat, 16 Dec 2006 04:02:32 CST
Newsgroups gmane.comp.java.open-symphony.webwork
Message-ID <1128707.1166263403113.JavaMail.os-j2ee@opensymphony01.managed.contegix.com>
Did you implement a
[code]void setAlert(String alert) {
this.alert = alert;
}[/code]
in the class of the home action? I'm not sure you have to, but when I am using redirect results, they also implement ParameterNameAware, which would force you to implement something like:
[code]public boolean acceptableParameterName(String param) {
	if (param.equals("alert")) return true;
	return false;
}[/code]
in the class of the home action. Hope that helps.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=53802&messageID=108134#108134

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]