> -----Original Message-----
> From: Alan D. Cabrera [mailto:l...@toolazydogs.com] 
> Sent: Sunday, May 15, 2011 11:11
> To: user@struts.apache.org
> Subject: Chained actions and their properties in the value stack
> 
> I have a st of chained actions, in order A, B, C.  

FYI: http://struts.apache.org/2.x/docs/action-chaining.html

> 
> A has a getter for Foo.  B does not have a getter/setter for 
> Foo.  C has a setter for Foo.  It seems that A cannot provide 
> C the value of Foo without B also "participating" and 
> implementing a getter/setter for Foo.  Yuck.
> 
> Do I understand things correctly or have I configured my 
> chain incorrectly?

Sounds like an anti pattern to me, but you should be able to get your values
from
http://struts.apache.org/2.2.1/struts2-core/apidocs/com/opensymphony/xwork2/Acti
onContext.html#getValueStack()

Write back with more specific goals and maybe I can give more targeted advise.


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

 


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

Reply via email to