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

dynamic forwards

2005-09-20 Thread 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 framework is used). Is there anyway i can forward to views from the action servlet being defined at run time? i tried using the request dispatcher's forward(

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

Dynamic forwards?

2004-09-24 Thread Tom McCobb
I have a scrollable div section on a page displaying detail records. If certain fields on the record are manipulated, I call an update action. When the screen refreshes after the update, the display always repositions on the first record in the div section. If someone is working at the bottom of