Allows setting of MiniVend actions, usually with a Perl subroutine of your choice. Actions are page names like:
process Perform a processing function order Order items scan Search based on path info search Search based on submitted form variables
These are the standard supplied actions for MiniVend. You can overwrite them with your own version if you wish. For instance, if you wanted to ignore the order action, you could do:
ActionMap order sub { return 1 }
When the leading part of the incoming path is equal to order, it will trigger your action. The page name will be shifted up, and the order stripped from the page name. So this custome order action would essentially perform a no-op, and a URL like:
<A HREF="[area order/nextpage]"> Go to the next page </A>
would be the equivalent of ``[area nextpage]''. If the action does not return a true (non-zero, non-blank) status then no page will be displayed by MiniVend, not even the special missing page. You can of course generate your own response if you wish via Perl or MVASP.
The standard process
action has a number of associated FormAction
settings.
Besides using Perl, you can use MML tags in an action, though that is not nearly as efficient.