The use of Javascript in the button Clear Cache

Hi all

I created a button and under optional URL redirection of the clear Cache, I wrote the page number to clear cache pages, but now I use target as "URL" and the target URL under: -.
JavaScript:XYZ();

and JS in HTML header is: -.

< script language = "JavaScript" type = "text/javascript" >
function xyz()
{
var response = confirm ("are you sure?")
If (response)
{
Window.Location = ' f? p = & APP_ID.:9: & APP_SESSION. »
}
on the other
{
do something else
}
}
< /script >

I am therefore able to redirect the user to page 9, but with what I want also to clear cache certain pages (say for ex:-page 5, 6 and 7), so how can I write under URL


can someone help me?


Thank you


Deep

Hello

Page 27 of clearing cache to be directly, using the good f? setting clear cache p. Using the value of the claim is to do it manually the APEX motor is done for you, automatically.

It seems to me that something doesn't work correctly with your specific page. After answering the question of why Larry you think that the page cache is net clear, you should try to rebuild your situation on apex.oracle.com.

Kind regards
Arie.

Tags: Database

Similar Questions

  • Firefox crashes when I press the button clear cache. Please tell me how to fix this. Thanks in advance.

    Firefox uses a lot of memory and slows down considerably. I tried to clear the cache, but this browser caused from freezing. I rebooted, rebooted and upgraded to 5.0 with no improvement. Please notify.

    I have Firefox 6.0 running on Vista.

    I have a sneaking suspicion that the subprogramme which 'clears the cache', et al, has a incomplete, incorrect disposal problem, "in use" or "infinite loop" elements, such that it crashes when you try to do.

    After a few tries, I found that the best way to solve this problem is to do the following (it is easier than it sounds):

    (1) close all tabs of Firefox and Firefox windows

    (2) lance the Task Manager and stop all processes "Firefox" (i.e., it is possible that more than one may be running, even if you did all of the step (1)).

    (3) go to the folder Firefox cache, usually located in < system drive > \Users\ < your personal folder named > < something > \AppData*\Local\Mozilla\Firefox\Profiles\. default\Cache and destroy everything that appears under this directory (n. b., you should not require administrative level to do this, if so, try to do this in 'Safe' Mode). {* AppData may be a "hidden" folder}

    (4) start Firefox, select Tools-> Options->
    Advanced-> network-> clear now.

    (5) close Firefox.

    (6) restart Firefox.

    Firefox ran faster after that I did.

    Good luck!

  • Why are what the buttons 'Clear' and 'Junk' repleased with the button 'archive' (only for one of the accounts)?

    Hello

    I must have changed a parameter, so that the 'Clear' and 'Junk' buttons above the mail pane disappeared, and a button 'Archive' appeared instead. It is true that for my mail via Gmail (IMAP), but when I opened an e-mail from my account (POP), I still see the button 'Clear' and 'Junk '.

    How can I fix?

    Thanks in advance
    Ayse

    Try this:

    Select an e-mail who don't watch all the correct buttons in the section above the message header information itself.

    Right-click on the empty area just above 'Other Actions', you should get a window saying 'customize '.
    Click on "Customize."
    opens in a new window.
    You can drag items on the header area, but I suggest that you click on the 'Restore Default Set' button, then click on the "Done" button.

  • How can I restore my downloads after accidentally hitting the button clear the list?

    I was going to transfer my downloads on my Media Player, but accidentally, press the button clear the list. Is there any way I can cancel my mistake? I paid for these downloads. They were time sensitive, so I can't go back to the original path.

    They must stay in the folder downloads of origin unless you changed it in Start, the home page, tabs and download parameters.

    In Windows, click the start icon, then computer. Look on the left for the 'Downloads' folder You can find ESL it typing downloads in the box "search programs and files" on the start menu.

  • cpEIGetValue - the use of Javascript on a button

    What I'm doing:

    The user works with the content and the input of information in a number of places.  At the end of the content entered information are formatted specifically in a legend of test using the associated variables.  I need to also be able to provide this information in a way where they can select and copy the text, which is not possible in a SWF or out of HTML5.  My solution was to add a button to a page and use JavaScript to open a new browser window/tab and displays the output.  It comes to Cp8.

    The code works well (except for Cp components in a javascript interpreter, but doesn't seem to work at all in the Cp.  I activated the Flash security so that objects will run.

    The JavaScript in question isn't pretty, but it will do the job.

    create a window

    var winout = Window.Open ();

    connect to Cp

    var cp = document. Captivate;

    get the value of Text_Entry_Box_1

    T1 var = cp.cpEIGetValue ("m_VarHandle.Text_Entry_Box_1");

    create the output

    output var = "< html >".
    output += '< body > ";
    output += ' < h1 > your problem statement < / h1 >. "
    output += '< p > you can select and copy your statement of the problem of this window and paste into Word or PowerPoint to continue to refine your problem statement. < /p > ";
    output += '< p > ';

    output += t1;

    output += ' < /p > < / body > < / html > "

    the output display
    WinOut.document.Write (output);

    If I remove the Cp-specific code, it works in the javascript interpreter.  If I fix this code to a button by setting the action "Execute JavaScript" and insert the code in a javascript window and publish, the result is odd.  When I launched my published file and press the button to run the javascript code, IE displays the "File download" dialog box and tries to save the file without a name.  It is a problem of javascript code, but I can't understand it.  If I can get this working, I can add the rest of the variables and this fact.

    Thank you

    Chris

    Wrap your original script in a function:

    function openPopup()

    {

    create a window

    var winout = Window.Open ();

    connect to Cp

    var cp = document. Captivate;

    get the value of Text_Entry_Box_1

    T1 var = cp.cpEIGetValue ("m_VarHandle.Text_Entry_Box_1");

    create the output

    var = exit"";
    output & ="";
    output & ="

    Your statement of the problem

    ";
    output & ="

    You can select and copy your statement of the problem of this window and paste into Word or PowerPoint to continue to refine your statement of the problem.

    ";
    output & ="

    ";

    output += t1;

    output & ="

    ";

    the output display
    WinOut.document.Write (output);

    }

    then the button call javascript:

    openPopup();

    You could even do a little more dynamic and send the variable in the function, so you can use it again and again.

    function openPopup (myText)

    {

    create a window

    var winout = Window.Open ();

    create the output

    var = exit"";
    output & ="";
    output & ="

    Your statement of the problem

    ";
    output & ="

    You can select and copy your statement of the problem of this window and paste into Word or PowerPoint to continue to refine your statement of the problem.

    ";
    output & ="

    ";

    output += myText;

    output & ="

    ";

    the output display
    WinOut.document.Write (output);

    }

    then the button call javascript:

    var cp = document. Captivate;

    getText var = cp.cpEIGetValue ("m_VarHandle.Text_Entry_Box_1");

    openPopup ("getText");

  • The use of JavaScript with radio buttons selected to assign a variable a value

    Hey everyone, a little new in Java and try to create a form for my work to request leave.  My problem is that I'm trying to assign a variable a value if the user clicks on a radio button or another.  Currently, they are incompatible with the following information:

    Name: Radio

    ToolTip: choice

    Button Style: check

    Radio button choice: Yes (this is the value of exports, that I think that I'm not sure how to use it correctly)

    nor is checked by default, but if a box is checked, I would have a variable defined on the "Approved" text, and if the other radio button is checked I would define the variable contains "disapprove".

    Here is my code now and thanks in advance for all the help:

    var S_auth;

    function auth() {}

    If (Radio.value == 'Yes') {}

    var S_auth = "approved";

    }

    else {}

    var S_auth = 'denied ';

    }

    }

    var employees = this.getField("Emp_Name").value;

    Supervisor of var = this.getField("Supervisor").value;

    var Leave_Type = this.getField("Dropdown2").value;

    var cToAddr = [email protected];

    var cCCADDr = this.getField("Email").value;

    var cBenAddr = this.getField("Sup_Email").value; If (cBenAddr! = "") cCCADDr += ';' + cBenAddr;

    var cSubline = "Re: leave request form for" + "" + employee + ', ' + Leave_Type + ', Status: "+ S_auth;"

    cbody var is 'your request for leave was' + S_auth + 'by' + supervisor. \n' + 'save the attachment of e-mail for your records. \n » ;

    this.mailDoc({)

    bUI: true,

    cTo: cToAddr,.

    cCc: cCCAddr,.

    bassujetti: cSubLine,

    CMSG: cbody

    });

    I honestly just want to have the subject line and the body to be able to show approved or disapproved according to which radio button, the project manager chooses.

    Yes, your script is now correct and should work.

  • Why can't I click on the button "empty the Disk Cache?

    As you can see, the button 'clear disk cache' is gray... What are the things that cause this and how can I solve this problem?

    Simple question, but could not find an answer elsewhere. Thanks for any help!Screen Shot 2016-01-27 at 11.04.29 AM.png

    Perhaps one of the reasons is that there is nothing in the disk cache.  Have you confirmed that there is something in it?

  • Show or hide the buttons of the model using JavaScript

    Can someone tell me to know to disable, show and hide the buttons of the model using JavaScript? In my case, I use AJAX for validation and the validation failed, I want to deprive the person's ability to submit the form. I did successfully using the HTML buttons but they seem ugly and do not correspond to the theme of the application. I really want to do using the model based buttons. Anyone know the answer to that?

    You can find that here:

    http://Apex.Oracle.com/pls/OTN/f?p=31517:143

    The only problem you have to solve is to assign an id to each template button. Rather than use an id string coded hard = "buttonHide1" as in my example, you could use id = "" #LABEL # "If there are a lot of different buttons you need to display / hide on a single page." However, at the same time make sure that the processes are also conditional and follow the logic. To hide a button, this isn't a guarantee that a process can not be executed.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

  • Cannot use yahoomail in firefox, but can in chrome. clear cache etc, javascript must be enabled, United Nations-and-re-installed firefox... still the same

    The yahoo mail page appears as normal, but the buttons on top are missing and I can't open an email even if recent emails are there right in front of me. Have tried everything I can but its still the same. Works fine on Chrome so Im using it, but I liked Firefox.

    Hmm. It could be a corrupted file that was replaced. Please report your last post as solved while others will know.

  • How to set a value of outputText 0 during the click on the button cancel using javascript

    Hi Experts,

    JDEV version 12.1.3.0

    I have an outputText at the foot of the column. And I have a button cancel on the top of the page. Then click on the button cancel. How can I set the outputText zero value.

    Thank you

    AR

    Hello

    Please check the labour code. Make clientComponent = "true" in the output text.

    function customOutputValue (event) {}

    var buttonComponent = event.getSource ();

    Find the client component for the af:outputText 'greeting '.

    var oComponent = buttonComponent.findComponent ("ot1");

    Set the value of the outputText component

    oComponent.setValue("0")

    }

    >

    Thank you
    Amey

  • Open a read-only text field using the button and javascript

    Hello

    I have a form with text fields that I préremplira data. The text fields will be in read-only by default. I want to ensure that when a user wants to make changes, he will need to click on a button and in turn, background of the text field will become gray and he can make changes to the text field. I can already do gray running in background, but I can't make the text box open.

    This is the code that will run after the button is clicked:

    color.ltGray = new Array ("G", 0.75);

    this.getField('TestField').fillColor = color.ltGray;

    this.getField('TestField').access = "open";

    Background of the text box becomes gray, but it is always read-only. Any ideas?

    Thanks in advance!

    If you have created the form in Acrobat (as opposed to LiveCycle Designer), change the last line to:

    this.getField('TestField').readonly = false;

  • Stimulant of the button with javascript under a button in pdf format

    Hi all

    Is it possible to stimulate using acrobat javascript or javascript livecycle @under a key press button?

    For ex. I click on a button and who work as Atl + F (File menu) or win + R (run box) under windows.

    Hope this is clear.

    Thank you

    Arvind

    LiveCycle Designer uses the same JavaScript engine that Acrobat and Reader when the LiveCycle form is in PDF format. So, as stated in the form Acrobat JavaScript, the JavaScript engine and capabilities. As explained in the Acrobat JavaScript forum, JavaScript used in Acrobat or Reader is the willingness to 'sand' or very isolated from the JavaScript of your computer program. This was done to protect users of form Acrobat or Reader to run malicious code.

    It might be possible if you were writing a plugin add-on using a computer program have complied and the information provided in the Acrobat SDK kit. You must manually install this program on your system. For others to use the code, you will need to register as a developer with Adobe and have each user to install the code on their system at their own risk.

  • Conditional formatting: press the button run javascript

    I have a few fields of summary of the sections. I want to use a button that when press focuses on these areas and if their individual sums up are superior by some number that I chose, another separate field becomes hidden. Well, I have this part down pretty well, but when I have the clear form, this hideable field becomes visible again.

    Here's what I have so far for the javascript button:

    If ((getField("TOTAL_Y").value = '0') & & (getField("Total_Question").value = '0'))

    {

    getField("exclude_or_include").display = display.visible;

    }

    on the other

    {

    ((getField("TOTAL_Y").value > '0') |) ((getField("Total_Question").value > '4')) ;

    getField("exclude_or_include").display = display.hidden;

    }

    If you use this code in the custom calculation of a hidden text field script, it will update visibility of the field "exclude or include" automatically if you do not have to press the button. It runs whenever a field value changes, which includes whenever the form is reset. In comparison, remove the quotation marks around the numbers if you intend to make digital comparisons.

    This first line should be reduced to:

    If (getField("TOTAL_Y").value == 0) & (getField("Total_Question").value == 0))

    What do you what that line of code do? :

    ((getField("TOTAL_Y").value > '0') |) ((getField("Total_Question").value > '4')) ;

  • Proposals feature: possibility to add the button to enable/disable JavaScript and Flash easily? The lack of horizontal navigation.

    It is very useful and safe to disable JavaScript and Flash is not needed. But sometimes they must be used.

    It's too frustrating toggle JS menu, and No-Script add-on is not very practical. It would be better if it had the button toggle to enable or disable JavaScript. Also necessary for Flash. You could implement this simple feature for the next update.

    Also: Ealier, it was possible to navigate horizontally rss-buttons and tabs of arrows. Later, this feature has been removed. Could get it back you.

    This module includes a button to toggle JavaScript market / stop.

    https://addons.Mozilla.org/en-us/Firefox/addon/QuickJava/

  • Apex - disable the button using PL/SQL code

    Hi all

    I use a PL/SQL code to get a DB value, depending on the value that I need to disable the buttons on the Page.

    I tried code below

    IF : P2_FLAG == ' not THEN

    HTP.script ("document.getElementById ("SUBMIT") .disabled = false;", "Javascript");

    END IF;

    It is said screw the page saying - the/apex/f requested URL was not found on this server

    I use Apex 5.0, please need your contributions.

    Hello

    However, if you want to show/hide the button, you can use conditions:

    Open the properties of the button and put Conditions such as "Item = value '.

    Point - P2_FLAG

    Value - N

    To turn on or off, you must run ajax with jquery to get the DB value before charge and then print button.

    It may be useful

    Sunil Bhatia

