Compensate for file path changes in dynamically loaded HTML?

I'm using DWCS3 to work on a site which has the HTML inside a "Content" folder. The site's programmer uses AJAX to load the HTML into ASPX files which are in the root folder. So, although the HTML files are in the Content folder, all of their relative paths (links, images, etc.) must be set as if they are in the root folder.
My question is this: In design-time, is there any way that I can get Dreamweaver to treat the files in the Content folder as if they were in the root folder?
Thanks.

Thanks for answering, Murray.
That's what I'm doing now, but it makes some of the features in Dreamweaver unusable. For example, in the Link Checker each of the root relative links in these documents shows up as a broken link, and the items to which they're linking appear as orphans. I know this can be managed with another workaround (moving the files into the root in design time, and then moving them back into the Content folder before publishing).
I was just wondering if there was a setting (or script, plug-in, etc.) in which I could tell Dreamweaver to treat these files as if they were in the root.

Similar Messages

  • F4 help for file path in selection screen.

    Hi there,
    I defined one parameter p_path for file path using RLGRAP-FILENAME. I have not got F4 for this. How to solve this problem, can anybody pls help.
    Regards,
    Naseer.

    Hi,
    refer to the following code:
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_pc.
    DATA: it_tab TYPE filetable,
              wf_subrc TYPE i.
    DATA: wf_pcfile LIKE rlgrap-filename.
      DATA: wf_filter TYPE string,
            wf_dir TYPE string,
            wf_title TYPE string,
            wf_ext TYPE string.
    *  if p_ml = 'X'.                  "Manula Load - PC File
      wf_title = text-012.          "Window title
      wf_ext  = '.TXT'.           "Extension of the file
      wf_filter = 'Text Files (*.TXT)|*.TXT'.         "File Type
      wf_dir = wf_pcfile.           "Directory
    *Adds a GUI-Supported Feature
      CALL METHOD cl_gui_frontend_services=>file_open_dialog
        EXPORTING
          window_title      = wf_title
          default_extension = wf_ext
          file_filter       = wf_filter
          initial_directory = wf_dir
        CHANGING
          file_table        = it_tab
          rc                = wf_subrc.
    Hope this helps.
    <REMOVED BY MODERATOR>
    Regards,
    Sipra
    Edited by: Alvaro Tejada Galindo on Jan 31, 2008 9:48 AM

  • Changing a dynamically loaded MC

    I have a TargeMC that i load another .swf file into. is it possible to have a button inside the loaded .swf that changes TargetMC swf file.
    sence it is dynamically loaded i dont know how to referance it from the loaded movie inside.

    No i need to have the the .swf file replace itself with another not move the time line. and as far as i know its all AS3...
    this code is on a button in the main document:
    this.addEventListener(MouseEvent.CLICK, servClick);
    function servClick(e:MouseEvent):void
    this.gotoAndStop("down");
    root.TargetMC.removeChildAt(1);
    var myLoader:Loader = new Loader();
    root.TargetMC.addChild(myLoader);
    var url:URLRequest = new URLRequest("ServicesTemplate.swf");
    myLoader.load(url);
    I have 3 more buttons with in the .swf that it loads
    just wondering if i could use those 3 to allso replace the "TargetMC" that there already loaded in to.

  • LSMW :Is it possible to create F4 Help for File path selection

    Hi All .,
    Please let me know is it possible to create F4 help for file path creation in LSMW .
    thanks
    Sreenivas

    Hi,
    I don't get it.
    In the step " Specify files" you will have the option to pick your flat file which is on the desktop by pressing F4 .
    What is that you exactly want??
    Warm regards,
    Hari Kiran

  • Can I dynamically load html from file, but do not stuck the UI

    I load my html from files.
    Use JEditorPane to setContentType("text/html"),
    use JEditorPane.read method to dynamically load html from file,
    the jeditorpane is add into a jdialog,
    when my application showing the dialog, the dialog was stuck,
    user can not click other UI component, I think it is not look dynamically
    So any other suggestion?
    You are appreciated.
    Thanks in advanced.

       yourDialog.setModal(false);

  • F4 help for file path in the Application server

    Hi All,
    i want to provide the F4 help so as to enable us to give the file path in the application server (AL11). I'm in version 4.0
    Regards
    Shekhar

    Hi
    Copy paste the following code and see the result
    Here you can see 2 types of open dialogs
    1. Directory View
    2. File View
    Use any one as per your requirement.
    DATA : l_filetable TYPE filetable,
           l_rc TYPE i.
    DATA: l_folder TYPE string,
          l_file TYPE string.
    PARAMETERS: p_folder(100) TYPE c,
                p_file(100) TYPE c.
    *Provide a Dialogue box for getting a folder path
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_folder.
      CALL METHOD cl_gui_frontend_services=>directory_browse
        EXPORTING
          window_title    = 'Select Folder Path'
          initial_folder  = 'D:\'
        CHANGING
          selected_folder = l_folder.
      p_folder = l_folder.
    *Provide a Dialogue box for getting a file path
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL METHOD cl_gui_frontend_services=>file_open_dialog
        EXPORTING
          window_title      = 'Select a Text File'
          initial_directory = l_folder
        CHANGING
          file_table        = l_filetable
          rc                = l_rc.
    Reward points generously
    Regards
    Akshay Chonkar
      READ TABLE l_filetable INTO p_file INDEX 1.
      CHECK sy-subrc <> 0.

  • File path changing my code?

    Hi,
    I am using labview 7 to take voltage readings from a discharge detector, convert them to digital using NI PCI 4474 card then hopefully integrate them. A program for a similar function has already been written for the same card, but when i copied this program to a different PC and changed the file directory, the wire from task out on the DAQmx Stop Task.vi to the DAQmx Clear task.vi "task in" gets broken, and I can't figure out why or how to solve this. I know I need to do quite a bit of development to this program for it to meet my specific needs, but this just makes no sense, can anyone please help?? I've posted the code below.
    Cheers  
    Attachments:
    ScanTestb.vi ‏154 KB

    Start by looking at the file path. 
    You can write the base path in "Folder Path", such as C:\test_DA (or whatever you want).   The right-click the "Folder Path" control and select Data Operation and make current value default.  Just to try as a quick fix ..
    RayR
    Message Edited by JoeLabView on 06-02-2008 07:36 PM
    Attachments:
    DefaultPath.PNG ‏9 KB

  • DATA Log file path change in sql

    Dear experts,
    due to non avaibility of space in disk i have move my SAPLog file in another drive, but now my SAP working fine but when i try to change path in SQL 2005 its not giving me permission to do.
    please let me know how to change log file path in sql 2005.
    & if infuture i change my SAP 1 DATA file path how we change configure new path for dabase  in SQL 2005.
    Regards,
    jitendra.

    Hi
    Kindly go thru below web links. before start the process stop the SAP instance.
    http://support.microsoft.com/kb/224071
    Set the log DB size - http://help.sap.com/saphelp_nwce72/helpdata/en/f2/31ad9b810c11d288ec0000e8200722/content.htm
    and ref the SAP Note 363018
    Regards
    Sriram

  • SCCM query for file path

    For some reason, I am unable to get a query to work for an exe located at a specific file path.  I can do a query for the exe itself and get more results than I want, but I need to find it in a specific path.  
    The path and file name is: c:\Program Files\NBSI\sysdll\sysserv.exe.
    Thanks!

    Hi John,
    when i tried to find a file at path like dbo.v_GS_SoftwareFile.FilePath ='c:\windows\'
    No result found.

  • How to Load a SWF in Dynamically Loaded HTML

    Hello,
    I have a Flash movie with a multi-line text field that loads
    HTML text. As per the below Macromedia documentation I have swfs as
    images inside my HTML text.
    I'm trying to find a way to pre-load these swfs - if I do
    loadmovie to load the swf, when the html file is loaded will it
    need to reload the swf from scratch or will it take my loaded
    version? I'd love to show a "loading" message in the text as the
    swf was loading but am unsure how to do this now that I have the
    swf reference embedded in the html text.
    Any ideas?
    Thanks!
    Julia
    From the Macromedia documentation:
    Image tag (<img>
    The <img> tag lets you embed external JPEG files, SWF
    files, and movie clips inside text fields. The <img> tag has
    one required attribute, src, which specifies the path to a JPEG
    file, a SWF file, or the linkage identifier of a movie clip symbol.

    Thanks - your answer is exactly what I was looking for.
    I'm noticing that every swf I load via dynamic HTML is
    distorted - is there a way to prevent this? I can set the width and
    height of each swf in the HTML, which works ok, but then I run into
    a problem when I try and have a component item (like an accordion)
    included in the dynamic text field. It works properly, and the
    framing is sized correctly, but the guts are still skewed. I
    haven't been able to figure out why the swfs are being distorted in
    the first place.
    Any ideas?
    Thanks,
    Julia

  • PLEASE! Horribly Confusing for Propagating Library Changes - .reload, dynam

    Yes, I have read the manual, and I have searched Google, but I have still having difficulties.
    I run SWS 6.1 on a clustered system.
    When I update a library (xyz.jar) in my /WEB-INF/lib/ directory, the change should be picked up automatically, right - especially with the dynamicreloadinterval parameter set in server.xml for that instance. Is that true?
    Well, I have that parameter set on both servers of the clustered system - but only one SWS instance recognizes the new library. What is going on?
    I also understand that touching the .reload file in the ... directory (I don't remember exactly where - but it's the one in the documentation) will reload the deployment descriptors. I assume that reload will also reread a Web application's libraries, won't it?
    Well, I have .touch-ed the server instance, but to no avail. What is going on?
    Btw, I have no problem with SWS on a single server system. It's the clustered system that is causing problems.
    Any tips?
    dailysun

    which Web Server version you use? If it's WS6.1Spx, you should treat the instances seperately.

  • Song file paths changed to images

    i have my music folder set to an external harddrive and for some reason SOME of the songs to another harddrive and is pointing to random image files....is there any way to fix this and get it to find the correct files without re adding themm and trying to figure out which ones were added and then sorting duplicates again...???

    i have my music folder set to an external harddrive and for some reason SOME of the songs to another harddrive and is pointing to random image files....is there any way to fix this and get it to find the correct files without re adding themm and trying to figure out which ones were added and then sorting duplicates again...???

  • Dynamic file path with Synchonous File Read

    Hello,
    I have a scenario where there are multiple files in multiple directories that I need to read in using a synchonous file read. The directory paths are all different, but the files are all .txt files.
    1. How can I filter (i.e. *.txt) the files using a synchronous file read. It doesn't give me that option in the wizard.
    2. I already have the directory paths, but I need to assign that path string to the file adapter call out. The wizard states that I have to specify the path. Can this be done using an assign or something like that? Inbound Header? And if so how?
    Any help is greatly appreciated.

    Hi,
    1 - if not possible....you cannot set filter for synchronous read.
    2 - you can create outbound header for file adapters, change the outbound header xsd to include one more element "directory".
    close bpel project re-open it and you can then assign it runtime. That should work. I am quite positve about this.
    Dipal

  • SSIS - Loop through files from a file path based on the value in the variable

    Experts,
    I have a requirement where I'll be loading multiple files in to a SQL server table and archive the files when loaded. However, the challenge is , the file path should be dynamic based on the value of a variable (say, @ProductName).
    For example: If I am running the package for variable @ProductName="Product", the file path would be "\\....\Src\Product", in that case the ForEachLoop will loop through all the files in that folder, load them to the table and Archive
    the files to the "\\....\Src\Product\Archive" folder.
    Similarly, if the @ProductName="Product_NCP", the foreachloop container should loop through files in the "\\....\Src\Product_NCP" folder, load them to the table and archive them to the ""\\....\Src\Product_NCP\Archive"
    folder.
    Any suggestions? I should be able to run the package manually just by passing the "@Product" value, create Archive folder if it doesn't exist, load the data and archive the files.

    Yes
    1. Have a variable inside SSIS to get folder path. Set path based on your rule using an expression
    like
    (@[User::ProductName] == "Product" ? "\\....\Src\Product" : (@[User::ProductName] == "Product_NCP" ? \\....\Src\Product_NCP:..))
    similary archive
    (@[User::ProductName] == "Product" ? "\\....\Src\Product\Archive" : (@[User::ProductName] == "Product_NCP" ? "\\....\Src\Product_NCP\Archive" :..))
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • File path of open data storage

    Hello all!
    Now I'm using the blocks of open data storage, write data and close data storage for storing and extracting result data. For the file path issue, before I
    set the data path by double clicking the "open data storage" block and inserting the file location in the indicated place, and that worked!
    Now since I made a stand alone application of this program and shall use it in other computers, the file location I inserted in open data storage block isn't
    valid any more in other PCs. So I modified my source code by connecting a "current vi path" to the open data storage block's file path node instead of
    inserting it inside the block, and this doesn't work! During running there shows an error in the write data block saying that the storage refnum isn't valid!
    I'm wondering why I couldn't specify the file path like this. Any way to allow me to specify the file path as the current vi path?
    Thanks!
    Chao
    Solved!
    Go to Solution.

    You need to account for the path changes when built in to an application, have a look at this example.
    https://decibel.ni.com/content/docs/DOC-4212
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

Maybe you are looking for