Just in case you were wondering, all of our routes work fine except for the args issue.
Thanks. On Jun 29, 5:02 pm, Po <[email protected]> wrote: > The strange thing is that this was all working with regular urls (not > routes). > But regardless, if I do <property name="redirectPersistScope" > value="cookie" />, > I get the following error: > > The redirect persist feature cannot access the session scope because > it has not been enabled in your application. > The sesion scope is used by default, however it is configurable if you > have disabled the session scope in your application. Add (or change if > already defined) the 'redirectPersistScope' property to your XML > configuration file with a value of 'application' or 'server.' > > We have been using the session scope with this app with no problem, so > I am not sure to what this is referring. > > As far as the regular args attribute is concerned, if I do <redirect > event="validateAddress" args="address_id,step,nextRoute,editRoute" />, > it works fine. As soon as I change it from event to route, and > specify the corresponding created route as follows: > <redirect route="validate" args="address_id,step,nextRoute,editRoute" />, it > stops working. The event parameters do not even show up in the > > URL. > I am using the rewriteConfigFile built in to the framework to setup > the rewrite rules. > > Please let me know if I am doing something wrong or if this is a > possible bug. > > On Jun 29, 1:32 pm, Kurt Wiersma <[email protected]> wrote: > > > > > For the persistArgs to work you need to specify the persistArgs > > storage property to be "cookie" instead of the default of session. I > > think from our team Mach II test app that args should be working with > > routes. Can you post an example of how you have it configured and how > > you are calling the redirect? > > > --Kurt > > > On Tue, Jun 29, 2010 at 10:29 AM, Po <[email protected]> wrote: > > > It seems that when I am using a route and try to also use the args > > > attribute/paremeter (either in the command or method), it just does > > > not work. I believe the same issue is happening with persistArgs, but > > > have not tested enough to be 100% sure. > > > > Any ideas? > > > > Thank you. > > > > -- > > > You received this message because you are subscribed to Mach-II for CFML > > > list. > > > To post to this group, send email to > > > [email protected] > > > To unsubscribe from this group, send email to > > > [email protected] > > > For more options, visit this group > > > athttp://groups.google.com/group/mach-ii-for-coldfusion?hl=en > > > > ***New URLs as of April 29th, 2010*** > > > SVN:http://svn.mach-ii.com/machii/ > > > Wiki / Documentation / Tickets:http://trac.mach-ii.com/machii/ -- You received this message because you are subscribed to Mach-II for CFML list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en ***New URLs as of April 29th, 2010*** SVN: http://svn.mach-ii.com/machii/ Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/
