'CurrentWebBaseUrl' is Null or not an Object

4 posts, 0 answers
  1. Eric
    Eric avatar
    5 posts
    Member since:
    Apr 2008

    Posted 29 Jan 2009 Link to this post

    Hi,

    I work with the Full RadEditor with Sharepoint (MOSS) version  5.3.1 (RadEditorMOSS_5_3_1_Dev).
     
    I need use the MOSS hyperlink manager window, so we change the Hyperlink command name for "

    <

     

    tool name="MOSSLinkManager" shortcut="CTRL+K" />"

    I fixed my first problem (AssetPickerConfig not defined) by copying the file AssetPickers.js in a new 1033 directory (http://www.telerik.com/community/forums/sharepoint-2007/full-featured-editor/moss-specific-buttons-aren-t-working.aspx

    But I have another javascript error when I click the hyperlink button: 'CurrentWebBaseUrl' is Null or not an Object.

    Can you help me with this?

    Thank.

    Éric

  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 30 Jan 2009 Link to this post

    Hello Eric,

    I apologize for the inconvenience, but I was not able to reproduce the problem.
    Could you please open a support ticket, and send us your configuration files. Some more information about the error and a screen shot will be helpful as well.

    Thank you.

    Greetings,
    Stanimir
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

  3. Eric
    Eric avatar
    5 posts
    Member since:
    Apr 2008

    Posted 03 Feb 2009 Link to this post

    Hello Stanimir,

    Sorry for the delay.

    Before open a support ticket, a give your more details about my problem:

    This is my Javascript error when I click to hyperlink button (Javascript error= 'CurrentWebBaseUrl' is Null or not an Object).

    When I debug, I see than variable "params" is undefined, that why I have the Javascript error.

    However, In my HTML page, I see that the param 'CurrentWebBaseUrl' Is correctly initialized:

    **************************************
    }
    RadEditorClientDialogParameters['ctl00_PlaceHolderMain_plhContenu1_ctl00'] = {};
    RadEditorClientDialogParameters['ctl00_PlaceHolderMain_plhContenu1_ctl00'].AllowExternalUrls = true;
    RadEditorClientDialogParameters['ctl00_PlaceHolderMain_plhContenu1_ctl00'].CurrentWebBaseUrl = 'http://eu03sp8053b:8080/fr/retraite';
    RadEditorClientDialogParameters['ctl00_PlaceHolderMain_plhContenu1_ctl00'].EditingScenario = "PublishingRadHtmlField";
    //]]>
    </script>

    **************************************

    Are you able to help me, or I have to open a support ticket?

    Thank you.

    Éric

  4. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 05 Feb 2009 Link to this post

    Hi Eric,

    Normally, in order to enable MOSSLinkManger, all you need to do is add the following line to the respective ToolsFile.xml.
    <tool name="MOSSLinkManager" shortcut="CTRL+K"/> 

    And everything should be working fine.

    I suggest you to try to upgrade to the latest version of the Editor, which now is 5.3.2 and see if the problem stops to occur.

    You can find information on upgrading to a newer version of RadEditor for MOSS in our online help.

    Regards,
    Stanimir
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top