On Aug 8, 6:36 am, "Derek Westfall" <[EMAIL PROTECTED]> wrote:
> When populating request.aInvocations I see two approaches:
>
> 1) Code that uses cfsavecontent, gets the webskin output for the selected
> objects and adds HTML to the request.aInvocations array
> 2) Code that adds the object ids and display methods to the
> request.aInvocations array
>
> #1 seems to be faster, but I suspect the negative is that changes to a
> selected object may not trigger an object webskin cache update as it would
> with approach #2? Is that the rub?
>
> I see #1 being used in the ruleChildLinks rule.

Its a historical thing.  #3 is probably the most common modern
approach to populating the container.

#3 Use a webskin
  a) Create a folder called ./webskin/ruleMyRuleName
  b) Add an execute.cfm file; no need to think about
request.aInvocations

See Image Gallery Rule for a short example:
http://docs.farcrycms.org:8080/confluence/display/FCDEV40/Image+Gallery+Rule

Hope that helps,

-- geoff
http://www.daemon.com.au/


--~--~---------~--~----~------------~-------~--~----~
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