setpoint before call to javascript

Hi all

I do not know how to implement this - any help will be great :)

I have a report based on an sql query.
within this report, I have a dynamic LOV.

When the user chooses the lov 'Cancel' and push the button submit, I want a popup to appear.
so in my process (after submit)
I have the following code:
     elsif vRow = 'Cancel Job'
     then
          APEX_UTIL.SET_SESSION_STATE('P5_CANCELJOB', 'Y'); 
I have my html the following header:
<script language="JavaScript" type="text/javascript">
  function callMyPopup ()  {
    var url;
  url = 'f?p=&APP_ID.:9:&SESSION.::&DEBUG.::';
  if ($v('P5_CANCELJOB') == 'Y' ){
  w = open(url,"winLov","Scrollbars=1,resizable=1,width=800,height=600");
  if (w.opener == null)
  w.opener = self;
  w.focus();
  }
  $v('P5_CANCELJOB').value='N';
  }
</script>
and on my button, I have the following:
javascript:callMyPopup();doSubmit('RELEASESTEP');
My problem is I choose cancel job, then untap step button and this java script call then first run the process
However, the process defines the P5_CANCELJOB element which where the popup

don't know how to get around this problem

any advice would help

concerning

Fizlar

You got me ;-)

I've never actually tried it myself, but possible 2 solutions:

(1) creates a branch to the Page or URL and use ' javascript:openPopupProcedureHere();

(2) creates a branch to the same Page and use a conditional HTML area listening on your REQUEST and a few HTML-JavaScript-code in there:


hope that helps a little,

Peter

Tags: Database

