List Info

Thread: Element Calls Within Render Handlers




Element Calls Within Render Handlers
user name
2007-10-16 14:55:10
I have created a render handler which displays a local
custom  
element, then pulls a list of related custom elements. I
need the  
list of related elements to appear amidst the data from the
first  
element, so I have included a cfmodule in my render handler
to call  
the related elements. Like this:

<!--- Render handler. Code to localize element data &
do other tasks  
omitted --->
<h3>Degree Requirements (Catalog Year
2007-2008)</h3>
<p>See the university catalog for <a href="http://www.gmu.edu/catalo
g/ 
apolicies/index.html"
target="_blank">policies governing all
majors</ 
a>.</p>
#locRequirements#
<p>Requirements may be different for earlier catalog
years.&nbsp;See  
the <a href="http://www.gmu.edu/
catalog/" target="_blank">University 

Catalog archives</a>.</p>
<h3>Concentrations:</h3>
<!--- Pull a list of concentrations that have the same
program code --->
<CFMODULE
TEMPLATE="/commonspot/utilities/ct-render-named-element
.cfm"
	ElementName="concentrationlist"
	ElementType="custom:concentration">
<h3>Director</h3>
<p>#locDirector#</p>
<!--- [etc... --->

All is well and good until I try to lock down the element
pull. I can  
bring up the element inheritance security menu, but when I
change the  
settings and submit I get an error: "Error in tables -
control  
'15864' not found in ControlInstance table."

Is there a way around this error? Or am I trying something
off-kilter  
by including an element call inside a render handler.

We are running version 4.6.3.47.

Thanks,
Danny




Danny Collier
Director of IT
College of Humanities and Social Sciences
George Mason University
dcollie2gmu.edu
Phone: (703) 993-8759



_______________________________________________
Commonspotchattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/commonspot


Brought to you by Fig Leaf Software
Premier Authorized Paperthin Consulting and Training
http://www.figleaf.com
http://training.figleaf.c
om

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )