[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] action after submit from table-editor -- correction


Quoting Randy Moore (suppressed):
> Hi all,
> 
> Sorry, but there was an error in the example in my last message. This one 
> should be correct.
> 
> IC 4.9.7+  (recent cvs)
> 
> Is there a way to specify an action that happens *after* a successful table 
> update using the table editor tag?
> 
> I've tried various approaches, but haven't had any luck.
> 
> The most promising (I thought) was using an "mv_cleanup" action.
> 
> [set RunAfter]
> [update_stuff]
> [/set]
> 
> [table-editor
> 		blah=
> 		blah=
> 	...
>         		hidden.mv_cleanup=RunAfter
> ][/table-editor]
> 		
> The html form that this created looked good, but my [update_stuff] tag did 
> not get called.

mv_cleanup is what you want. It does work -- it is used in the UI in
a couple of cases, notably in the update order status routine.

It happens directly after the form action is executed, but before the
page is displayed. You can examine the do_process routine in Vend::Dispatch
if you want to see what happens.

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.513.523.7621      <suppressed>

Software axiom: Lack of speed kills.
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.