Well, thanks to Russell I now have a hacked version of the
basicschedulerule files that allow me to specify the types and methods 
I want available for each container.

However, my question now is: How can I find out which container I am
associated with from within the edit handler of my publishing rule?

I.e. I have the edit method displayed in the middle frome of the popup
container editor window - how can I relate the container ID to the
rule ID?

I have found that for containers that I have already edited and hit the
'apply' button that this can be found in the structure of the container
object under aRules[1].objectid but what about 'fresh' containers that
haven't had a rule applied yet?

Many thanks,

-T.

On Fri, 17 Aug 2001, Tristan Roddis wrote:

> Does anybody have any good ideas for how I can constrain what object types
> and methods a site administrator can drop in to a container?
> 
> My current best guess is a) create a publishing rule that has an edit
> method that only allows a certain type or types to display in the
> selection (read from where? set this in the request space on the page that
> has the container?) followed by b) set the lAvailableRuleTypeIDs and
> lDefaultRuleTypeIDS parameters of the relevant cfa_container to force the
> application of this rule.
> 
> However, I'd be very grateful if anyone knows of either an easier way to
> do this or has edit/execute code for a rule that will work similarly to
> that mentioned above to save me writing it from scratch.
> 
> Thanks,
> 
> -T.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to