Maybe you are looking for

  • Real email from Apple?

    I received a bill from iTunes saying: I bought an album that wasn't me.  I'm suspicious that the e-mail address doesn't look like an address from apple is a phishing email?  He was sent by the sender below - [email protected] I changed my p

  • Z420 HP: HP Z420 support gtx 980 ti

    HelloDoes HP Z420 support GTX 980 Ti GPU?There are some problems, I am facing1. I put GTX 980 Ti GPU and changing the corsair PSU AX 860i but system does not work on2 - when I put GTX 980 Ti GPU and power separately yet system giving the beep and the

  • How to uninstall the program: ATGinaHook.dll

    The Welcome to Windows screen switched back to the original, slower screen and when I try to put back the message that arrives the program ATGinaHook.dll must be uninstalled for it. I didn't install it and can't find it to uninstall. How can I find i

  • How to restore Windows Vista to factory settings after a format of partition?

    HOW CAN I RESTORE TO FACTORY VISTA NINE AFTER PARTICIPATION FORMAT original title: HOW can I RESTORE FACTORY NEW VISTA AFTER PARTION FORMAT

  • My id and bb app world blackBerry smartphones

    Hai, I have a problem I can not use my app world. And I have a time of I'd.every bb I'll app World he's asked me that I would update needed.install I would like to now then I say yes, but after a few seconds it says installation failed