?
Solved

Bindings disappearing from bindings panel

Posted on 2013-01-13
6
Medium Priority
?
350 Views
Last Modified: 2013-01-19
Hi Experts all

Every so often, the bindings in the bindings panel disappear for, what appears to be, no apparent reason.

The bindings remain in the code and work fine when the page is displayed in a browser.

Does anyone know why the bindings should behave like this and how can it be cured?

Regards

Pb
0
Comment
Question by:Martin Cotterill
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 38772360
Typically this is the result of some code being added in or around the recordset code auto-generated by Dreamweaver.

Dreamweaver works by scanning each open page and parsing all the code through JavaScript regular expressions.  When it finds a block of code that matches one of its preset "behaviors" then it populates the matching dialog, panel, or draws a visual effect in the visual editor.  If you modify the code and break the regex, the item fails to render in the program but continues to work just fine.
0
 
LVL 1

Author Comment

by:Martin Cotterill
ID: 38772413
Is there anything in particular I should look for or is that a bit like looking for a particular piece of hay in a haystack?

Is there any way I can stop it happening?

Pb
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 2000 total points
ID: 38781517
bit like looking for a particular piece of hay in a haystack?

A bit like that, yes.  If you post the code here I can look at it and see if I can spot something given my experience with this.  If you are in the habit of mucking about in the DW code, this is easy to do to yourself.

Is there any way I can stop it happening?

Depends on finding out why it starts.  One thing that can also do it that I failed to mention is working with different versions of DW.  If code is added from one version of DW, an earlier or newer version may not parse it correctly and it would disappear from the Bindings.
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 1

Author Comment

by:Martin Cotterill
ID: 38796403
Hi J

Sorry for taking so long to get back to you but I went through all the code looking for anything that stood out.

Of course, nothing did.

However, I seemed to have found the answer and it appeared to concern connection folders. Basically the web host company doesn't allow parent paths, so I created a number of connection folders for the site to function correctly.

After figuring out how virtual includes work, I deleted the extra connection folders and all is working just fine.

Thanks for your help. Much appreciated.

Pb
0
 
LVL 1

Author Closing Comment

by:Martin Cotterill
ID: 38796407
Although this is a "How long is a piece of string" type of question, I was pointed in the right direction to where to start looking for the answer.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 38797464
so I created a number of connection folders for the site to function correctly.

That would do it.  DW wouldn't understand the new connections and remove the behaviors dependent on them...
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question