How to hide CFIDE when using ajax CF?

We started to use some features ajax CF on our public site, as autosuggest. But in order for this to work I had to create a virtual directory to the CFIDE path off our public site. Areas for security reasons, etc., I don't want to CFIDE accessible here (previously it was only accessible from our intranet behind the firewall).

So how can I use the CF8 ajax features, but do not have the exposed CFIDE path? Thanks in advance.

Options:

1. you can change the 'Default ScriptSrc Directory' value in the administrator settings page. Copy the contents of/CFIDE/Scripts to your new location.

2 remove the contents of /CFIDE, with the exception of directory Scripts of your public site. Of course after having saved CFIDE.

3. using the cfajaximport scriptSrc attribute and cfform to point to a new directory contains the necessary scripts and deleting /CFIDE from your public site.

Tags: ColdFusion

Similar Questions

  • How to hide the images used in imovie 10.1.2?

    I am a new user of iMovie and use the latest version. How to hide the photos that I already added to the film? Moreover, that mean the purple and orange lines on the photos? Thank you!

    You can not hide, but the orange lines at the bottom of the clips in the media pane show what parts of clips have been used in the scenario, if you can easily avoid reuse them if that's what you want to do.  The purple lines at the top of some parts of some clips show moved excessive (which cannot be stabilized).

    Geoff.

  • How to save a variable, using AJAX, a database mySQL using Coldfusion?

    I have a jquery script that takes a background color of an image using AJAX. I would like to save the variable, var rgba = e.rgba () on a MySQL database. The person who created the script says to use: $.post("color.php",{rgba:reba});) to save a database with AJAX. How to save the var rgba using coldfusion to do CF?

    The script:

    < script >

    ;(Function($){

    $. fn.canvasify = function (f) {/ / faster than dynamically converting one pixel at a time}

    return this.map (function () {}

    If {(this.nodeName=="IMG)"}

    var canvas = $("< canvas >')

    This.SRC = this.src / / IE fix

    $(this) .one ('load', function () {}

    Canvas.Attr ({width: this.width,:this.height}) height})

    Canvas [0]. GetContext ('2d'). DrawImage(This,0,0,this.) Width, this. Height)

    $(this) .replaceWith (canvas)

    })

    return the canvas [0]

    } else {}

    return this

    }

    })

    }

    function Rgba (rgba) {}

    This.RGBA = rgba

    this.toString = function() {return "rgba (" + Array.prototype.join.call (this.rgba, ',') + ")"}

    }

    $. {Event.prototype.RGBA = Function ()}

    var x = this.offsetX | (this.pageX - $(this.target) .offset () .left),.

    this.offsetY = y | (this.pageY - $(this.target) .offset () .top).

    nodeName = this.target.nodeName

    If (nodeName = "CANVAS")

    return new Rgba (this.target.getContext('2d').getImageData(x,y,1,1) .data)

    ElseIf (nodeName = 'IMG') {}

    var canvas = document.createElement ("canvas")

    Canvas.Width = 1

    Canvas.Height = 1

    canvas.getContext('2d').drawImage (this.target, x, y, 1, 1, 0, 0, 1, 1)

    return new Rgba (canvas.getContext('2d').getImageData (0,0,1,1) .data)

    } otherwise return null

    }

    (}) (jQuery)

    {$(function()}

    $("figure").append ("< class p =" rgba">" ")

    $('img').canvasify ravishing (demo))

    $('img').click (demo)

    function {persons

    var rgba = e.rgba (),

    digit = $(this) .parent)

    Figure.CSS ('background-color', RGBA). Find ("p"). Text (RGBA)

    }

    });

    < /script >

    < style >

    {p.RGBA}

    background: white;

    color: black;

    border: 1px solid red;

    min-height: 20px;

    }

    < / style >

    Here's some pseudocode

    AJAX

    ...

    $data = {RGBA: $rgba, var1 = $var1, var2 = $var2, etc.};

    ...

    var ajaxResponse = $.ajax({)

    type: 'POST',

    URL: '.. '. /.. /dir/settings.CFC? Method = saveBGColor,

    contentType: "application/json; charset = utf-8 ",

    data: JSON.stringify ($data).

    etc.

    });

    Settings.CFC

  • How to improve latency when using images high resolution

    I use a lot of images high resolution in my iBook, which creates a lot of lag when using author ibooks.  I have an end of 2015 with skylake processor i7 iMac and a decent amount of video ram.  Is it possible to improve this gap without use the workarounds like spreading the images until the end?  This is a limitation of the application?  I am able to work with images in Lightroom quickly with little or no lag, why I have this experience with ibooks author?

    It was common to use the placeholder images while editing, simply because of the question, you say.

    Regarding the ram, better for computer max (video ram isn't the issue) in all cases, but with the new Macs after having soldered to the ram, which can be difficult to correct after the purchase.

    Shame to see iBA still suffers this awkwardness, but oh well.

  • Values with the HTML not getting informed when using AJAX in the APEX

    Hello

    I use AJAX to fill some values in a tabular report.

    I have a java script of this form (I took this example Denes http://apex.oracle.com/pls/otn/f?p=31517:241:1400877312570049) example

    < script language = "JavaScript" type = "text/javascript" >

    function f_set_multi_items_tabular (pValue, bow) {}
    get var = new htmldb_Get (null, html_GetElement('pFlowId').value,
    = Set_Multi_Items_Tabular', 0);
    {if (pValue)}
    Get.Add ('TEMPORARY_APPLICATION_ITEM', pValue)
    Get.Add ('T_ROWNUM', Prow)
    } else {}
    Get.Add ('TEMPORARY_APPLICATION_ITEM', 'null')
    }

    gReturn = get.get ('XML');

    {if (gReturn)}
    var l_Count = gReturn.getElementsByTagName("item").length;
    for (var i = 0; i < l_Count; i ++) {}
    var l_Opt_Xml = gReturn.getElementsByTagName ("item");
    var l_ID = l_Opt_Xml.getAttribute ('id');
    var l_El = html_GetElement (l_ID);
    {if (l_Opt_Xml.firstChild)}
    var l_Value = l_Opt_Xml.firstChild.nodeValue;
    } else {}
    var l_Value = ";
    }

    {if (l_El)}
    If (l_El.tagName == 'INPUT') {}
    l_El.value = l_Value;
    } Else if (l_El.tagName == 'SPAN' & & l_El.className == 'Raptor') {}
    l_El.parentNode.innerHTML = l_Value;
    l_El.parentNode.ID = l_ID;
    } else {}
    l_El.innerHTML = l_Value;
    }
    }
    }
    }
    get = null;
    }

    < /script >


    And I the process of application as follows
    BEGIN
    OWA_UTIL.mime_header ("text/xml", FALSE);
    HTP.p ('Cache-Control: non-cache');
    HTP.p ('Pragma: non-cache');
    OWA_UTIL.http_header_close;
    HTP.prn ("< body >");
    HTP.prn ("< desc > This XML genericly defines several elements < / desc > '");
    HTP.prn ("< item id =" f05_000 "|: T_ROWNUM |" "> ' |: TEMPORARY_APPLICATION_ITEM |") ("< / item > ');
    HTP.prn ("< / body >");
    END;
    If I have: TEMPORARY_APPLICATION_ITEM as "Vikas" gets it displays correctly, but if I "& lt;" b & gt; Vikas & lt; b & gt;' it shows null. If she tags HTML function l_Opt_Xml.firstChild.nodeValue does not correctly work.
    Please tell me what modiifcation can I use in the l_Opt_Xml.firstChild.nodeValue function to get values with HTML tags also to are displayed.

    Thank you
    Vikas

    Vikas,

    Try to escape special characters:

    htf.escape_sc(:TEMPORARY_APPLICATION_ITEM)
    

    Kind regards
    Dan

  • How to hide text when you perform a mouseover?

    I'm quite new to Captivate, and I'm hoping to hide a text box when you perform a mouseover. The idea is that the text fades mousing over a certain amount, but I need the text background to disappear to function effectively.

    I guess I need to use a tip Action and understand the Action fairly easily, but only part can not see to understand what needs to be part of the FI. Any help will be appreciated.

    Thank you

    I don't like break it will... but it was not a perfect world for thousands of years now.  And it is not improving.

    Captivate is an obvious LACK when it comes to mouseover events to trigger interactivity.  There is a new widget to HTML5 which will soon release that addresses this issue, but you will have to wait for her.  And as it's ONLY for HTML5, you can't use it with output SWF.

    If you use SWF, there is a handler for Infosemantics widget that allows you to trigger actions mouseover and mouseout/mouseouthandler().

    Topic of Infosemantics Event Handler Widget | Infosemantics Pty Ltd

    Free trial versions of the widget are available here if you want to test:

    Free trial versions of Adobe Captivate Widgets | Infosemantics Pty Ltd

  • Hide url when using bb.share

    This is my code

    actions: [
                      InvokeActionItem {
                                  objectName: "share"
                                  id: share
                                  title: "Share"
                                  ActionBar.placement: ActionBarPlacement.OnBar
                                  query {
                                      mimeType: "text/plain"
                                      invokeActionId: "bb.action.SHARE"
                                        }
                                        onTriggered: {
                                        data = "Sharing some traffic info using TrafficInfo KL app \n" + test.text + "\n -->Get it in BBWorld";
    
                                            } 
    
                                  } 
    
                    ]//eol Action Item
    

    is there anyway that I can hide or hide the url that translates into test.text in a single common hyperlink url?

    This is not currently supported.

  • How to hide password when calling sql, more than command promt?

    When I try to open sql more in the window command prompt and enter the command sqlplus by chain of username/password@connection followed, the password is not masked.
    How do I show * instead of display characters of password out?

    Also, what is the command to clear the screen: when I try to cls or clears the screen, I get an exception memory windows of somekind and the only option he must kill the command window.

    Advice on her work around this?

    Thank you very much for your time and help.

    user8848256 wrote:
    Can you please give more details on how to do not enter a password when you call sqlplus command window, as you say?

    I tried this:

    sqlplus username / @connection string--> Hit Enter: request password, it does not recognize the connection string to connect to.

    sqlplus username /--> Hit Enter: it does same thing again.asks password but gives AMT error adapter after you have entered the password.

    Leave aside the slash:
    sqlplus username@connect_string

  • Problem when using Ajax in the APEX.

    Hi all

    I use this function in my application to overcome the & & problem... This is the query

    DECLARE
    l_counter NUMBER;
    l_o_name VARCHAR2 (2000);
    BEGIN
    FOR rec IN (SELECT distinct FASS. ESCAPE_SC (atct_attr_type), FASS. B ESCAPE_SC (atct_attr_type)
    OF t_new
    WHERE atct_atcl_code =: F41_ATCL_ATT_TYPE_REP_CODE)

    LOOP
    -HTP.prn ("< option value ="' | rec.b |) '">' || Rec.a | ("< / option >");
    dbms_output.put_line (' < option value = "" | ") Rec.b | '">' || Rec.a | ("< / option >");
    end loop;
    END;

    It works very well with any questions...
    But I want to show atct_attr_type at the top of case...
    The use of uppercase letters in the above query...

    Thank you
    David...

    What is the problem with using the UPPER function

    HTF. ESCAPE_SC (UPPER (atct_attr_type))

    in the Query(for loop inline cursor) SQL

  • How to hide the false underscores (_) of af: table when you use the check boxes

    Greetings,

    I was wondering, how to hide the String _ of af: table when a checkbox control are false (0) in JDeveloper 11.1.2.4.0?

    If the box is true, then he have a symbol 'tick' and that was correct, but if its false (0) instead of projection

    nothing, it shows a string of underscore (_) and it looks bad.

    OK I found the solution after all.

    Was indeed a skin problem because I was using the default merge skin and he added this code:

    AF | selectBooleanCheckbox: {no selected icon

    Content: url(/afr/fusionFx-v2/checkMark_NS_readonly.png)

    }

    So, on my current skin, I replace it with this:

    AF | selectBooleanCheckbox: {no selected icon

    content: inhibit;

    }

    Thank you to notice me in the right direction.

  • How to hide e-mail records when accessing content using WebDAV?

    Hello

    We use the hive as IMAP server, and we want to start using it to store files and documents. One of the questions that we found is that booty shows the user e-mail files in the WebDAV folder. How to hide these files to users?

    Kind regards
    Miguel

    Hello Miguel.

    You can't have that. However with the hive, we can store the document in the Inbox folder or create a subfolder containing document - even if it is unusual.
    So if e-mail folders are hidden you will not be able to access documents potentially stored inside.
    However, if this is a real problem, you can always open an enhancement request.

    Kind regards
    Fred

  • How to use Ajax get multiple values in an array?

    Hi All-

    I am using AJAX to get multiple values in a table using example of Denes Kubicek in the following link-

    http://apex.oracle.com/pls/otn/f?p=31517:239:9172467565606:NO:

    Basically, I want to use the drop-down list to fill the rest of the values in the form.

    I created the example (Ajax get several values, 54522 application) on the Oracle site.

    http://apex.oracle.com/pls/apex/f?p=4550:1:0:

    Workspace: iConnect

    Login: demo

    password: demo

    I was able to reproduce his example on page 1 (homepage).

    However, I want to use system generate a table to complete this example and was not able to complete the data correctly.

    Page 2 (method 2) is that I'm struggling to fill the column values. When I checked the item application values in the Session, and values seems to be filled properly.

    That's what I did on this page:

    1 create an Application process on-demand - Set_Multi_Items_Tabular2:

    DECLARE
      v_subject my_book_store.subject%TYPE;
      v_price my_book_store.price%TYPE;
      v_author my_book_store.author%TYPE;
      v_qty NUMBER;
    
      CURSOR cur_c
      IS
      SELECT subject, price, author, 1 qty
      FROM my_book_store
      WHERE book_id = :temporary_application_item2;
    BEGIN
      FOR c IN cur_c
      LOOP
      v_subject := c.subject;
      v_price := c.price;
      v_author := c.author;
      v_qty := c.qty;
      END LOOP;
    
      OWA_UTIL.mime_header ('text/xml', FALSE);
      HTP.p ('Cache-Control: no-cache');
      HTP.p ('Pragma: no-cache');
      OWA_UTIL.http_header_close;
      HTP.prn ('<body>');
      HTP.prn ('<desc>this xml genericly sets multiple items</desc>');
      HTP.prn ('<item id="f04_' || :t_rownum || '">' || v_subject || '</item>');
      HTP.prn ('<item id="f05_' || :t_rownum || '">' || v_price || '</item>');
      HTP.prn ('<item id="f06_' || :t_rownum || '">' || v_author || '</item>');
      HTP.prn ('<item id="f07_' || :t_rownum || '">' || v_qty || '</item>');
      HTP.prn ('</body>');
    END;
    
    
    
    
    
    

    2. create two objects application - TEMPORARY_APPLICATION_ITEM2, T_ROWNUM2

    3. put the following text in the Page header:

    <script language="JavaScript" type="text/javascript">
    function f_set_multi_items_tabular2(pValue, pRow){
        var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=Set_Multi_Items_Tabular2',0);
    if(pValue){
    get.add('TEMPORARY_APPLICATION_ITEM2',pValue)
    get.add('T_ROWNUM2',pRow)
    }else{
    get.add('TEMPORARY_APPLICATION_ITEM2','null')
    }
        gReturn = get.get('XML');
        if(gReturn){
            var l_Count = gReturn.getElementsByTagName("item").length;
            for(var i = 0;i<l_Count;i++){
                var l_Opt_Xml = gReturn.getElementsByTagName("item")[i];
                var l_ID = l_Opt_Xml.getAttribute('id');
                var l_El = html_GetElement(l_ID);    
                if(l_Opt_Xml.firstChild){
                    var l_Value = l_Opt_Xml.firstChild.nodeValue;
                }else{
                    var l_Value = '';
                }
                if(l_El){
                    if(l_El.tagName == 'INPUT'){
                        l_El.value = l_Value;
                    }else if(l_El.tagName == 'SPAN' && l_El.className == 'grabber'){
                        l_El.parentNode.innerHTML = l_Value;
                        l_El.parentNode.id = l_ID;
                    }else{
                        l_El.innerHTML = l_Value;
                    }
                }
            }
        }
        get = null;
    }
    </script>
    
    
    Add the follwing to the end of the above JavaScript:
    
    <script language="JavaScript" type="text/javascript">
    function setLOV(filter, list2)
    {
     var s = filter.id;
     var item = s.substring(3,8);
     var field2 = list2 + item;
     
     f_set_multi_items_tabular2(filter, field2);
    }
    
    
    
    
     
    
    
    

    4 query in the form:

    select
    "BOOK_ID",
    "BOOK",
    "SUBJECT",
    "PRICE",
    "AUTHOR",
    "QTY",
    "BOOK_ID" BOOK_ID_DISPLAY
    from "#OWNER#"."MY_BOOK_STORE"
    
    
    
    
    
    

    5. in the column of Book_ID_DISPLAY attribute:

    Add the following code to the attributes of the element: onchange = "javascript:f_set_multi_items_tabular2(this.value,'#ROWNUM#'); »

    Changed-> onchange = "javascript:setLOV(this,'f03'); »

    Now, T_ROWNUM2 returns the value as f03_0001. But TEMPORARY_APPLICATION_ITEM2 returns in the form [object HTMLSelectElement]...

    Please help me to see how I can fill the data in the tabular presentation format. Thank you in advance!

    Ling

    Updating code in red...

    Ling

    LC says:

    Application Item Value Item Name
    54522 3 TEMPORARY_APPLICATION_ITEM2
    54522 f03_0003 T_ROWNUM2

    No T_ROWNUM2 should be 0003.

    I made a copy of your page to make corrections.

    There are several problems.

    First you where submiting T_ROWNUM2 whereas you would use: t_rownum in the pl/sql code.

    I changed the name of the element in the f_set_multi_items_tabular2.

    Secondly you where now affecting the rownumber f03_0001 for the first line.

    Resulting XML returned as follows.

    this xml genericly sets multiple items
    CSS Mastery
    22
    Andy Budd
    1
    
    

    I changed the following text in the show_lov.

    var point = s.substring (4.8);

    var Field2 = item;

    I also had a compilation of pl/sql code error, there was a); missing the end of the last item. Fixed that too.

    But why do you think lpad won't work for lines 10 and more.

    LPAD ('10', 4, '0') will give "0010"

    LPAD ('100 ', 4,'0 ') will give "0100"

    LPAD ('1000 ', 4,'0 ') will give '1000'

    So unless you have more than 9999 lines you would have no problem.

    Nicolette

  • How to hide a clip (mc) when the. Open SWF files?

    Hello

    How to hide a clip (HideMe_mc) who is on stage, when I opened my. SWF file? The user can display it whenever he needed.

    I am using Actionscript 03: Please help me with the code.

    Thank you.

    In the first train where HideMe_mc appears that you can use...

    HideMe_mc.visible = false;  Use true to make it appear

  • How to reduce the volume of alerts in FF when using webmail without lowering the system volume (Mac)?

    I use Mac OS 10.6.8.
    When I access my webmail via Firefox, I get a Twitter hard whenever I have send or receive a new email.
    I contacted my ISP (Optimum) and they said tell Firefox to my computer to make the sound. They say that they have no control over it.
    I tried to reduce the volume of alerts in my system prefs, but it has not affected the volume of FF.

    How reduce or disable volume in FF when using webmail without lowering system volume?

    Thank you!!! The 'sound' button off in their preferences. Fixed. (It was so freakin ' fort!)

    I, in turn, chatted with Service to customer of Optimum and tells them that they must tell their supervisor to better educate their own service to the customer, instead of passing the ball. We'll see.

    Let contributors Mozilla smart to not return the ball.

  • How to hide the names of the recipients when I send an email to many people?

    I'll send a message to a lot of people I know, and I think that some of them would rather not showing e-mail addresses. How to hide the?

    You use the BCC (blind carbon copy) field instead of the CC field to prevent one of the most complete list.

    Probably there is a button on the edit page to reveal this field.

Maybe you are looking for

  • I install Windows xp sp2 and insert the product key but it says it failed.

    Hi, this is Rohit.I have a big problem I have buy windows xp sp3, and after 6 months or more my o/s computer corrupted, then I install Windows xp sp2 and insert the product key but it says that it is fail... So please tell me what I can do... Please

  • background movement

    I will move across the country next month and do not know how I should prepare my HP 6100 all-in-one printer for the move. Remove the ink cartridges, I guess. Anything else?

  • Reinstall Windows 7 since the recovery on a laptop Dell Inspiron N5110 Partition after FORMATTING of C:

    Hello I desperately need HELP! I formatted my laptop Dell Inspiron N5110 and reinstall a copy of windows 7 after noticing several virus on my pc. But I doesn't not delete or format the Partition recovery. The recovery partition is intact. I now have

  • problem with the activation of my subscription of the cc

    Hey nice community.I bought the cc study version 10 days before and I am in the trial version now. But when I want to the the license product, PDApp finds no subscription. And when I want to check my subscription in the browser fine. Here, I can see

  • Need XP driver Pavilion a6703w desktop PC

    Hello The hard drive died in Pavilion a6703w from my mother-in-law. I had to install XP on the new drive and after installation, Miss me a lot of pilots. I looked everywhere I can think of to find them without success. Indicating not installed driver