Similar Questions

  • Error when you try to call the Javascript function in the ActiveX Web browser

    I have a requirement to call a Javascript function in a web page that is displayed in the browser's ActiveX control.  I have the control on the front panel, and I use the Navigate method to call to the top of the appropriate page.  Based on an example, I found, I'm trying to get a reference to the HTML Document so that I can then get a reference to the Fenetreparent.  There is a method of the HTML Window object called execScript who I'm calling.  See the attached image of the code (reference close calls do not appear, but when I run it, they are there).

    I can't the node property that returns the parentWindow reference.  The error I get is the following.

    Error-2147467262 LabVIEW: (Hex 0 x 80004002) No. taken such interface supported.

    Any ideas on where to go from here?

    Hello

    I have reproduced the issue and the error you are seen and tried to understand what is the solution.

    It seems that the problem is with getting the pointer to the parentWindow.  From what I read on MSDN, it's maybe a limitation in the use of an ActiveX control in LabVIEW. It seems like Internet Explorer creates the object of the window, and so opening in one ActiveX control you free access to this top-level object.

    Here could be workaround for javascript execution in your program:

    I would like to know if it works for you and if it will work in your program.

  • How do I know if a VI is already running before calling Start Asynchronous Call?

    The new node to start the asynchronous call is great for the spawning of several instances of the reentrant vis.  However, I fell a little bit using for screws not reentrant the old practice of using the method "Run a VI" would allow us to check the Execution.State of the VI before calling the method to execute.  This way if the State was running or running at a higher level, we could spend the invoke node and just use a property node to open the front panel.  With the starting node the asynchronous call, it seems that we must use a strictly typed static VI reference, and when we open the reference VI, VI gets booked and his Execution.State = running.  So, how whether it is not only reserved by wire, but actually running before calling Start redundant?

    Moreover, the redundant beginning has an interesting behavior.  Actually, it will cause the targeted VI must be performed again after it stops.  Even if you tap the Abort button on the target VI, it run immediately still and always the same number of times as the starting node the asynchronous call is executed.  There is nothing wrong with that, and I guess the simple answer is to simply go back to the old method of "run a VI.  It's just that ability over these inputs directly to the connector pane is so nice.  Maybe missing me something obvious.  Oh, I am referring to the call and forget mode (0x80).

    Thank you

    Dan

    Maybe missing me something obvious.  Oh, I am referring to the call and forget mode (0x80).

    Yes you have forgotten that he forgets the Run method always seems to be a better choice for this mode

  • Flash cannot call the javascript function in the local html file

    Hello!

    Us is to develop our first application on Playbook. It is an html file including a flash file and javascript code. Everything is packed in. in the file bar, a config.xml file and has been correctly loaded into the Playbook. Everything works locally (no web access)

    Everything works well except when we use an ExternalInterface.call("saveglobalscore",score) in flash that calls a javascript function in the .html file.

    In the actionscript3, we selected the "authorized local file access" and put the 'Security.allowDomain("*) '.

    Any ideas? Thank you!

    External interface tries to access the files packaged locally is currently a known issue.  I have not really of a calendar when or if this can be resolved.  It may be in the code base of flash.

  • Call a Javascript function in a Captivate 7 Web page

    Hello

    I try to call a javascript function in a web page to Captivate 7. The call is an output of blade event. When I saw the (F4) project, I have a prompt that displays a javascript function is called and told me to display in a web page. Of course, which is perfectly logical. However, when I go to the same project in the hml with the necessary Javascript function in page, I get nothing. The script is a simple that displays an alert.

    I made sure the SWF in question is defined in the global security settings. I know that the javascript function is correctly formatted.

    Can someone please give me an example of how to "execute Javascript" call of Captivate to a function residing in the html page please.

    Any help is appreciated.

    Don't just add the SWF file to the Flash security locations overall of confidence.  Add the entire folder containing all the files published, or better still, a level that contains all your published Captivate projects so that you never have to worry about Flash security issues again.

    Also, if it still does not work, I would try the same running JavaScript with a different event than the event output slide.  It can be a little bit reliable.

  • Call from JavaScript to AS3 bar reading

    Platform: Captivate 7

    Source: AS3 (obvious, I hope!)

    Output: Flash v10

    I make a unique version of one of the default player bars.  I'm doing the Exit button call a JavaScript function using the following code:

    var btnTipsId = 8;

    function onClicked()

    {

    to import flash.external.ExternalInterface; //Register ExternalInterface

    ExternalInterface.call("saveglobalscore",score) ("closeModule ()"); //Call JS to close Div

    / / parent.onPBCBtnClick ("exit");

    }

    As you can probably see, I don't want to Exit button to close the module with the way she normally does.  My 'closeModule()' function removes a Div layer that hosts the Captivate.  I know it works as we use it in other places.  The problem I encounter is strictly in obtaining the PlayBar to call this JavaScript instead of its function by default 'parent.onPBCBtnClick ("exit");".

    Any ideas?

    Try calling closeModule without the parentheses:

    ExternalInterface.call("saveglobalscore",score) ("closeModule");

  • Call a javascript function in the Value attribute of param

    Hello

    I want to put a TLF text field in the SWF file in an HTML page. So I used flashvar, by calling a javascript function to it attribute "value" as follows.

    < param name = FlashVars value = "" + SetFlashMovieParam() + "" id = "message" / > "

    SetFlashMovieParam() is a javascript like the following function.

    function SetFlashMovieParam() {}

    document.getElementById("message").setAttribute ("value", "msgText = Start");

    }

    Even if this does not work, when I put the text value directly to the 'value' attribute, it worked.

    < param name = FlashVars value = "msgText = here % 20is % 20The % 20text" id = "message" / > "

    I think it's because calling a javascript function syntax error in the param tag. Can anyone help to call this function properly...

    Thank you.

    Normally when you have an executable code embedded in the html code you should check that article accordingly.  In the case of javascript surround you with

  • How to call the javascript function in ADF

    I have the javascript function stored in a .js file external (try to reuse in another application). How can call the javascript function for an event of ADF faces component. I need to I am a newbie to ADF, all ideas are appreciated.

    Kind regards
    Surya

    Published by: sgodavar on Sep 24, 2010 11:44

    Include JavaScript to the jsff/jspx as page:

    Call it like:

    Type = "dblClick" / >
    Amit

  • Can LOV in report - I call a JavaScript on change?

    Hi I have a lov in a report. I want to do is call a JavaScript on the evolution of the value?

    is this possible?

    Thanks in advance

    Hello
    Just edit the column and put your onchange statement in the attributes of the element.
    Kind regards

  • New path before calling ExternalInterface.call("saveglobalscore",score))

    When click on a component button (called btn_Connect here),
    I want to display a message in a label (lbl_Status here)
    before calling a long-term fscommand() function.

    But there is no action until the fscommand() is completed.

    How can I do?

    Thank you
    Joseph

    Part of my ActionScript code is below.
    My flash application has only a single image.

    To redraw the flash and deal with other possible user interface events,.
    I changed my c# code so that the long task can run in a separate thread.

    Now, everything works fine as I had hoped.

    Joseph

  • Call the javascript function by hovering the mouse over the tab

    Hi all
    I have an application with a level tabs. I want to call a javascript function to the mouseover of the standard tab please help as soon as possible.

    Thanks in advance

    Hello

    Go to the page template and scroll the tab Standard attributes. In my current theme which has a line that looks like this...

    #TAB_LABEL##TAB_INLINE_EDIT#
    

    You could change this

    #TAB_LABEL##TAB_INLINE_EDIT#
    

    Or make reference to a function that you included in the header.

    Alternatively, you can make the same change to no current tab.

    Is that what you mean?

    See you soon

    Ben

    Published by: Munky on January 14, 2010 11:34

  • Call the javascript of customized phase listener method

    Hey guys,.
    I am currently integrating an ADF with another web application custom application, for this - I wrote a custom listener phase and in its afterPhase() I need to call a javascript method, which will proceed with a treatment for me. For icefaces, we have something like com.icesoft.faces.context.effects.JavascriptContext.addJavascriptCall (facesContext, jsmethod); but I couldn't find something similar here in BAA. Advice/suggestions will be appreciated!
    Thanks in advance.

    Hello user,.

    Import org.apache.myfaces.trinidad.render.ExtendedRenderKitService;
    Import org.apache.myfaces.trinidad.util.Service;

    ExtendedRenderKitService service is Service.getRenderKitService (FacesContext.getCurrentInstance (), ExtendedRenderKitService.class);.
    Script of StringBuilder = new StringBuilder();
    script. Append ("alert ('hello from phase listener ')");
    service.addScript (FacesContext.getCurrentInstance (), script.toString ());

    I hope that's what you're looking for

    concerning

  • call a javascript extension

    Hey

    I am very new to Blackberry/Java development if any help would be great.

    Using the tutorial on how to create blackberry javascript extensions that I wrote a very simple extension that will download a file from you.  Everything seems fine, I can export the JAR but I get the following in eclipse warning:

    Description Resource Path Location Type
    Signing Required: RIM Blackberry Apps API (0x52424200): Import uses protected Class net.rim.device.api.web.WidgetConfig ByteReaderExtension.java /TribalWorksByteReader-OS6/src/tribal line 5 BlackBerry Protected API
    

    When I try to use the extension to javascript in my application webworks, nothing happens.  Simply, it stops and does not receive from past the line, where I make my call.

    alert("before extension call");
    tribal.download.downloadFile(remoteFile, localFile);
    alert("after extension call");
    

    In the emulator, I get the first alert, but not the second.  I'm also a few calls from Dialog.alert in my extensions javascript that ever fire.  Kind of I'm stuck at this stage since there is no errors so I don't really know where to start.

    Someone knows something similar or know how I can fix this?

    Packer widget 1.5

    OS: 6.0.0.337

    Device: 9800

    I am also to build my javascript extension nuer Blackberry JRE 6.0.0

    Edit: I'm also compiling the application with bbwp.exe

    Thank you!

    Chris

    I thought about it.

    I used a file struggle to update the index.zip and compile it with bbwp.exe.

    I forgot to add the ext for the zip folder.

  • Use about Central button mouse to call the JavaScript function question

    I want to use the mouse middle button to call the function JavaScript (< a href = "javascript:help ()" >) help() opens a new window and directly to the Help Page of my GUI, but when I click on it with the middle button, it will open new tab blank Page that url = "javascript:help()"; " can't help executive function... What is a Firefox Bug or a correct behavior in Firefox? I thank.

    You must use left click to manage JavaScript links.

    See also http://kb.mozillazine.org/browser.link.open_newwindow.restriction

  • app calls html/javascript kernel written in c / c ++

    Wonder if I can use html/javascript to call core application written in c / c++.

    I hope to put some entensive of calculation for the module written in c / c ++

    Is this possible?

    Welcome to any comment

    Hello. WebWorks for BB10 extensions are on the road ahead, and for now, there is an example of how to write a native extension with a JS source that will be used to the WebWorks app. See the discussion on the extension BB10 WebWorks, I've referenced the example in there.

Maybe you are looking for