Re: dynamic forwards

2005-09-20 Thread Michael Jouravlev
Yep, you can either create a new ActionForward, or you can use wildcard mapping, if your forwarded location depends on input parameters in certain pattern: http://struts.apache.org/userGuide/building_controller.html#action_mapping_wildcards Michael. On 9/20/05, [EMAIL PROTECTED] <[EMAIL PROTECTED

Re: dynamic forwards

2005-09-20 Thread marc
sorry, figured it out..i was looking at the mapping class...but you can just create a new ActionForward with the path as the constructor arg. Marc > Hi, > > I have an Action servlet which at development time doesn't know what it's > forwards will be. They are determined at runtime (plugin type fr

Re: Dynamic forwards?

2004-09-24 Thread Hubert Rabago
Aside from the JS solution, you can also return an action forward with a modified path: // in 1.2.x ActionForward result = new ActionForward(mapping.findForward("masterJsp")); result.setPath(result.getPath() + "#XX"); return result; - Hubert On Fri, 24 Sep 2004 14:28:01 -0700, Wendy Smoak <[EMAI

Re: Dynamic forwards?

2004-09-24 Thread Wendy Smoak
From: "Tom McCobb" <[EMAIL PROTECTED]> > I would like to be able to re-position on the record last worked on. I was > thinking that appending a bookmark (keyed on the index number of the detail > item in the list) to the forward would work nicely, but I do not know how to > pass the index to the f