Link to home
Start Free TrialLog in
Avatar of Martin Cotterill
Martin CotterillFlag for United Kingdom of Great Britain and Northern Ireland

asked on

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
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

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.
Avatar of Martin Cotterill

ASKER

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
ASKER CERTIFIED SOLUTION
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
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.
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...