[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 360
  • Last Modified:

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
0
Martin Cotterill
Asked:
Martin Cotterill
  • 3
  • 3
1 Solution
 
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
 
Jason C. LevineNo 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
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
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

Featured Post

2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now