05-25-06 12:15 AM
Hi Tom,
sorry I cannot say what is missing in your config.
Which object is missing? Did you try to isolate this using a script
debugger?
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------
"Tom" <Tom@discussions.microsoft.com> wrote in message
news:D5FE2852-F836-4E4F-BA8C-A4A36F9640A4@microsoft.com...
> Stefan:
>
> I am building a new CMS site and I recall getting this important link
> added
> to my Console.ascx file. So I "think" I followed the steps correctly but
> when I click on "PageRevert" I am getting the following javascript error.
>
> Object Expected.
>
>
> id=PageProfileEditorAnchor
>
> nclick="WBC_openWindowOnFocus('/PWS/Console/PageRevert.aspx?wbc_purpose=Ba
sic&NRMODE=Update&WBCMODE=PresentationUnpublished&FRAMELESS=true&NRNODEGUID=
%7bC47ED49A-BBA4-4427-992F-5D7F828E92DD%7d',
> 'WBC_winPreviousPageRevert', FHLBWBC_UseDefaultSizing(window.top));return
> false" href="#"
> target=_self>
> Revert Posting
>
>
>
> Can you advise on what I can do.
>
> I have added the PageRevert.aspx file to my console folder and I modified
> my
> DefaultConsole.ascx user control by adding the
> <%@ Register TagPrefix="revert"
> Namespace="Microsoft.Toolkits.EnterpriseSolutions.CMSPageRevert"
> Assembly="Microsoft.Toolkits.EnterpriseSolutions.CMSPageRevert" %>
>
> And in the code I added this tag
>
> <revert:RevertPostingAction id="RevertPostingAction" runat="server">
> <A
> id=PageProfileEditorAnchor
> onclick="<%# Container.ActionJavascript %>;return false"
> href="#"
> target=_self>
> <%# Container.Text %>
> </A>
> <BR>
> </revert:RevertPostingAction>
>
>
> Thanks
>
> Tom
>
[ Post a follow-up to this message ]
|