Skip to main content
December 17, 2007
Question

Locked Regions & Server Behaviors

  • December 17, 2007
  • 1 reply
  • 552 views
Hi:

Any help to resolve this problem

making this change would require changing code that is locked by a template or a translator

I use templates in all of my projects along with server behaviors, and i frequently get this error.

I have worked around this by adding necessary recordset behaviors before applying template but sometimes you don't know always what you would be requiring at the end and even if i do know the Recordset pagination invokes this error which I actually use after applying template to my page.

Sometimes i would apply a recordset in a temporary file and will copy the pertinent code from there to the page i am working on.

I want an efficient approach to use server behaviors without any conflict with templates. I usually have simple templates with a single editable field for recordset display.

Is it something wrong with the way I am creating template or what should be the approach to avoid this error. Further sometimes I do have server behaviors inside templates (not always).

P.S. Post earlier to General Category but I believe this is the right one.
This topic has been closed for replies.

1 reply

Inspiring
December 18, 2007
> Is it something wrong with the way I am creating template or what should
> be
> the approach to avoid this error. Further sometimes I do have server
> behaviors
> inside templates (not always).

This error is often unrelated to template editable regions, or to edits you
have hust made, and is thrown whenever DW encounters an error on the page
(or even in the CSS). When I get it (and I work with Templates and SBs
quite a lot) the first thing I do is to stop and validate the page. That's
usually enough to find (and fix) the error.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Saad Shams" <webforumsuser@macromedia.com> wrote in message
news:fk70rf$4sq$1@forums.macromedia.com...
> Hi:
>
> Any help to resolve this problem
>
> making this change would require changing code that is locked by a
> template or
> a translator
>
> I use templates in all of my projects along with server behaviors, and i
> frequently get this error.
>
> I have worked around this by adding necessary recordset behaviors before
> applying template but sometimes you don't know always what you would be
> requiring at the end and even if i do know the Recordset pagination
> invokes
> this error which I actually use after applying template to my page.
>
> Sometimes i would apply a recordset in a temporary file and will copy the
> pertinent code from there to the page i am working on.
>
> I want an efficient approach to use server behaviors without any conflict
> with
> templates. I usually have simple templates with a single editable field
> for
> recordset display.
>
> Is it something wrong with the way I am creating template or what should
> be
> the approach to avoid this error. Further sometimes I do have server
> behaviors
> inside templates (not always).
>
> P.S. Post earlier to General Category but I believe this is the right one.
>

December 18, 2007
okay and do you use recordsets within templates too? how do you implement that, normally I would copy paste the code between <head></head tags for it to be available throughout the website.

May above also be the cause of this error. what do you say?

And you know what I validated my document and it only complains about a missing alt attribute, usually i don't code html myself, its auto generated.