You're saying that I added the content to the container while the HTML object was still in draft. So, even though it's published now, the container "thinks" it's associated with the draft ID (which doesn't exist in the database?) and won't display otherwise.
That sounds like a bug to me.... And, actually, I know that's not the case now that I think about it. Consider this: I have an HTML page. It's approved and published. I'm having problems with rules as described in previous messages. I remove all rules from the container. I then re add them. Should not I be able to see the rule rendering then on the published page? Unfortunately, I can't. My guess? I did something hair-brained along the way and don't know what it is or how to undo it. Any other ideas? Doug On Nov 6, 7:11 pm, Chris Kent <[EMAIL PROTECTED]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
