http://trac.mach-ii.com/machii/wiki/Documentation#Filters

See article listed in this section. How do I execute a subroutine from an
event filter?
On Jul 2, 2011 4:55 PM, "Guillermo" <gcruz1...@gmail.com> wrote:
> Okay the documentation states "You can execute subroutines from
> plugins and filters,...".
> The problem is I cant seem to figure out how. So when you stop
> laughing please show an example. with filters of course I use the
> pass, fail event parameter but what I am really trying to do is this.
>
> This is the subroutine I want called but only if it is a specific
> page.
> <execute subroutine="getButtonURL" />
>
> What I am attemting is something like this, but how do I replace this
> event-mapping call with a call to a subroutine that the filter can
> execute?
> <event-mapping event="pass" mapping="getButtonURL" />
> <filter name="isSpecificPage" />
> <view-page name="formSectionBegin" contentArg="formHeader"
> append="true" />
>
> Ultimately I want the filter to check if this is a specific page and
> if it is then get the button URL if not just flow into the veiw page
> call.
>
> Please let me know if I am off in left field or the correct way to do
> something like this.
>
> --
> To post to this group, send email to
mach-ii-for-coldfusion@googlegroups.com
> For more options and to unsubscribe, visit this group at
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
>
> SVN: http://svn.mach-ii.com/machii/
> Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/

-- 
To post to this group, send email to mach-ii-for-coldfusion@googlegroups.com
For more options and to unsubscribe, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en

SVN: http://svn.mach-ii.com/machii/
Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/

Reply via email to