Re: action chaining without resetting action forms

2001-12-10 Thread Volker Krebs
Ted Husted wrote: Volker Krebs wrote: I'm intrested, can you please post a patched JAR. We are doing some Action chaning in our application. OK, see http://husted.com/struts/resources/invoke.zip Sorry, but with your patched struts.jar my Application won't deploy. NoClassDefFoundError:

Re: action chaining without resetting action forms

2001-12-10 Thread Volker Krebs
Hello Ted, If anyone is interested, I can post a patched JAR. But then they really, really need to tell me that it works, or else this will never be committed. I've finally managed to test it. I had to integrated in the newest nightly build, because we are using some new tags. But after

Re: action chaining without resetting action forms

2001-12-09 Thread Paul Devine
] Sent: Thursday, December 06, 2001 2:56 AM Subject: Re: action chaining without resetting action forms Hi Paul, I have a similar Problem. From a link I invoke Action1 whichn sendes a Form to the Browser. With a submit on this form I am invoking Action2. In the Action2Form I am validating

Re: action chaining without resetting action forms

2001-12-07 Thread Peter Pilgrim
EST Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject: Re: action chaining without resetting action forms When you forward to a JSP, the original ActionForm and ActionMapping are left alone. As it stands, when you forward

RE: action chaining without resetting action forms

2001-12-07 Thread Cakalic, James P.
and guidance. Best regards, Jim Cakalic -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 6:52 PM To: Struts Users Mailing List Subject: Re: action chaining without resetting action forms When you forward to a JSP, the original ActionForm

Re: action chaining without resetting action forms

2001-12-07 Thread Ted Husted
Cakalic, James P. wrote: Now my intent would be that ViewActions are not typically the direct targets of posts. They are only ever forward targets from other Actions. As a consequence, I would not specify an ActionForm in the mapping for a ViewAction. If I understand your comments correctly,

RE: action chaining without resetting action forms

2001-12-07 Thread Cakalic, James P.
Ted Husted wrote: Personally, I'd think in terms of putting whatever you have in mind for an Action into a servlet, so that it is not coupled directly with Struts. I have been working with the Velocity team on finishing the work Geir started last spring. We should have an improved

Re: action chaining without resetting action forms

2001-12-07 Thread Ted Husted
Cakalic, James P. wrote: Okay. Sounds like an interesting possibility. I guess I should monitor the Velocity site/mail list for this announcement? Thanks again. I'm sure I would bring it up here. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. --

Re: action chaining without resetting action forms

2001-12-06 Thread Ted Husted
The best solution here is to use add a switch to your bean to make its properties immutable.  private boolean immutable = false; public void setImmutable(boolean immutable) {  this.immutable = immutable; } // ... public setProperty(String property) { if (immutable) exit;

Re: action chaining without resetting action forms

2001-12-06 Thread Volker Krebs
Hi, For the nightly build, I've suggested that we add two new methods so that one Action can invoke another, but need some people to test the idea for me. (Since I don't do this sort of thing myself.) If anyone is interested, I can post a patched JAR. But then they really, really need to

RE: action chaining without resetting action forms

2001-12-06 Thread Cakalic, James P.
really need to know what they are and how they can be addressed. Best regards, Jim Cakalic -Original Message- From: Volker Krebs [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 6:59 AM To: Struts Users Mailing List Subject: Re: action chaining without resetting action forms

Re: action chaining without resetting action forms

2001-12-06 Thread Ted Husted
When you forward to a JSP, the original ActionForm and ActionMapping are left alone. As it stands, when you forward to another Action, the ActionServlet uses the same processing cycle it used for the first Action. If an ActionForm is specified by the mapping, the ActionServlet will try to

Re: action chaining without resetting action forms

2001-12-06 Thread Ted Husted
Volker Krebs wrote: I'm intrested, can you please post a patched JAR. We are doing some Action chaning in our application. OK, see http://husted.com/struts/resources/invoke.zip -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 --

action chaining without resetting action forms

2001-12-05 Thread Joe Faith
Hi, I want to 'chain' actions, by setting the forward of one to be 'my_action.do' The problem is that this resets the action form before calling the next action. Is there anyway to prevent this, or am I chaining actions in the wrong way? thanks -- Joe Faith http://www.runtime-collective.com T:

Re: action chaining without resetting action forms

2001-12-05 Thread Paul Devine
- From: Joe Faith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 11:54 AM Subject: action chaining without resetting action forms Hi, I want to 'chain' actions, by setting the forward of one to be 'my_action.do' The problem is that this resets the action form