Thanks.  Worked like a charm. Helps to read the api huh!  

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Peter J. Farrell
Sent: Tuesday, August 25, 2009 9:53 PM
To: [email protected]
Subject: [Mach-II] Re: Dynamic view-page requests


Use the displayView() method available in the eventContext which is 
passed into the filterEvent() method in your filter.  Pay special 
attention to the total number of arguments and the order of the 
arguments to pass in.  Here is the API:

http://www.mach-ii.com/cfcdocs/1-6-0/MachII.framework/MachII.framework.EventContext.html#displayView



Chuckd said the following on 08/25/2009 07:48 PM:
> I'm sure this is simple but I am not grasping how to dynamically do a
> view-page from a filter.
> I have an event=foo.bar.edit that I want to dynamically load a page
> based on an event-arg...I do not want to have to create events
> foo.bar.edit1, 2 , 3, etc...where the only difference is the view-page
> at the bottom of the event.  I know I use a filter but how do I append
> the page dynamically in the filter?  is it viewPage() ?
>
> Thanks.
>
> >
>   


 

__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 4367 (20090825) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
  

__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 4368 (20090826) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
  

__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 4370 (20090826) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
  

__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 4371 (20090826) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
 

__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 4371 (20090826) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to Mach-II for CFML list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets: 
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/
-~----------~----~----~----~------~----~------~--~---

Reply via email to