I'm running into a frustrating DWMX template error that I can't quite figure out. I have set up a template and I want to place a call to a ColdFusion <cfinclude> in the template's editable region.
When I go to rewrite the include (in this case simply changing "<cfinclude template="in_s_detail_xx.cfm">" to "<cfinclude template="in_s_detail_01.cfm">", I get the following error message:
"Making this change would require changing code that is locked by a template or translator. The change will be discarded."
The problem is, the code I'm trying to change is, by my eye anyway, clearly between the "InstanceBeginEditable" and "InstanceEndEditable" tags. I'm a little flustered. Any help is appreciated.
If needed, the page code is below:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"<html lang="en"><!-- InstanceBegin template="/Templates/tid_solution_detail_crossref.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>BETA -- ATTRO: Army Test & Training Requirements Online -- BETA</title>
<!-- InstanceEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="../externals/blue_mfv4.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
@import url(../externals/blue_mfv5.css);
-->
</style>
<script src="../externals/myscripts.js" type="text/javascript"></script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape"
&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
</head>
<body>
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0" summary="Layout Table">
<tr>
<td width="12" height="65"></td>
<td width="533"><table width="100%" height="7%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="../assets/blue/logo_attro.gif" alt="ATTRO Logo" width="159" height="61"></td>
<td><div align="right"><img src="../assets/blue/logo_attro2.gif" alt="Army Testing & Training Requirements Online" width="178" height="45"></div></td>
</tr>
</table></td>
<td width="12"></td>
<td width="193"></td>
</tr>
<tr>
<td id="tlcorner"><img src="../assets/blue/shim.gif" alt="" width="12" height="12"></td>
<td id="tedge"><img src="../assets/blue/shim.gif" alt="" width="12" height="12"></td>
<td id="trcorner"><img src="../assets/blue/shim.gif" alt="" width="12" height="12"></td>
<td><img src="../assets/blue/shim.gif" alt="" width="12" height="12"></td>
</tr>
<tr>
<td id="ledge"><img src="../assets/blue/shim.gif" alt="" width="12" height="12"></td>
<td valign="top" id="mn"><h1>Test Investment Database</h1>
<!-- InstanceBeginEditable name="body_text" -->
<p>
<cfinclude template="in_s_detail_xx.cfm">
<!-- InstanceEndEditable -->
</td>
<td id="redge"><img src="../assets/blue/shim.gif" alt="" width="12" height="12"></td>
<!-- Start Main Menu = Sub1 -->
<td valign="top" id="sidebar"><p class="navbuts-dn"><a href="#" tabindex="1">ATTRO
Tools </a></p><div id="sub1">
<p class="navsubs"><a href="../index.htm" id="navmarked" tabindex="2">ATTRO Home</a></p><p class="navsubs"><a href="../crossref/search_crossref.cfm" tabindex="3">Search</a></p>
<!-- CFIF statements to provide link back originating cross reference list. -->
<CFIF #URL.crossref# EQ "tid_01">
<p class="navsubs" id="nbutspacer"><cfoutput><a href="../cross_ref/crossref_tid_2001.cfm" tabindex="4">View TID<br> Cross Reference</a></cfoutput></p>
<CFELSEIF #URL.crossref# EQ "wsh_01">
<p class="navsubs" id="nbutspacer"><cfoutput><a href="../cross_ref/crossref_wsh_2001.cfm" tabindex="4">View WSH<br> Cross Reference</a></cfoutput></p>
<CFELSEIF #URL.crossref# EQ "wsh_02">
<p class="navsubs" id="nbutspacer"><cfoutput><a href="../cross_ref/crossref_wsh_2002.cfm" tabindex="4">View WSH<br> Cross Reference</a></cfoutput></p>
<CFELSEIF #URL.crossref# EQ "astmp_01">
<p class="navsubs" id="nbutspacer"><cfoutput><a href="../cross_ref/crossref_astmp_2001.cfm" tabindex="4">View STO<br> Cross Reference</a></cfoutput></p>
</CFIF>
<!-- End of CFIF cross reference -->
</div>
<!-- Start Solution Details Menu = Sub2 -->
<p class="navbuts"><a href="#" tabindex="5" onClick="P7_swapClass(1,'sub2','showit','hideit','div')">Solution Details</a></p><div class="hideit" id="sub2">
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_01.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="6">Administrative Info </a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_02.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="7">Additional
Needs</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_03.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="8">Project Description</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_04.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="9">Needed Capability</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_05.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="10">Impact If Not<br> Implemented </a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_06.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="11">Technologies Supported</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_07.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="12">Schedule</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_08.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="13">Funding</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_09.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="14">Probable Location</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_10.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="15">Primary Use</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_11.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="16">Commonality</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_12.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="17">Lifecycle Costs</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_13.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="18">Risks / Concerns</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_14.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="19">Limitations</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_15.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="20">Additional Information</a></p>
</cfoutput><br>
<!-- Start Relationships Menu = Sub3 -->
</div><p class="navbuts"><a href="#" tabindex="21" onClick="P7_swapClass(1,'sub3','showit','hideit','div')">Relationships</a></p>
<div id="sub3" class="hideit">
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_r16.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="22">TID Needs</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_r17.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="23">Weapons Systems</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_r18.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="24">ASTMPs</a></p>
</cfoutput><br>
</div>
<!-- Start Components Menu = Sub4 -->
<p class="navbuts"><a href="#" tabindex="25" onClick="P7_swapClass(1,'sub4','showit','hideit','div')">Components</a></p>
<div id="sub4" class="hideit">
<p class="navsubs"><a href="../wsh/wsh.cfm" tabindex="26">Weapon Systems Handbook</a></p><br>
<p class="navsubs"><a href="tid.cfm" tabindex="27">Test Investment Database</a></p><br>
<p class="navsubs"><a href="../astmp/astmp_2001.cfm" tabindex="28">Army Science and Technology Master Plan</a></p><br>
<p class="navsubs" id="nbutspacer3"><a href="../cross_ref/crossref.cfm" tabindex="29">Cross Reference Utility</a></p></div></td>
</tr>
<tr>
<td id="blcorner"><img src="../assets/blue/shim.gif" alt="" width="12" height="12"></td>
<td id="bedge"><img src="../assets/blue/shim.gif" alt="" width="12" height="12"></td>
<td id="brcorner"><img src="../assets/blue/shim.gif" alt="" width="12" height="12"></td>
<td><img src="../assets/blue/shim.gif" alt="" width="12" height="12"></td>
</tr>
<tr>
<td></td>
<td id="footer"> </td>
<td></td>
<td></td>
</tr>
</table>
</body>
<!-- InstanceEnd --></html>
When I go to rewrite the include (in this case simply changing "<cfinclude template="in_s_detail_xx.cfm">" to "<cfinclude template="in_s_detail_01.cfm">", I get the following error message:
"Making this change would require changing code that is locked by a template or translator. The change will be discarded."
The problem is, the code I'm trying to change is, by my eye anyway, clearly between the "InstanceBeginEditable" and "InstanceEndEditable" tags. I'm a little flustered. Any help is appreciated.
If needed, the page code is below:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"<html lang="en"><!-- InstanceBegin template="/Templates/tid_solution_detail_crossref.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>BETA -- ATTRO: Army Test & Training Requirements Online -- BETA</title>
<!-- InstanceEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="../externals/blue_mfv4.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
@import url(../externals/blue_mfv5.css);
-->
</style>
<script src="../externals/myscripts.js" type="text/javascript"></script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape"
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
</head>
<body>
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0" summary="Layout Table">
<tr>
<td width="12" height="65"></td>
<td width="533"><table width="100%" height="7%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="../assets/blue/logo_attro.gif" alt="ATTRO Logo" width="159" height="61"></td>
<td><div align="right"><img src="../assets/blue/logo_attro2.gif" alt="Army Testing & Training Requirements Online" width="178" height="45"></div></td>
</tr>
</table></td>
<td width="12"></td>
<td width="193"></td>
</tr>
<tr>
<td id="tlcorner"><img src="../assets/blue/shim.gif" alt="" width="12" height="12"></td>
<td id="tedge"><img src="../assets/blue/shim.gif" alt="" width="12" height="12"></td>
<td id="trcorner"><img src="../assets/blue/shim.gif" alt="" width="12" height="12"></td>
<td><img src="../assets/blue/shim.gif" alt="" width="12" height="12"></td>
</tr>
<tr>
<td id="ledge"><img src="../assets/blue/shim.gif" alt="" width="12" height="12"></td>
<td valign="top" id="mn"><h1>Test Investment Database</h1>
<!-- InstanceBeginEditable name="body_text" -->
<p>
<cfinclude template="in_s_detail_xx.cfm">
<!-- InstanceEndEditable -->
</td>
<td id="redge"><img src="../assets/blue/shim.gif" alt="" width="12" height="12"></td>
<!-- Start Main Menu = Sub1 -->
<td valign="top" id="sidebar"><p class="navbuts-dn"><a href="#" tabindex="1">ATTRO
Tools </a></p><div id="sub1">
<p class="navsubs"><a href="../index.htm" id="navmarked" tabindex="2">ATTRO Home</a></p><p class="navsubs"><a href="../crossref/search_crossref.cfm" tabindex="3">Search</a></p>
<!-- CFIF statements to provide link back originating cross reference list. -->
<CFIF #URL.crossref# EQ "tid_01">
<p class="navsubs" id="nbutspacer"><cfoutput><a href="../cross_ref/crossref_tid_2001.cfm" tabindex="4">View TID<br> Cross Reference</a></cfoutput></p>
<CFELSEIF #URL.crossref# EQ "wsh_01">
<p class="navsubs" id="nbutspacer"><cfoutput><a href="../cross_ref/crossref_wsh_2001.cfm" tabindex="4">View WSH<br> Cross Reference</a></cfoutput></p>
<CFELSEIF #URL.crossref# EQ "wsh_02">
<p class="navsubs" id="nbutspacer"><cfoutput><a href="../cross_ref/crossref_wsh_2002.cfm" tabindex="4">View WSH<br> Cross Reference</a></cfoutput></p>
<CFELSEIF #URL.crossref# EQ "astmp_01">
<p class="navsubs" id="nbutspacer"><cfoutput><a href="../cross_ref/crossref_astmp_2001.cfm" tabindex="4">View STO<br> Cross Reference</a></cfoutput></p>
</CFIF>
<!-- End of CFIF cross reference -->
</div>
<!-- Start Solution Details Menu = Sub2 -->
<p class="navbuts"><a href="#" tabindex="5" onClick="P7_swapClass(1,'sub2','showit','hideit','div')">Solution Details</a></p><div class="hideit" id="sub2">
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_01.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="6">Administrative Info </a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_02.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="7">Additional
Needs</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_03.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="8">Project Description</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_04.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="9">Needed Capability</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_05.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="10">Impact If Not<br> Implemented </a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_06.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="11">Technologies Supported</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_07.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="12">Schedule</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_08.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="13">Funding</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_09.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="14">Probable Location</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_10.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="15">Primary Use</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_11.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="16">Commonality</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_12.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="17">Lifecycle Costs</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_13.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="18">Risks / Concerns</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_14.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="19">Limitations</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_15.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="20">Additional Information</a></p>
</cfoutput><br>
<!-- Start Relationships Menu = Sub3 -->
</div><p class="navbuts"><a href="#" tabindex="21" onClick="P7_swapClass(1,'sub3','showit','hideit','div')">Relationships</a></p>
<div id="sub3" class="hideit">
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_r16.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="22">TID Needs</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_r17.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="23">Weapons Systems</a></p>
</cfoutput>
<p class="navsubs"><cfoutput><a href="l_tid_sol_detail_r18.cfm?tids_id=#tids_id#&tid_year=#tid_year#" tabindex="24">ASTMPs</a></p>
</cfoutput><br>
</div>
<!-- Start Components Menu = Sub4 -->
<p class="navbuts"><a href="#" tabindex="25" onClick="P7_swapClass(1,'sub4','showit','hideit','div')">Components</a></p>
<div id="sub4" class="hideit">
<p class="navsubs"><a href="../wsh/wsh.cfm" tabindex="26">Weapon Systems Handbook</a></p><br>
<p class="navsubs"><a href="tid.cfm" tabindex="27">Test Investment Database</a></p><br>
<p class="navsubs"><a href="../astmp/astmp_2001.cfm" tabindex="28">Army Science and Technology Master Plan</a></p><br>
<p class="navsubs" id="nbutspacer3"><a href="../cross_ref/crossref.cfm" tabindex="29">Cross Reference Utility</a></p></div></td>
</tr>
<tr>
<td id="blcorner"><img src="../assets/blue/shim.gif" alt="" width="12" height="12"></td>
<td id="bedge"><img src="../assets/blue/shim.gif" alt="" width="12" height="12"></td>
<td id="brcorner"><img src="../assets/blue/shim.gif" alt="" width="12" height="12"></td>
<td><img src="../assets/blue/shim.gif" alt="" width="12" height="12"></td>
</tr>
<tr>
<td></td>
<td id="footer"> </td>
<td></td>
<td></td>
</tr>
</table>
</body>
<!-- InstanceEnd --></html>