[Fwd: HELP with switching modules in Struts 1.2.x]

2006-12-07 Thread robin bajaj
Please ignore my previous mail. I found the issue. I was trying to forward from a local forward to a global forward. I started forwarding to the global forward directly and everthing started working fine. thanks, robin --- Begin Message --- Hi All, I am trying to switch modules in Struts 1.2.

HELP with switching modules in Struts 1.2.x

2006-12-07 Thread robin bajaj
Hi All, I am trying to switch modules in Struts 1.2.x webapp using a global forward. Here's the global forward path="/MODULE2/action.do" redirect="true"/> Here's the action Mapping that wants to switch to MODULE2 when an actionForward "toAccMain_CustomerProfilePage" is returned by "Process

Re: Switching modules

2004-11-22 Thread Bill Siggelkow
o use something like switching modules functionality in 1.1. So I am trying out this sample. This sample uses input.jsp to get a name and send this information to an ejb and ejb decides if the given person is a member or a non member(hard coded). Once the ejb gets back to the action with a Boolean

Switching modules

2004-11-21 Thread Gopinathan,Sekar
realized that we have to use something like switching modules functionality in 1.1. So I am trying out this sample. This sample uses input.jsp to get a name and send this information to an ejb and ejb decides if the given person is a member or a non member(hard coded). Once the ejb gets

Re: Switching Modules and Request Processors

2004-11-16 Thread Susan Bradeen
On Tue, 16 Nov 2004 12:39:09 -0500, Jeff Beal <[EMAIL PROTECTED]> wrote: > If you're using a basic hyper-link to switch from moduleA to moduleB, > you can use the module attribute of the tag to avoid all of > the SwitchAction rigamarole. ( module="moduleB">LINK TEXT should do the trick) I don't

Re: Switching Modules and Request Processors

2004-11-16 Thread Susan Bradeen
On Tue, 16 Nov 2004 12:22:08 -0500, Bill Siggelkow <[EMAIL PROTECTED]> wrote: > I believe your observations are correct. If you want to avoid the > "special features" you could conditionally skip them if the request is a > SwitchAction to the new module ... just one idea. > Ok, thanks for the c

Re: Switching Modules and Request Processors

2004-11-16 Thread Jeff Beal
If you're using a basic hyper-link to switch from moduleA to moduleB, you can use the module attribute of the tag to avoid all of the SwitchAction rigamarole. (LINK TEXT should do the trick) I don't believe this will involve the request processor for moduleA in any way. Unfortunately, the

Re: Switching Modules and Request Processors

2004-11-16 Thread Bill Siggelkow
I believe your observations are correct. If you want to avoid the "special features" you could conditionally skip them if the request is a SwitchAction to the new module ... just one idea. Susan Bradeen wrote: I have a Struts application that uses a custom request processor. Now I am trying to

Switching Modules and Request Processors

2004-11-16 Thread Susan Bradeen
I have a Struts application that uses a custom request processor. Now I am trying to add a module so that I have part of the app using the standard request processor. The custom request processor makes checks on things I don't want checked when entering into my second module. Is it true that in ord

Re: Q: Switching Modules

2004-10-10 Thread jean kon-sun-tack
> Maybe I missed a bit, but do you not always have page flow coded in JSP AND Action > classes? This should be the exception ! Not the rule. > In the action the server decides what to do with user input and what page to go next. No. The action just says success, error or whatever return c

RE: Q: Switching Modules

2004-10-08 Thread Hiran.Chaudhuri
Mailing List > Subject: Re: Q: Switching Modules > > None of the 4 ways described in the user guide suits me... > > 1- Using means > page flow is coded in JSP > > 2- Using ActionMapping means you are coding a Action class > > 3- Using global-forwards means you are codin

Re: Q: Switching Modules

2004-10-08 Thread jean kon-sun-tack
None of the 4 ways described in the user guide suits me... 1- Using means page flow is coded in JSP 2- Using ActionMapping means you are coding a Action class 3- Using global-forwards means you are coding a Action class or referencing it in a html:link => hard coded page flow in JSP 4- Using

Re: Q: Switching Modules

2004-10-04 Thread Jeff Beal
jean kon-sun-tack wrote: In my "companyList" screen I have a cancel button (/companyList/cancel.do). In moduleA-struts.xml, why can't I have something like : I want my page flow configured in my xml config files, not in my JSPs by doing : Is there another way to do that ? Thanks. Jean. http

Q: Switching Modules

2004-10-02 Thread jean kon-sun-tack
In my "companyList" screen I have a cancel button (/companyList/cancel.do). In moduleA-struts.xml, why can't I have something like : I want my page flow configured in my xml config files, not in my JSPs by doing : Is there another way to do that ? Thanks. Jean.