Bindings disappearing from bindings panel

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
LVL 1
Martin CotterillDabblerAsked:
Who is Participating?
 
Jason C. LevineConnect With a Mentor No oneCommented:
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
 
Jason C. LevineNo oneCommented:
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
 
Martin CotterillDabblerAuthor Commented:
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
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.

 
Martin CotterillDabblerAuthor Commented:
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
 
Martin CotterillDabblerAuthor Commented:
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
 
Jason C. LevineNo oneCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.