Hi
I'm having trouble with the following line in my XML config file.
<redirect url="/trees/" args="tree_id=4" />
It redirects to "/trees/" but it is not appending "tree_id=4".
>From what I've read in the documentation the args attribute requires
"a comma-delimited list of event args to attach to the redirect url".
It doesn't say anywhere how the name/value pairs are meant to be
passed i.e. should they be seperated by "=".
NOTE: I don't want to redirect to another event, I want to redirect to
a URL.
Once I solve this I need help working out how to pass a dynamic value
for the tree_id, something along the lines of:
<notify listener="MyListener" method="saveTree" resultArg="tree_id" />
<redirect url="/trees/" args="tree_id={resultArg.tree_id}" />
Cheers
Matthew
--~--~---------~--~----~------------~-------~--~----~
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
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets:
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/
-~----------~----~----~----~------~----~------~--~---