One thing I was thinking of briefly - without actually considering how it
would be implemented - would be to have a secondary display method
associated with rules

I'm just throwing this up as it has kind of become relevant and may invoke
other ideas (bad bad pun!)

Basically, the purpose of this display method would be as a rule handler.
When it is called summary data about the rule would be passed to it, such
as:

 - Rule options (i.e. what the user selected when creating the rule)
 - Number of results from the rule (e.g. number of news articles)
 - ...

It allows you do things such as display "No articles were found", or to
format intro text, or whatever

The biggest hurdle I ran into initially when creating rules was that no
custom data could passed along to objects being placed into aInvocations.
Like the rule's execute() might determine some other data that would be
useful in displaying the rule but there's no easy way to generate this data
otherwise

Anyway, the intention of this was just to provoke a little thought in a
different direction for this thread

Cheers

--
Quentin Zervaas
Email: [EMAIL PROTECTED]
 
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brendan
Sisson
Sent: Wednesday, 3 March 2004 10:12 AM
To: FarCry Developers
Subject: [farcry-dev] Re: container.cfc has <p> tags

Gary Menzel wrote:

> I am working with some custom rules and have discovered that the 
> container.cfc wraps any content generated in <p>...</p> tags.


I agree this should be taken out... I just need to think a bit more as 
to how it may affect existing sites. It's not just custom rules that 
would be affected, core rules with intro text (eg news rule) should have 
been outputting this intro text via aInvocations.

-Brendan
http://farcry.daemon.com.au

---
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