Problem with HTML Templates

  •  07-13-2006, 12:47 PM

    Problem with HTML Templates

    Hello,
     
    I am in the process of overriding the CuteEditor.Impl.FileStorage class of the CuteEditor so that it uses a webservice to get images and other content from a remote server. Some of the problems I am having are:
    1. RenameDirectory(string dirpath, string name) and RenameFile(string filepath, string name) methods. If the dirPath and filepath starts with http://... it strips off everything other than the "http:". Is there a work around the problem? For the Move, Copy methods for both files and directories the whole URL is passed in and it would be great if it was the same for the rename method. 

    2. When I try click on the Image Editor, or the Template Editor, it gives me an error - "Invalid path for MapPath http://remoteserver/content/x.jpg. A virtual path is expected". Is there a way I can call my own methods to open the editors? Is is there a fix to the problem?

    3. When I click on the images, or flash objects (url is for the remoteserver) they display fine on the right pane and they could be inserted into the CuteEditor control, but it is not the same for the HTML Templates. The templates also cannot be inserted into the page. Is there a way we can at least insert the templates?

    Thanks
    GCS 
View Complete Thread