Hey all -
I have this site I'm working on. It's fairly simple. However, none
of my rules seem to be working correctly. Specifically, let's say I
have an HTML page and I want to add a custom rule to a container on
that page. Well, I've added it. There are no options to configure
for this rule. Furthermore, the execute.cfm file only shows the word
"test".
If I view the page with this rule on I do not see the rule rendered.
It's not in the HTML at all. No errors in HTML or displayed
otherwise. If I select to Show Draft I do see the rule rendered. If
I add debug=1 to the URL I see this message: Element ruleAllergenForm
is undefined in a CFML structure referenced as part of an expression.
ruleAllergenForm is the rule name.
Any ideas what's going on? The HTML pages in question are all
approved and published. There are no drafts for it in the database.
I'm stumped. Am I doing something wrong?
Here's the rule CFC:
<cfcomponent displayname="Allergen Form"
extends="farcry.core.packages.rules.rules"
hint="This rule shows the Allergen form."
bObjectBroker="1" lObjectBrokerWebskins="execute">
<!--- <cfproperty
ftSeq="1"
ftFieldset="General"
name="displayMethod"
type="string"
hint="Display teaser method to render individual items."
required="true"
default="displayEntries"
ftType="webskin"
fttypename="agBlogEntry"
ftprefix="displayBlogEntries"
ftLabel="Display Method" />
--->
</cfcomponent>
Here's the execute.cfm:
<cfsetting enablecfoutputonly="true"/>
<cfoutput>test</cfoutput>
<cfsetting enablecfoutputonly="false" />
Any help would be appreciated.
Doug
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"farcry-dev" group.
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/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---