Hi Mike

You don't call the display method from the rule's execute method. In execute
you do whatever it is that generates all the rule content (e.g. select the
articles from the news table) and add each one to the aInvocations array.
FarCry will take care of the rest

Have a look at the core rules to see how they do this

Cheers

--
Quentin Zervaas
Email: [EMAIL PROTECTED]
 
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Britton
Sent: Monday, 1 March 2004 5:49 AM
To: FarCry Developers
Subject: [farcry-dev] Basic way to call displaymethod from Rule

Sorry about my newbie questions.  Can someone post the most basic, bestest
way to call a display method from a rule's execute method?  I'm seeing
different things like display code in rules and other ways of doing this;
I want to move ALL my display code out of my rules' execute methods and
into display methods.  Once again I'm really looking for best practices in
a simple rule execute method example.

Thanks in advance,

Mike





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