>>From what I can see this is not true. The logic seems to be:
>If you pass the ID, we assume it exists.
>If you pass the Name, it may or may not exist. If it doesn't, we make it.
>If you are making new containers on the fly, you should provide the name
>instead of the ID.
The only problem with grabbing these containers by name is that the
containers in question are shared in a template across multiple pages. I
thought that if I'm trying to re-use containers across pages that the UUID
is the best way to reference the container. So at that point, how do I make
sure that users haven't deleted a container that has been "hard-coded".
I have thrown my shared object UUID's in my Application.cfm and I then
access them from multiple pages using the request scope. Is there a way to
catch a missing container without putting extra strain on the system?
Am I just not getting the picture here?
Thanks,
Nate
-----
<!----------------------------------------------------------
| SETTING GLOBAL VARIABLES FOR SPECIAL FIXED CONTAINERS
----------------------------------------------------------->
<CFSCRIPT>
request.global = STRUCTNEW();
request.global.containerids = STRUCTNEW();
request.global.containerids.grouplink =
'9F729BCF-A87E-4855-913D2625DF482D6F';
request.global.containerids.quicklink =
'62A18178-9C22-4129-A0D7C0E7E069B16C';
request.global.containerids.stateleaguelink =
'F6AC38E6-FB1D-4EF1-9C501A2669C6D2BD';
request.global.containerids.highlights =
'B6B827B6-CE15-4DA7-B8CDE5D7BA6081DB';
</CFSCRIPT>
-
Nate Smith,
Lead Developer
[EMAIL PROTECTED]
www.doceus.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.