RE: struts2 & hibernate

2011-05-15 Thread Jason Pyeron
> -Original Message- > From: Dave Newton [mailto:davelnew...@gmail.com] > Sent: Sunday, May 15, 2011 19:31 > To: Struts Users Mailing List > Subject: Re: struts2 & hibernate > > On Sun, May 15, 2011 at 6:46 PM, Saeed Najahi > wrote: > > code that implicates hibernate and struts, the >

Re: struts2 & hibernate

2011-05-15 Thread Dave Newton
On Sun, May 15, 2011 at 6:46 PM, Saeed Najahi wrote: > code that implicates hibernate and struts, the documentation doesn't help > much unfortunatly, explanation or indication of what version of what jar is > needed isn't mentioned, Dependencies should be managed by Maven (or similar), not by han

struts2 & hibernate

2011-05-15 Thread Saeed Najahi
hello guys, plz i need some help concerning struts 2.2.3 and hibernate 3.6.3, the problem i'm having is that the jars seem to keep fighting with each other :( exceptions that stop me from even daring to write a single line of code that implicates hibernate and struts, the documentation doesn't help

Re: Chained actions and their properties in the value stack

2011-05-15 Thread Alan D. Cabrera
On May 15, 2011, at 9:23 AM, Dave Newton wrote: > On Sun, May 15, 2011 at 12:10 PM, Alan D. Cabrera wrote: >> A knows how to find/generate instances of Foo. >> B knows how to find/generate instances of Bar. >> C is an application specific Action that needs an instance of Foo and an >> instance o

Re: Chained actions and their properties in the value stack

2011-05-15 Thread Dave Newton
On Sun, May 15, 2011 at 12:10 PM, Alan D. Cabrera wrote: > A knows how to find/generate instances of Foo. > B knows how to find/generate instances of Bar. > C is an application specific Action that needs an instance of Foo and an > instance of Bar. A & B are application-specific actions too. With

Re: Chained actions and their properties in the value stack

2011-05-15 Thread Alan D. Cabrera
On May 15, 2011, at 8:25 AM, Jason Pyeron wrote: >> -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 chaine

Re: Chained actions and their properties in the value stack

2011-05-15 Thread Alan D. Cabrera
On May 15, 2011, at 8:34 AM, Dave Newton wrote: > On Sunday, May 15, 2011, Alan D. Cabrera wrote: >> I have a st of chained actions, in order A, B, C. > > Jason's correct--IMO action chaining is more trouble than it's worth, > almost always. *Three* in a chain?! What's the use case for this? Ye

Re: Chained actions and their properties in the value stack

2011-05-15 Thread Dave Newton
On Sunday, May 15, 2011, Alan D. Cabrera wrote: > I have a st of chained actions, in order A, B, C. Jason's correct--IMO action chaining is more trouble than it's worth, almost always. *Three* in a chain?! What's the use case for this? > A has a getter for Foo.  B does not have a getter/setter fo

RE: Chained actions and their properties in the value stack

2011-05-15 Thread Jason Pyeron
> -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.

Chained actions and their properties in the value stack

2011-05-15 Thread Alan D. Cabrera
I have a st of chained actions, in order A, B, C. 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 thing