Doug,

I have just tried your code on a dev site and it works - i see the
text from the execute.cfm

I am guessing here, but have you applied the rule to a container in a
draft version of the html page and the container is named using the
objectID of the html object. Therefore the rule is only run when you
use showdraft=1

Chris.


On Nov 6, 11:40 pm, Doug Hughes <[EMAIL PROTECTED]> wrote:
> Done it with no luck, unfortunatly.  Restarted CF too with the same
> results.
>
> Any other ideas?
>
> Doug
>
> On Nov 6, 3:01 pm, Chris Kent <[EMAIL PROTECTED]> wrote:
>
> > Doug,
>
> > After you have deployed a new rule or added/changed the fields to
> > refine the rule selection etc. you will need to do an updateapp=1
>
> > Chris.
>
> > On Nov 6, 5:44 pm, Doug Hughes <[EMAIL PROTECTED]> wrote:
>
> > > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to