Sounds about right to me.

You need to look at a Custom Rule (there is a "how to" on the FarCry
site).

A Custom Rule has two methods:

* one to edit the parameters for the rule in the container popup
* one to execute the rule to populate the request.aInvocations

And for doing what you want to do, the rulesNews.cfc (from the core) is
a good example of how to locate objects in certain categories.


Regards,
Gary Menzel


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Aidan Whitehall
> Sent: Wednesday, 10 March 2004 1:37 AM
> To: FarCry Developers
> Subject: [farcry-dev] Calendar with category-based drop-down
> 
> 
> I'm trying to create a calendar that displays events from a category
> that the user selects via a drop-down. I duplicated and renamed
> "displayTeaserCalender" and added to it a drop-down that lists those
> categories that onChange() adds "category" (the categoryid) to the
> "month" and "year" that's passed through the URL.
> 
> Then, I created a page with a container that displays the new calendar
> and set up a rule so that it displays events from any of the 5
> categories in the drop-down box.
> 
> But now I'm kinda stuck on how to get the calendar display to 
> filter to
> just the one selected. I guess you've got to get jiggy with
> "request.aInvocations[1].stEvents" somehow, so that it's only 
> populated
> with events that are associated with "url.category", but I'm not sure
> where to start.
> 
> Can anyone offer any pointers? No need for chapter and verse -- would
> just be grateful for a shove in the right direction (am I even going
> about it the right way?)
> 
> 
> Thanks
> 
> -- 
> Aidan Whitehall <mailto:[EMAIL PROTECTED]>
> Macromedia ColdFusion Developer
> Fairbanks Environmental Ltd  +44 (0)1695 51775
> Queen's Awards Winner 2003 <http://www.fairbanks.co.uk/go/awards>
> 
> Fairbanks uses anti-spam filtering. If you sent an e-mail and expected
> to receive a response but didn't, please call -- it may be that your
> e-mail didn't make it to the intended mailbox.
> 
> ______________________________________________________________
> __________
> This e-mail has been scanned for all viruses by Star Internet. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ______________________________________________________________
> __________
> 
> ---
> You are currently subscribed to farcry-dev as: 
> [EMAIL PROTECTED]
> To unsubscribe send a blank email to 
> [EMAIL PROTECTED]
> 
> MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
> http://www.mxdu.com/ + 24-25 February, 2004
> 


---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to