Hi Mike,

Based purely on what you wrote in this second post, I'd recommend the
following...

Firstly, when viewing the page that uses your custom rule, append &debug=1
to the URI to see if any errors are being generated

Secondly, if you check rules like news.cfc you'll see they add the object to
the aInvocations array, rather than calling the getDisplay() method
directly.

When FarCry kicks into action for showing results from your rule, it
basically loops over aInvocations and loads the object accordingly and then
displays it

The other thing to consider is maybe the rule isn't generating any results
and hence no display methods would be called

Cheers

--
Quentin Zervaas
Email: [EMAIL PROTECTED]
 
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Britton
Sent: Wednesday, 25 February 2004 7:28 AM
To: FarCry Developers
Subject: [farcry-dev] Re: displayTemplate doesn't display

Some clarification on the above post.

Custom rule:
<applicationName>/packages/rules/ruleNTPSidebar.cfc

Display method:
<applicationName/webskin/NTPSidebar/displayTeaserNTPSidebar.cfm

In my update function I create an array from query results, and pass it:

<cfscript>
        o = createObject("component",
"#application.custompackagepath#.rules.NTPSidebar");
        o.getDisplay(sideAr, stObj.displayMethod);      
</cfscript>

What am I doing wrong??


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