MCMS Generated script tag not XHTML compliant
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > MCMS Generated script tag not XHTML compliant




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    MCMS Generated script tag not XHTML compliant  
Andrew


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-02-06 12:26 PM

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 ...






[ Post a follow-up to this message ]



    Re: MCMS Generated script tag not XHTML compliant  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-02-06 12:26 PM

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 ...
>







[ Post a follow-up to this message ]



    Re: MCMS Generated script tag not XHTML compliant  
Andrew


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-03-06 06: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, consu
me
> 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... 






[ Post a follow-up to this message ]



    Re: MCMS Generated script tag not XHTML compliant  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-04-06 12:23 PM

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: 
>







[ Post a follow-up to this message ]



    Re: MCMS Generated script tag not XHTML compliant  
james.hepton@xansa.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-24-06 06: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, chec
k
> if it is the one you would like to modify, modify it or call the base clas
s
> 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... 






[ Post a follow-up to this message ]



    Re: MCMS Generated script tag not XHTML compliant  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-24-06 06: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: 
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:40 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register