Thx Jake, but I am using farCry 4 Beta 2 so the paths are actually correct.
On 4/4/07, Jake Churchill <[EMAIL PROTECTED]> wrote: > > Here's my thought... I put this on my server and found that your paths > were incorrect for the imports (on my 3.0.2 install of FC). I changed > them to: > > <cfimport taglib="/farcry/fourq/tags/" prefix="q4"> > <cfimport taglib="/farcry/farcry_core/tags/display/" > prefix="display"> > <cfimport taglib="/farcry/farcry_core/tags/widgets/" > prefix="widgets"> > > and it resolved those errors. There are other path errors, but fixing > that should help. > > Jake Churchill > CF Webtools > 11204 Davenport, Ste. 200b > Omaha, NE 68154 > http://www.cfwebtools.com > 402-408-3733 x103 > > > > Scott Stroz wrote: > > I am trying to create a Custom Rule. To start, I simply copied over the > code from dmRules.cfc and replaced any reference to dmNews with the name > of my new content type, and deploy the rule. > > This all works fine, right up until I try to save the rule for a > container. The rule does get saved, but information, like 'intro' do nut > get saved. After looking at the debug information, I noticed that the query > looks something like this: > > 'INSERT INTO DBO.ruleRates ( objectID , numItems , suffix , label , > metadata , bMatchAllKeywords , numPages , displayMethod , bArchive , intro ) > VALUES ( BC1E4C10-0C42-96F1-F0FE00EE2DF2165C , > BC1E4C10-0C42-96F1-F0FE00EE2DF2165C , BC1E4C10-0C42-96F1-F0FE00EE2DF2165C , > BC1E4C10-0C42-96F1-F0FE00EE2DF2165C , BC1E4C10-0C42-96F1-F0FE00EE2DF2165C , > BC1E4C10-0C42-96F1-F0FE00EE2DF2165C , BC1E4C10-0C42-96F1-F0FE00EE2DF2165C , > BC1E4C10-0C42-96F1-F0FE00EE2DF2165C , BC1E4C10-0C42-96F1-F0FE00EE2DF2165C , > BC1E4C10-0C42-96F1-F0FE00EE2DF2165C )' > > or sometimes this: > > 'UPDATE dbo.ruleRates SET numItems = 10 ,suffix = 10 ,label = 10 ,metadata > = 10 ,bMatchAllKeywords = 10 ,numPages = 10 ,displayMethod = 10 ,bArchive = > 10 ,intro = 10 WHERE objectID = 10' > > One thing I did notice when updating the rule is that whatever value is > set for 'numItems' gets set for every column (In the above example, I set > the form filed for 'Number of Items' to 10. > > Here is the dump of stObj that is being passed to fourQ: > > struct > BARCHIVE 0 > BMATCHALLKEYWORDS 0 > DISPLAYMETHOD displayTeaserRates > INTRO Rate intro > LABEL (incomplete) > METADATA [empty string] > NUMITEMS 56 > NUMPAGES 1 > OBJECTID BC1E4C10-0C42-96F1-F0FE00EE2DF2165C > SUFFIX rate suffix > TYPENAME ruleRates > > I should not that the News rule, which this is copied from, works as > expected. I have also attached the CFC. > > Can anyone point me to what I am doing wrong? I am certain it is something > really stupid. > > Thanx in advance! > > -- > Scott Stroz > Senior Developer > AboutWeb, LLC > http://www.aboutweb.com > > > > > -- Scott Stroz Senior Developer AboutWeb, LLC http://www.aboutweb.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
