Container binding between pages happens on the container's "label" attribute.Ideally I'd like to make the rule / container *always* be associated with the rule. How do I do this?
What you probably have is a container declaration in your template resembling something like:
<con:container label="#stobj.objectID#objectbox">
Because this has #stobj.objectID# prepended to the label string it makes the container specific to that object's id.
To create a shared container just remove the #stobj.objectID# - for example: <con:container label="sharedbox">
Any other container in any other template that uses the same label value will have the same publishing rules applied to it.
Also a tip regarding container naming...
When displaying the container names to the user in the browser, FarCry doesn't display anything before (and including) the last underscore character of the container's label in Design Mode. This allows you to have a container labelling structure while keeping the UI clean.
For example you could have the following in one of your object's templates:
<div id="header"> <con:container label="headers_sharedbox"> </div> <div id="body"> <con:container label="body_sharedbox"> </div> <div id="footer"> <con:container label="footer_sharedbox"> </div>
When the FarCry user goes into Design Mode the container labels will all just display "sharedbox". The containers are all still completely separate and this is purely cosmetic. Choose your names wisely and it will make things much easier for the user.
HTH
-- tim
www.toolmantim.com
--- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
