use getView
<cfset oType = application.fapi.getContentType("ruleTwitterFeed") />
<cfset html = oType.getView(objectId = <the object id of a rule>,
webskin = "execute", typename="ruleTwitterFeed") />it will return the html and you can output it. You do need the objectid of an existing rule though. On Oct 14, 4:36 am, AJ Mercer <[email protected]> wrote: > Is it possible to from within a webskin to call a rule? > > something along the lines of this: > <cfset tweets = > application.fapi.getContentType("ruleTwitterFeed").execute('Latest Tweets', > 'webonix', 10) /> > > -- > > *AJ Mercer* > <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org > community="Open" /> <http://webonix.org>http://twitter.com/webonix -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
