Microsoft Content Management Server - MCMS Generated script tag not XHTML compliant

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > August 2006 > MCMS Generated script tag not XHTML compliant





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author MCMS Generated script tag not XHTML compliant
Andrew

2006-08-02, 7:26 am

Hi guys,

I'm having trouble getting an SP2 MCMS site xhtml compliant

The only error I have left is the following script tag. The problem is
the tag is uppercase, and xhtml is case sensitive.

Where is this tag being generated and how can I fix it?


<!-- Generated by Microsoft.ContentManagement.WebControls.Console to
reset form.action -->
<SCRIPT type="text/javascript">
<!--

var __CMS_PostbackFormBeenReset = false;

function __cmsRestFormAction()

.... blah blah blah ...

Stefan [MSFT]

2006-08-02, 7:26 am

Hi Andrew,

this object is generated from the MCMS console (as you can see from the
comment).
There are two possible ways to go:

1) open a support case and request a hotfix or a design change request for
this
2) implement your own console class, derive from the original class, consume
the output in the render method, adjust the code to your requirements and
then render this modified content.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights


"Andrew" <andrewcrowe@gmail.com> wrote in message
news:1154510241.565880.149890@h48g2000cwc.googlegroups.com...
> Hi guys,
>
> I'm having trouble getting an SP2 MCMS site xhtml compliant
>
> The only error I have left is the following script tag. The problem is
> the tag is uppercase, and xhtml is case sensitive.
>
> Where is this tag being generated and how can I fix it?
>
>
> <!-- Generated by Microsoft.ContentManagement.WebControls.Console to
> reset form.action -->
> <SCRIPT type="text/javascript">
> <!--
>
> var __CMS_PostbackFormBeenReset = false;
>
> function __cmsRestFormAction()
>
> ... blah blah blah ...
>



Andrew

2006-08-03, 1:23 pm

Hi Stefan,

I've already tried overriding my custom console's render method and
overriding the
Microsoft.ContentManagement.WebControls.ConsoleControls.Console class
but they only ever see the console's table tag, the SCRIPT tag seems to
be added to a different control. Any idea's how I can access that?

I'm surprised this problem hasn't come up before, hasn't anyone else
had this problem?

Stefan [MSFT] wrote:[vbcol=seagreen]
> Hi Andrew,
>
> this object is generated from the MCMS console (as you can see from the
> comment).
> There are two possible ways to go:
>
> 1) open a support case and request a hotfix or a design change request for
> this
> 2) implement your own console class, derive from the original class, consume
> the output in the render method, adjust the code to your requirements and
> then render this modified content.
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
>
> "Andrew" <andrewcrowe@gmail.com> wrote in message
> news:1154510241.565880.149890@h48g2000cwc.googlegroups.com...

Stefan [MSFT]

2006-08-04, 7:23 am

Hi Andrew,

what you could do is to create a custom RegisterStartupScript method, check
if it is the one you would like to modify, modify it or call the base class
method using the same value.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights


"Andrew" <andrewcrowe@gmail.com> wrote in message
news:1154612983.043932.124020@m79g2000cwm.googlegroups.com...
> Hi Stefan,
>
> I've already tried overriding my custom console's render method and
> overriding the
> Microsoft.ContentManagement.WebControls.ConsoleControls.Console class
> but they only ever see the console's table tag, the SCRIPT tag seems to
> be added to a different control. Any idea's how I can access that?
>
> I'm surprised this problem hasn't come up before, hasn't anyone else
> had this problem?
>
> Stefan [MSFT] wrote:
>



james.hepton@xansa.com

2006-08-24, 1:26 pm

Stefan, Andrew

Just an update to this; I raised a support call with Microsoft for
this; the change has been rejected by the CMS product group because
"CMS2002 was never designed to be XHTML compliant". So looks as if we
will be using a workaround indefinitely.

James

Stefan [MSFT] wrote:[vbcol=seagreen]
> Hi Andrew,
>
> what you could do is to create a custom RegisterStartupScript method, check
> if it is the one you would like to modify, modify it or call the base class
> method using the same value.
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
>
> "Andrew" <andrewcrowe@gmail.com> wrote in message
> news:1154612983.043932.124020@m79g2000cwm.googlegroups.com...

Stefan [MSFT]

2006-08-24, 1:26 pm

Hi James,

thanks for the update!
I have seen your request and monitored the "progress" while it was in QFE.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights


<james.hepton@xansa.com> wrote in message
news:1156429088.630204.157690@i3g2000cwc.googlegroups.com...
> Stefan, Andrew
>
> Just an update to this; I raised a support call with Microsoft for
> this; the change has been rejected by the CMS product group because
> "CMS2002 was never designed to be XHTML compliant". So looks as if we
> will be using a workaround indefinitely.
>
> James
>
> Stefan [MSFT] wrote:
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com