yeah the argument passed was the primaryid (objectid) of the Rule so I had just used that to look up the parent that the rule was contained on by using this query in my custom method
SELECT b.objectid FROM container_aRules a INNER JOIN refContainers b ON b.containerid = a.parentid WHERE a.data = (<cfqueryparam cfsqltype="cf_sql_varchar" value="#arguments.primaryID#" />) there may be an easier way... but this worked for me On May 22, 12:25 pm, Jeff Coughlin <[email protected]> wrote: > Neil, > > I "think" that the object's info might already be available as an > argument (maybe arguments.stProperties?). I'm probably wrong, but try > doing a <cfdump var="#arguments#" /> in the method to see if you get > anything (remember to set output="true" on both the method and the > object). > > Regards, > > -- > Jeff Coughlin > Web Application Developerhttp://jeffcoughlin.com > > On May 21, 2009, at 5:35 PM, Neil wrote: > > > > > I am wondering if you can pass arguments into the method specified in > > the ftLibraryData when using it inside a Rule. > > > was thinking this would work but does not... > > > ftLibraryData="getNetworkInstitutionChannels > > (primaryID=request.stobj.objectid)" --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
