relocator Mach-II filter
Place relocator.cfc in the MachII filters folder. Place this in the Mach-II configuration file:
<event-filter name="relocator" type="MachII.filters.relocator" />
When you want to relocate to a Mach-II event place this in your event-handler:
<filter name="relocator"> <parameter name="event" value="event_to_relocate_to" /> <parameter name="conditionalEventArg" value="name_of_event_arg_to_check" /> <parameter name="eventArgsToPass" value="list_of_event_args_to_pass_as_query_string" /> </filter>
This will cflocate to event_to_relocate_to with the event arguments specified in list_of_event_args appended to the URL if name_of_event_arg evaluates to true.
This filter is very useful if you need to announce an event after a form submission but do not want the user to be able to reload the page and post the form again.

October 14th, 2004 at 8:37 pm
Great idea! Elegant way to solve the refresh problem.
October 30th, 2004 at 4:15 pm
Thanks! One note: Using IE 6.0 on Win2K, I can’t select any of the text in the boxes…
October 31st, 2004 at 12:50 pm
Dave: I know about this issue. Apparently, this IE 6 “bug” happens when you use absolute or relative positioning for the container. I have looked into this issue and will probably fix it in the next batch of changes to this site.