I am using a methodology similar to fusebox in my design.  Display logic is 
seperated from the business logic.  The <body> and <head> tags appear in 
exactly one template that is included in the page request.

The problem which I am having takes place on a template that does not include 
the <body> and <head> tag as I seldom, if ever edit that file.

I am not sure if the problem is with the translator -- I read the doc that 
Massimo included below and am not sure if this is the culprit in my problem.

Again, my problem is:

I am editing one of my templates, via RDS, in DreamweaverMX.  When I save the 
template, it is changing the last three lines of my code as follows.  I added 
the comments while trying to figure out what DreamweaverMX was doing to my 
code and have left them intact below as it may help others to see what 
DreamweaverMX is doing:

WAS:

  </cfform> <!--- cfform --->

 </cfcase> <!--- cfcase --->
</cfswitch> <!--- cfswitch --->


DREAMWEAVER CHANGED TO:


  </cfswitch> <!--- cfswitch ---></cfform> <!--- cfform --->

 </cfcase> <!--- cfcase --->

Quoting "Massimo, Tiziana e Federica" <[EMAIL PROTECTED]>:

> > Thanks for your reply.  My understanding is that when Dreamweaver loads
> > a document into memory, it creates an internal representation which is a
> > combination of the document itself and a bunch of Dreamweaver specific
> > XML tags that enable Dreamweaver to do the designer layout.  When you
> > save, it takes out the extra tags and saves the "original" file.
> > However, sometimes it leaves these internal tags behind or otherwise
> > causes problems.
> 
> Sorry! Now I understand what you mean, you are talking about translators.
> 
> Translators aren't the culprit in this specific case, but they are indeed
> causing quite a bunch of hassles related to includes, especially if the
> includes cause unbalanced tags inside the main templates or if the main
> template is missing the <body> or <head> tags.
> 
> An example of this is documented here:
> 
> http://www.macromedia.com/support/dreamweaver/ts/documents/translator_code.h
> tm
> 
> Again, sorry for the misunderstanding
> 
> ----------------------------
> Massimo Foti
> Team Macromedia Volunteer for Dreamweaver
> http://www.macromedia.com/go/team
> ----------------------------
> 
> 
> 
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to