No, you shouldn't need to. Does it call getModel on your first action and setModel on 
your second? If it's not named model, then you need to make sure the properties have 
the same name...

> -----Original Message-----
> From: Patrick Holzmann [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, November 26, 2003 1:23 PM
> To: [EMAIL PROTECTED]
> Subject: AW: [OS-webwork] Passing model from one action to another
> 
> 
> I tried. now it does call the setter in the sceond action but 
> for some reason with anull object value. The object is ok 
> though when leaving the first action.
> 
> Do i have to use the ModelDriven interface in order to do 
> this? What else could I be doing wrong?
> 
> -----Ursprüngliche Nachricht-----
> Von: Jason Carreira [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 26. November 2003 18:14
> An: [EMAIL PROTECTED]
> Betreff: RE: [OS-webwork] Passing model from one action to another
> 
> 
> Did you try using the ChainingInterceptor? It will copy your 
> properties from the first Action to the second... If they 
> both have a getModel/setModel it will be copied...
> 
> > -----Original Message-----
> > From: Patrick Holzmann [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, November 26, 2003 12:01 PM
> > To: [EMAIL PROTECTED]
> > Subject: [OS-webwork] Passing model from one action to another
> > 
> > 
> > hi all,
> > 
> > first of thanks to jason again who helped me with my problem
> > before (simply using ServletDispatcher). now i have a new 
> > one: is it possible (and if so how) to pass a model used in 
> > action1 to action2? both actions are chained together but i 
> > just don't know if i can use the model from the action1 
> > inside action2 (i suppose from jsp would work because it's 
> > pushed to the valuestack - but what about action?)...
> > 
> > thanks for any help
> > p
> > 
> > 
> > -------------------------------------------------------
> > This SF.net email is sponsored by: SF.net Giveback Program.
> > Does SourceForge.net help you be more productive?  Does it 
> > help you create better code?  SHARE THE LOVE, and help us 
> > help YOU!  Click Here: http://sourceforge.net/donate/ 
> > _______________________________________________
> > Opensymphony-webwork mailing list 
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> > 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to