Well, I have found that index.cfm is not the only file giving me fits. This
is not an index page, but must be the switch/case giving the problems. Time
for another bug fix.
[member_desktop.cfm]
<cfinclude template="header.cfm">
<cfoutput>
<table width="770" cellpadding="0" cellspacing="5" border="0">
<tr>
<td width="10" nowrap="nowrap"><img src="../images/cc-discover.gif"
border="0"></td><td width="760" class="borangefont">My Stuff: Click on view
or update to make changes in each section</td>
</tr>
</table>
<table width="770" cellpadding="0" cellspacing="0" border="0" style="border:
1px solid ##ccccee;">
<tr>
<td width="150" valign="top" nowrap="nowrap">
<table cellpadding="2" cellspacing="1" border="0" width="100%">
<TR>
<TD class="bwhitefont" bgcolor="#application.columnheader#">My
Tools</TD>
</TR>
<TR>
<TD><a
href="#application.pathInfo#members/member_desktop1.cfm">Summary</a></TD>
</TR>
<TR>
<td class="bbluefont"
bgcolor="#application.silvertable2#">Profile</td>
</TR>
<TR>
<TD><a
href="#application.pathinfo#members/member_desktop1.cfm?page=vprofile">View
My Profile</a></TD>
</TR>
<TR>
<TD><a
href="#application.pathinfo#members/member_desktop1.cfm?page=eprofile&act=a"
>Edit My Profile</a></TD>
</TR>
<TR>
<TD><a
href="#application.pathinfo#members/member_desktop1.cfm?page=elogin&act=a">E
dit My Login Info</a></TD>
</TR>
<TR>
<TD class="bbluefont" bgcolor="#application.silvertable2#">My
Messages</TD>
</TR>
<TR>
<TD><a
href="#application.pathinfo#members/member_desktop1.cfm?page=msgnew&act=view
">My Inbox</a></TD>
</TR>
<TR>
<TD><a href="">My Sent Items</a></TD>
</TR>
<TR>
<TD><a href="">My Saved Messages</a></TD>
</TR>
<TR>
<TD><a href="">My Deleted Messages</a></TD>
</TR>
<TR>
<TD><a href="">My Blocked Members</a></TD>
</TR>
<TR>
<TD class="bbluefont" bgcolor="#application.silvertable2#">My Ads</TD>
</TR>
<TR>
<TD><a
href="#application.pathinfo#members/member_desktop1.cfm?page=ad-new&act=star
t">Post a new Ad</a></TD>
</TR>
<TR>
<TD><a
href="#application.pathinfo#members/member_desktop1.cfm?page=ad-manage">My
Current Ads</a></TD>
</TR>
<TR>
<TD><a href="">My Watched Ads</a></TD>
</TR>
<TR>
<TD><a href="">My Saved Ads</a></TD>
</TR>
<TR>
<TD><a href="">My Images</a></TD>
</TR>
<TR>
<TD class="bbluefont"
bgcolor="#application.silvertable2#">Favorites</TD>
</TR>
<TR>
<TD><a href="">My Favorite Sellers</a></TD>
</TR>
<TR>
<TD><a href="">My Favorite Buyers</a></TD>
</TR>
<TR>
<TD><a href="">My Saved Searches</a></TD>
</TR>
</table>
</td>
<td valign="top" style="border-left: 1px solid ##ccccee;">
<cfparam name="url.page" default="">
<cfif isDefined("url.page")>
<cfset templateSwitch = url.page>
</cfif>
<cfswitch expression="#templateSwitch#">
<!---CHECK FOR NEW MESSAGES--->
<cfcase value="msgnew">
<cfinclude template="member_msgnew.cfm">
</cfcase>
<!---VIEW CURRENT ADS--->
<cfcase value="ad-manage">
<cfinclude template="classified_manage.cfm">
</cfcase>
<!---PLACE NEW ADVERTISEMENT--->
<cfcase value="ad-new">
<cfinclude template="classified_new.cfm">
</cfcase>
<!---MANAGE AD IMAGES--->
<cfcase value="ad-photos">
<cfinclude template="classified_photos.cfm">
</cfcase>
<!---EDIT ADS--->
<cfcase value="ad-edit">
<cfinclude template="classified_edit.cfm">
</cfcase>
<!---EDIT MEMBER LOGIN--->
<cfcase value="elogin">
<cfinclude template="member_edit_login.cfm">
</cfcase>
<!---MEMBER AUTHENTICATE--->
<cfcase value="authorize">
<cfinclude template="member_authenticate.cfm">
</cfcase>
<!---EDIT MEMBER PROFILE--->
<cfcase value="eprofile">
<cfinclude template="member_edit_profile.cfm">
</cfcase>
<!---VIEW MEMBER PROFILE--->
<cfcase value="vprofile">
<cfinclude template="member_view_profile.cfm">
</cfcase>
<!---DEFAULT TO MEMBER SUMMARY--->
<cfdefaultcase>
<cfinclude template="member_summary.cfm">
</cfdefaultcase>
</cfswitch>
</td>
</tr>
</table>
</cfoutput>
<cfinclude template="../footer.cfm">
----- Original Message -----
From: "Casey Dougall" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Friday, December 08, 2006 8:08 AM
Subject: Re: Dreamweaver
> Maybe someone can help me on this. I have been going through all my
>
> > files and applying formatting, and whenever I try to apply formatting to
> > my index.cfm DW hangs. There is nothing special in the file and it only
> > has a bunch of <cfcase> tags to handle the different template loads.
> > Just thought it was weird. Any suggestions for eliminating this problem
> > would be appreciated.
> >
> > Doug
>
>
> You're right it will hang like that on index.cfm when you use that type of
> switch or cfif control over your app.
>
> Easy solution, STOP putting all your scripts as conditions off of
> index.cfmand you won't have that problem.
>
>
> --
> Casey
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263288
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4