This is a migrated thread and some comments may be shown as answers.

'CurrentWebBaseUrl' is Null or not an Object

3 Answers 84 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 29 Jan 2009, 06:22 AM
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

3 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 30 Jan 2009, 10:29 AM
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.
0
Eric
Top achievements
Rank 1
answered on 04 Feb 2009, 04:47 AM
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

0
Stanimir
Telerik team
answered on 05 Feb 2009, 09:14 AM
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.
Tags
WebParts for SharePoint
Asked by
Eric
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Eric
Top achievements
Rank 1
Share this question
or