Quoting Frank Febbraro <[EMAIL PROTECTED]>: > Ok I see what is going wrong. > > the view result is: > redirect.action?url=somthing?param1=value1¶m2=value2 > > What is happening is that it interprets redirect.action as having 2 > parameters > > 1) url=somthing?param1=value1 > 2) param2=value2 > > not sure how to fix it yet...any ideas... > > The only workaround I can see now is to handle the redirect by hand in the > action instead of usign a view mapping
One ugly hack would be to use a URL like this: redirect.action?&url=somthing?param1=value1¶m2=value2 Jérôme. > ----- Original Message ----- > From: "Frank Febbraro" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, February 19, 2004 11:04 AM > Subject: Re: [OS-webwork] Dynamic View Mapping > > > > If you use & it causes a parsing exception in the actions.xml file. > > > > I also determined that it has nothing to do with dynamic mappings, even if > > both parameters are hardcoded the second one still gets left off. > > > > Will do some investiagtion, and possibly hack a workaround if I can't find > > the bug. > > > > Stay tuned... > > > > ----- Original Message ----- > > From: "Hani Suleiman" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Thursday, February 19, 2004 10:45 AM > > Subject: Re: [OS-webwork] Dynamic View Mapping > > > > > > Did you try just using & instead of &? > > > > If that doesn't work, then file a bug (I vaguely remember having > > problems with this previously too) > > > > On Feb 19, 2004, at 10:25 AM, Frank Febbraro wrote: > > > > > Using WW 1.4 > > > > > > I am trying to setup a dynamic view mapping as specified here: (this > > > redirects to a section of the app that is legacy) > > > > > > <action .....> > > > <command name="selectLicensingYear" > > > alias="deal!selectLicensingYear" > > > > <view > > > name="success">redirect.action?url=controller?command=viewDeal& > > > dealID=${dealID}</view> > > > </command> > > > </action> > > > > > > My action has getDealID() and that all works fine.... > > > > > > However the redirect gets sent as: > > > http://host/context/controller?command=viewDeal > > > > > > As you can see the second parameter is left off. Has anyone > > > enountered this? I tried switching the parameter ordering and the > > > second parameter is always left off. > > > > > > Any thoughts? > > > > > > Thanks, > > > Frank > > > > > > > > > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id56&alloc_id438&op=ick > > _______________________________________________ > > Opensymphony-webwork mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > > _______________________________________________ > > Opensymphony-webwork mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork