What would be the best way to go about creating a “processing” page with Mach II (besides going with jQuery)?
I have a couple of long running stored procedures and want to display a “processing” page to the user while the procedures are running in the background.
Basically, I’m firing a method in a listener that calls two procedures:
<cfscript>
Arguments.event.setArg(‘processingMsg’, ‘Some text here’);
announceEvent(‘billing.processAssmt’, arguments.event.getArgs());
billObj.proc1(Some Args);
billObj.proc2(Some more Args);
redirectEvent(‘billing.budgetSummary’);
</cfscript>
Billing.processAssmt is a private event that calls the processing page and the layout sub-routine. When I change billing.processAssmt to public and load it directly it displays correctly, but when it is run through the listener it doesn’t display at all. However the procedure calls do run but the redirectEvent doesn’t seem to fire and I end up with a blank page.
Thanks,
Jordan