|
Home > Archive > Microsoft Content Management Server > May 2006 > PageRevert Issue
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]
|
|
|
| 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=Basic&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
| |
| Stefan [MSFT] 2006-05-24, 7:15 pm |
| 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=Basic&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
>
| |
|
| Stefan:
Are there any additonal steps that I am missing?
Also of note, why after I add the PageRevert control to my toolbox I can't
drag it on to the form. Or worse, if I add it manually in the code behind,
and then swirtch to HTML View the control is in error?
Tom
"Stefan [MSFT]" wrote:
> 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 [MSFT] 2006-05-29, 5:22 pm |
| Hi Tom,
I have never tried to drag it from the tool box.
All required steps are listed in the InstallInstructions.txt file provided
with the console action.
Btw: a more improved version of this control is provided in the following
book:
http://tinyurl.com/8ugwj
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:362B3AB3-0F5A-43B7-8717-01BD07680562@microsoft.com...[vbcol=seagreen]
> Stefan:
>
> Are there any additonal steps that I am missing?
>
> Also of note, why after I add the PageRevert control to my toolbox I can't
> drag it on to the form. Or worse, if I add it manually in the code
> behind,
> and then swirtch to HTML View the control is in error?
>
> Tom
>
> "Stefan [MSFT]" wrote:
>
|
|
|
|
|