Hi Adam, This is what I am doing too. Every action may have one or more forwards. like time-out forward, success forward, cancel forward and any other action specific forwards. There are common global forwards which maps common local forwards like "failure".
I guess you will have to define generic screen flow for all the modules. I have like: search view (Read only) Edit Delete Delete Confirm Add child record from a list. Add new child record (with some input fields) Remove child record (just detach child from this record) Remove child record from system All your modules may not need all these, but you may use one of the combinations.. .anil Adam Sherman wrote: > On 04/03/03 19:04:20 -0800 Craig R. McClanahan wrote: > > > If you are willing to ensure that all your Actions use the same forward > > name, you don't have to do anything at all to accomplish this goal. When > > you call ActionMapping.findForward(), Struts checks the local forward > > declarations first, and then the globals. So, if you say: > > > > return (mapping.findForward("mainMenu"); > > > > in your doSomethingAction, since you don't have a local definition for > > this forward you will automatically be using the global one. That way, > > you only have to change one path if the URI of the page to be executed > > changes. > > I am using this idea for some projects. > > My issue is that I want to be able to map "standard" results to various > pages. I've been using ActionMessages to give feedback to the user instead > of forwarding to a seperate "thank you" style page. > > So, for example, many of my actions forward back to the "list" page after > putting something informative in the ActionMessages. If the page authors > decide that some action needs to be forwarded to a specific page on > "failure", I want them to be able to simply change the "failure" forward to > something else. > > Would this be difficult to implement? > > Thanks, > > A. > > -- > Adam Sherman > Tritus CG Inc. > http://www.tritus.ca/ > +1 (613) 797-6819 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]