PageRevert Issue
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 > PageRevert Issue




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

    PageRevert Issue  
Tom


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


 
05-25-06 12:15 AM

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=Basi
c&NRMODE=Update&WBCMODE=PresentationUnpublished&FRAMELESS=true&NRNODEGUID=%7
bC47ED49A-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 ]



    Re: PageRevert Issue  
Stefan [MSFT]


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


 
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 ]



    Re: PageRevert Issue  
Tom


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


 
05-29-06 10:22 PM

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[/url...nyurl.com/8ugwj
> ----------------------
>
>
> "Tom" <Tom@discussions.microsoft.com> wrote in message
> news:D5FE2852-F836-4E4F-BA8C-A4A36F9640A4@microsoft.com... 
>
>
>





[ Post a follow-up to this message ]



    Re: PageRevert Issue  
Stefan [MSFT]


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


 
05-29-06 10: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:
> 







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:41 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