Run  one Process without Button Click

Hi Guys,
I created one report using a simple Select.
select ID_FACTURE,
ID_NUM
from FACTURE
In Report Attributes I edited ID_FACTURE and in Column Link I put this:
Link Text: <img src="#APP_IMAGES#delete.png"; border="0">
Target: Page in this Application - 58
item1: P58_ID_FACTURE Value: #ID_FACTURE#
So, my report is showing me the way that I want. When I click in the delete img the item P58_ID_FACTURE is getting the right value.
I created one processes (Type :*PL/SQL anonymous block* ) to delete the row that I want.
But it is not working, because it supposed to be one button.
Anyone knows how I can cheat Apex to do it?
Thanks

If anyone wants to add a pop-up just add this code
javascript:{if (confirm('Voulez-vous effectuer cette action de suppression?')) redirect('f?p=&APP_ID.:58:&SESSION.::&DEBUG.::P58_ID_FACTURE:#ID_FACTURE#');}
:D

Similar Messages

  • Run an animation at button click

    Im developing a game and this is the concept:
    A target is moving at a constant speed (i used a thread which sleeps for a number of milli.sec )
    Once the FIRE button is clicked a stick moves to a particular distance ans hits the target
    (For stick ,I used a sprite which performs an animation which is 10 frames long ) I want this animation to occur once ,every time the user click the fire button.
    The problem is that stick animation does not always run smoothly, sometimes it runs for 3 or 4 frames and stops.
    I have given part of the code below. please tell me how to run 2 threads without one depending on the other.
      public void keyPressed(int keyCode) {
        int action = getGameAction(keyCode);
        if (action == UP) {
        else if (action == RIGHT) {
        else if (action == DOWN) {
        else if (action == LEFT) {
        else if (action == FIRE) {
          isHit = true;
          repaint();
      public void keyReleased(int keyCode) {
        isHit = false;
    public void run() {
        int i = 0;
        while (true) {
          try {
            repaint();
            sprite_target.nextFrame();
            thread_target.sleep(200);
            if (isHit) {
              int k = 0;
              while(k<11){
                repaint();
                sprite_stick.nextFrame();
                thread_stick.sleep(20);
                k++;
                if(k==10){
                  isHit = false;
                  break;
          catch (InterruptedException ex) {
      }

    on Fire event, start a new Thread or call a new class who implements Runnable and
    start this thread
    public class AnimationHandler implements Runnable{
      // don't forget try and catch
      // you can also put a MAX_PRIORITY to this thread !
      public void startAnim(){
        thread.start();
      // the animation will be stopped when it is finished
      // you can do it in the run() method
      public void run(){
        while(playing){
    public void keyPressed(int keyCode) {
      else if (action == FIRE) {
        AnimationHandler ah=new AnimationHandler();
        ah.startAnim();  
    }

  • Need to run fmsedge process without root access

    1937396
    On Linux, the fmsedge process needed to run without root access.

    I see that in the release notes
    new in this release:
    1937396
    On Linux, the fmsedge process needed to run without root access.
    However I have not found any documentaion on how to do this?
    I would love to run the fmsedge process run as non-root so tht root does not own the 1935 listening port.
    fmsedge   26837  root   19u  IPv4  4007676       TCP localhost:19350 (LISTEN)
    fmsedge   26837  root   24u  IPv4  4007679       TCP *:1935 (LISTEN)
    fmsedge   26837  root   35u  IPv4  4007717       TCP localhost:19350->localhost:59625 (ESTABLISHED)
    fmsedge   26837  root   57u  IPv4 26532589       TCP localhost:19350->localhost:58913 (ESTABLISHED)
    This appear to not be the default setup.
    Thanks in advance if anyone has tackled this!

  • Scoring one of three button clicks on a single screen - can it be done

    I have captured an Assessment simulation (in Captivate 5). On one screen there are three legitimate places a person can click to move to the next screen - any of them would be correct.
    At the moment, each is being tracked for a point on the Quiz, but only one of them is needed. Which means people are getting 18/20, when really it should be 18/18.
    I can't believe this cannot be done in Captivate, since there must be many systems, where more than one choice can be the correct one.
    I saw a previous thread, which indicated that this cannot be done in Captivate, but I wanted to check again and see if there is some kind of solution to this.
    Thanks
    Helen

    You are correct that this cannot be done with standard Captivate functionality but it can now be done using the Interactive Master Widget.
    What you do is turn off reporting for each of the clickboxes or buttons that would currently be correct (so that they do not report to the quiz) and then add each of these objects to the Master widget as Slave Objects.  The Master Widget is set up to report its own success and score to the quiz when it detects ANY of the other interactive objects have been clicked.
    This means that no matter which of the correct objects the user clicks, they get the same score reported to the quiz and no penalty for not clicking either of the other two correct options.
    You can download a trial version of Interactive Master Widget here.
    You can purchase the widget either as a single widget or as part of a discounted combo pack with other widgets here.

  • Control two functions on one button click

    Hello,
    first off, I am relatively new to actionscript 3.0. I was
    wondering if anyone knows how I can control two events on one (the
    same) button click. On click, the first function must jump the user
    to a particular frame label and at the same time trigger a second
    function which is a movie clip on that particular frame. I must
    note that the event listener is attached to an actual Button and
    not a movie clip.
    Any help would be greatly appreciated.

    Thanks for the quick response. I tried out your solution but
    I get the following error...
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at index_fla::MainTimeline/rev()
    at index_fla::MainTimeline/resources()
    I also tried to create another event listener on Mouse_UP
    ex:
    topNav1_btn.addEventListener(MouseEvent.CLICK, resources);
    topNav1_btn.addEventListener(MouseEvent.MOUSE_UP, rev);
    but I get another strange error...
    ## [Tweener] Error: [object MovieClip] raised an error while
    executing the 'onComplete'handler.
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at MethodInfo-218()
    at Function/
    http://adobe.com/AS3/2006/builtin::apply()
    at caurina.transitions::Tweener$/updateTweenByIndex()
    at caurina.transitions::Tweener$/updateTweens()
    at caurina.transitions::Tweener$/onEnterFrame()
    ## [Tweener] Error: [object MovieClip] raised an error while
    executing the 'onComplete'handler.
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at MethodInfo-241()
    at Function/
    http://adobe.com/AS3/2006/builtin::apply()
    at caurina.transitions::Tweener$/updateTweenByIndex()
    at caurina.transitions::Tweener$/updateTweens()
    at caurina.transitions::Tweener$/onEnterFrame()
    any other thoughts? Thanks in advance.

  • One Process Chain but different schedule.

    Hi Experts:
    I have this issue. I need to run one process chain in different schedule. For example:
    From days 28 to 5 of each month I need to run every hour.
    From days 6 to 27 of each month I need to run every four hour.
    I have BW 3.5
    Do you have any idea How I could do that?.
    Thanks in advanced.
    Message was edited by:
            Víctor Olivera

    Hi,
    maintain variant>change selections>after at operation mode if you further check the double arrow button it will leads you to workday/time screen
    check if it works for you coz' it has following option"Do not execute before"
    cheers,
    Swapna.G

  • Ever since the systyem upgraded me to 3.6.6. I can not even run one eight hour day without firefoc either crashing or locking up which requires me use C/A/Deleate to close the program. I used to be able to run 8 to 12 windows at a time and NEVER lock up

    Ever since the systyem upgraded me to 3.6.6. I can not even run one eight hour day without firefoc either crashing or locking up which requires me use C/A/Deleate to close the program. I used to be able to run 8 to 12 windows at a time and NEVER lock up or crash with the older version. Is this problem being looked into and or being corrected. I use Firefox with Google and my system is XP Pro 32 bit. THIS IS REALLY making me MAD. My email is [email protected] and would appreciate a response to this ASAP. I have tried a couple of items from your help section and nothing works.

    <u>'''Anonymous'''</u>
    Please post a separate question. Thank you. https://support.mozilla.com/tiki-ask_a_question.php?locale=en-US&forumId=1
    <u>'''chris'''</u>
    <u>'''''Crashing'''''</u>
    See:
    http://support.mozilla.com/en-US/kb/Firefox+crashes
    http://kb.mozillazine.org/Firefox_crashes
    http://support.mozilla.com/en-US/kb/Firefox+crashes+when+loading+certain+pages
    http://support.mozilla.com/en-US/kb/Firefox+crashes+when+you+open+it
    http://support.mozilla.com/en-US/kb/Firefox+will+not+start
    http://kb.mozillazine.org/Browser_will_not_start_up
    ''<u>'''Hanging'''</u>''
    See: http://support.mozilla.com/en-US/kb/Firefox+hangs
    <u>'''''Hanging at exit'''''</u>
    <u>'''Kill Application'''</u>
    In Task Manager, does firefox.exe show in the <u>'''Processes'''</u> tab?
    See: [http://kb.mozillazine.org/Kill_application Kill Application]
    '''<u>Causes and solutions for Firefox hanging at exit:</u>'''
    [[Firefox hangs]]
    [http://kb.mozillazine.org/Firefox_hangs#Hang_at_exit Firefox hangs at exit]
    [[Firefox is already running but is not responding]]
    ''<u>'''Safe Mode'''</u>''
    You may need to use '''[[Safe Mode]]''' (click on "Safe Mode" and read) to localize the problem. Firefox Safe Mode is a diagnostic mode that disables Extensions and some other features of Firefox. If you are using a theme, switch to the DEFAULT theme: Tools > Add-ons > Themes <u>'''before'''</u> starting Safe Mode. When entering Safe Mode, do not check any items on the entry window, just click "Continue in Safe Mode". Test to see if the problem you are experiencing is corrected.
    See:
    '''[[Troubleshooting extensions and themes]]'''
    '''[[Troubleshooting plugins]]'''
    '''[[Basic Troubleshooting]]'''
    If the problem does not occur in Safe-mode then disable all of your Extensions and Plug-ins and then try to find which is causing it by enabling <u>'''one at a time'''</u> until the problem reappears. <u>'''You MUST close and restart Firefox after EACH change'''</u> via File > Restart Firefox (on Mac: Firefox > Quit). You can use "Disable all add-ons" on the Safe mode start window.
    <u>'''chris'''</u>
    <u>'''''Other Issues'''''</u>: ~~red:You have installed plug-ins with known security issues. You should update them immediately.~~
    <u>'''Update Java'''</u>: your ver. 1.6.0.~~red:17~~; current ver. 1.6.0.20 (<u>important security update 04-15-2010</u>)
    (Firefox 3.6 and above requires Java 1.6.0.10 or higher; see: http://support.mozilla.com/en-US/kb/Java-related+issues#Java_does_not_work_in_Firefox_3_6 )
    ''(Windows users: Do the manual update; very easy.)''
    ~~red:Check your version here~~: http://www.mozilla.com/en-US/plugincheck/
    See: '''[http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates Updating Java]'''
    Do the update with Firefox closed.
    <u>'''NOTE:'''</u> Java version 1.6.0.21 has been released. It is mainly an update for developers of Java applications and most users do not need to be concerned about downloading version 1.6.0.21. <u>'''''At this time'''''</u>, the update option in existing installations of Java 1.6.0.20 are not updating to version 1.6.0.21; <u>'''''at this time'''''</u>, it must be manually downloaded and installed. According to the Java release notes:
    ''"'''Bug Fixes'''''
    ''Java SE 6 Update 21 does not contain any additional fixes for security vulnerabilities to its previous release, Java SE 6 Update 20. Users who have Java SE 6 Update 20 have the latest security fixes and do not need to upgrade to this release to be current on security fixes."'' Source: http://java.sun.com/javase/6/webnotes/6u21.html
    <u>'''Install/Update Adobe Flash Player for Firefox (aka Shockwave Flash)'''</u>: your ver. 10.0 r~~red:45~~; current ver. 10.1 r53 ('''important security update 2010-06-10'''; see: http://www.adobe.com/support/security/bulletins/apsb10-14.html)
    ~~red:Check your version here~~: http://www.mozilla.com/en-US/plugincheck/
    See: '''[http://support.mozilla.com/en-US/kb/Managing+the+Flash+plugin#Updating_Flash Updating Flash]'''
    -'''<u>use Firefox to download</u>''' and <u>'''SAVE to your hard drive'''</u> (save to Desktop for easy access)
    -exit Firefox (File > Exit)
    -''<u>In Windows,</u>'' check to see that Firefox is completely closed (''Ctrl+Alt+Del, choose Task Manager, click Processes tab, if "firefox.exe" is on the list, right-click "firefox.exe" and choose End process, close the Task Manager window'')
    -''<u>In Windows,</u>'' double-click on the Adobe Flash installer you just downloaded to install/update Adobe Flash
    -when the Flash installation is complete, start Firefox, and test the Flash installation here: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15507&sliceId=1
    *<u>'''NOTE: On Vista and Windows 7'''</u> you may need to run the plugin installer as Administrator by starting the installer via the right-click context menu if you do not get an UAC prompt to ask for permission to continue (i.e nothing seems to happen). See this: http://vistasupport.mvps.org/run_as_administrator.htm
    *'''<u>NOTE for IE:</u>''' Firefox and most other browsers use a Plugin. IE uses an ActiveX version of Flash. To install/update the IE ActiveX Adobe Flash Player, same instructions as above, except use IE to download the ActiveX Flash installer. See: [[ActiveX]]
    *Also see: http://kb.mozillazine.org/Flash ~~red:'''''AND'''''~~ [[How do I edit options to add Adobe to the list of allowed sites]]
    <u>'''Update Shockwave for Director (aka Shockwave Player)'''</u>: your ver. ~~red:10.1 (very old)~~; current ver. 11.5.7.609 (<u>important security update released 2010-05-11</u>; see http://www.adobe.com/support/security/bulletins/apsb10-12.html)
    NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    ~~red:Check your version here~~: http://www.mozilla.com/en-US/plugincheck/
    SAVE the installer to your hard drive (Desktop is a good place so you can find it). When the download is complete, exit Firefox (File > Exit), locate and double-click in the installer you just downloaded, let the install complete.
    See: '''[http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox#_Installing_Shockwave Installing Shockwave]'''
    <u>'''You '''</u>~~red:<u>'''MAY'''</u>~~<u>''' need to Update Adobe Reader for Firefox (aka Adobe PDF Plug-In For Firefox)'''</u>: your ver. N/A; current ver. 9.3.3 (important security update release 06-29-2010; see: http://www.adobe.com/support/security/bulletins/apsb10-15.html)
    ~~red:Check your version here~~: http://www.mozilla.com/en-US/plugincheck/
    See: http://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox#Installing_and_updating_Adobe_Reader
    ''<u>You may be able to update from the Adobe Reader installed on your system</u>'' instead of going to the Adobe site and downloading. Open the Adobe Reader installed on your system (''in Windows, Start > Program Files, find and click Adobe Reader to open''), click Help, click Check for Updates.
    ''<u>If you go to the Adobe site to download the current Adobe Reader:</u>''
    -'''<u>use Firefox to download</u>''' and <u>'''SAVE to your hard drive'''</u> (save to Desktop for easy access)
    ~~red:-See the images at the bottom left of this post to see the steps to take on the Adobe site~~
    -exit Firefox (File > Exit)
    -In Windows: check to see that Firefox is completely closed (''Ctrl+Alt+Del, choose Task Manager, click Processes tab, if "firefox.exe" is on the list, right-click "firefox.exe" and choose End process, close the Task Manager window'')
    -In Windows: double-click on the Adobe Reader installer you just downloaded to install/update Adobe Reader
    *<u>'''NOTE: On Vista and Windows 7'''</u> you may need to run the plugin installer as Administrator by starting the installer via the right-click context menu if you do not get an UAC prompt to ask for permission to continue (i.e nothing seems to happen). See this: http://vistasupport.mvps.org/run_as_administrator.htm
    *'''<u>NOTE for IE:</u>''' Firefox and most other browsers use a Plugin. IE uses an ActiveX version. To install/update the IE ActiveX version, same instructions as above, except use IE to download the ActiveX installer. See: [[ActiveX]]
    *Also see: http://kb.mozillazine.org/Adobe_Reader ~~red:'''''AND'''''~~ [[How do I edit options to add Adobe to the list of allowed sites]]

  • Opening a url in new window using a button after running a process

    I need the folowing to happen:
    When a button is clicked, a process runs - updates a table in the DB. then a URL opens in a new window.
    I created the process and related it to the button - click of the button makes it work.
    If I write in the button properties the URL - optional URL redirect:
    javascript:popupURL( 'http://www.mysite.com');
    the process does not run. url opens in new window.
    If I create a branch - writing there javascript:popupURL( 'http://www.mysite.com'); the process works but URL does not open. only writing http://www.mysite.com works - but it does not open a new window.
    The question is: how can I click on a button, make a process run and URL opens in a new window?

    If you post your page, then the browser must go some place. You can post your page (say page 1), you can then branch to page 2, then the js on page 2 can open a new window. Once you post your page you must goto another page before you can open a new window.
    Perhaps what you want is to press a button on a page and have it do work without posting the page, e.g. make an AJAX request, and then based on that work popup some corresponding page.

  • How to move a selected row data from one grid to another grid using button click handler in flex4

    hi friends,
    i am doing flex4 mxml web application,
    i am struck in this concept please help some one.
    i am using two seperated forms and each form having one data grid.
    In first datagrid i am having 5 rows and one button(outside the data grid with lable MOVE). when i am click a row from the datagrid and click the MOVE button means that row should disable from the present datagrid and that row will go and visible in  the second datagrid.
    i dont want drag and drop method, i want this process only using button click handler.
    how to do this?
    any suggession or snippet code are welcome.
    Thanks,
    B.venkatesan.

    Hi,
    You can get an idea from foolowing code and also from the link which i am providing.
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
    width="613" height="502" viewSourceURL="../files/DataGridExampleCinco.mxml">
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    import mx.binding.utils.BindingUtils;
    [Bindable]
    private var allGames:ArrayCollection;
    [Bindable]
    private var selectedGames:ArrayCollection;
    private function initDGAllGames():void
    allGames = new ArrayCollection();
    allGames.addItem({name: "World of Warcraft",
    creator: "Blizzard", publisher: "Blizzard"});
    allGames.addItem({name: "Halo",
    creator: "Bungie", publisher: "Microsoft"});
    allGames.addItem({name: "Gears of War",
    creator: "Epic", publisher: "Microsoft"});
    allGames.addItem({name: "City of Heroes",
    creator: "Cryptic Studios", publisher: "NCSoft"});
    allGames.addItem({name: "Doom",
    creator: "id Software", publisher: "id Software"});
    protected function button1_clickHandler(event:MouseEvent):void
    BindingUtils.bindProperty(dgSelectedGames,"dataProvider" ,dgAllGames ,"selectedItems");
    ]]>
    </mx:Script>
    <mx:Label x="11" y="67" text="All our data"/>
    <mx:Label x="10" y="353" text="Selected Data"/>
    <mx:Form x="144" y="10" height="277">
    <mx:DataGrid id="dgAllGames" width="417" height="173"
    creationComplete="{initDGAllGames()}" dataProvider="{allGames}" editable="false">
    <mx:columns>
    <mx:DataGridColumn headerText="Game Name" dataField="name" width="115"/>
    <mx:DataGridColumn headerText="Creator" dataField="creator"/>
    <mx:DataGridColumn headerText="Publisher" dataField="publisher"/>
    </mx:columns>
    </mx:DataGrid>
    <mx:FormItem label="Label">
    <mx:Button label="Move" click="button1_clickHandler(event)"/>
    </mx:FormItem>
    </mx:Form>
    <mx:Form x="120" y="333">
    <mx:DataGrid id="dgSelectedGames" width="417" height="110" >
    <mx:columns>
    <mx:DataGridColumn headerText="Game Name" dataField="name" width="115"/>
    <mx:DataGridColumn headerText="Creator" dataField="creator"/>
    <mx:DataGridColumn headerText="Publisher" dataField="publisher"/>
    </mx:columns>
    </mx:DataGrid>
    </mx:Form>
    </mx:Application>
    Link:
    http://social.msdn.microsoft.com/Forums/en-US/winformsdatacontrols/thread/ae9bee8d-e2ac-43 c5-9b6d-c799d4abb2a3/
    Thanks and Regards,
    Vibhuti Gosavi | [email protected] | www.infocepts.com

  • How to run report on Button Click in Forms 9i

    Hi ,
    I want to run a report , when I press button on form
    it is RDF file . I have complied it and create a REP File .
    I has also set the report path in registry / HKEY_LOCAL_MACHINE/ SOFTWARE /ORACLE/ HOME1
    And then i has written these command line on Button click
    Declare
         pl_id           ParamList;
         al_id Alert;
         al_button     Number;
         M_RepFile     Varchar2(80);
    Begin
         pl_id := Get_Parameter_List('tmpdata');
         IF NOT Id_Null(pl_id) THEN
              Destroy_Parameter_List( pl_id );
         END IF;
         pl_id := Create_Parameter_List('tmpdata');
    Run_Product(REPORTS,'sitereport', SYNCHRONOUS,RUNTIME,FILESYSTEM,pl_id,NULL);
    Show_Window('MAIN');
    End;
    Message('Now Closing');Message('Now Closing');
    But only message at last is showing . No report being open .

    Look at this one
    Re: Run Report10g  Through form 10g

  • How does one delete spam without first clicking on it and therefore causing it to open?

    How do you delete spam without first clicking on it and therefore opening it?

    I'm running 10.6 so I don't know if this works the same in 10.7 -- I would think it will. But if you double click the separator at the center bottom of the Mail window, thereby expanding it (the mouse pointer will turn into a cross), you can then single click and highlight a message without opening it. Next hit CMD-Shift-S, which will save the message to the location of your choice (I use the Desktop), where you can safely read it without ever having opened it. If you like, you can trash the message at this point.
    Double clicking the same point on the window will return the window to normal viewing.
    And, yes, it's a good idea to never actually open spam. Also, make sure load remote images is turned off all the time. An opened remote image is one way spammers know they've found a sucker and they keep it up. If you never open spam, it discourages further spam.
    Opening spam may sometimes actually "do something." A friend of my wife just recently opened a message and it stole her address book. But maybe she clicked on a link inside. Don't know all the details.

  • Need to display processing icon on click of submit button

    Hi all,
    I need to display a processing message like "Please wait....Request being processed" whenever the user clicks on submit button.There is a PL/SQL process which inserts data into the database on click of submit button.As this insertion would take time, I need to display a processing message as mentioned earlier.
    My approach was to create a javascript function and call it from the URL redirect section . when this option is selected,the processing message is displayed..but the PL/SQL process is not executed as the URL is redirected...
    Any help would be greatly appreciated....
    Thanks
    nashy

    To some degree, it will depend on just how long you think the process will take to run. If you think it's going to take several minutes (thus risking your page timing out), an approach I have taken is to run a process on submit which kicks off an oracle job (do a search for DBMS_SCHEDULER if this doesn't mean anything to you) thereafter, periodically repoll the page - you could go for a javascript method if you don't want to keep re-submitting the page - which checks to see if the job has completed.
    Once the job completes, you just show the data (or do whatever you need to do to indicate completion to the user).
    It does require a fair bit of conditional display and process control to pull off, but it is achievable.

  • How to make buttons unclickable when one of them is clicked

    Hello,
    I am using JDev 11.1.1.4.0.
    I have a jspx page that has 6 command buttons. Some of them process the data present in the form and some of them are for navigation. Problem is when a user clicks a command button and clicks other button impatiently if the first process takes some time. Most of the time the app is able to handle this behavior, but when it fails it fails with 404 error(I'm speculating).
    Is there a quick and easy way to make rest of the buttons unclickable until the process finishes? I was going to handle this in backing bean to set the disable property to false when one of them is clicked, but cannot figure out when to set them back to disable=false.
    Many thanks in advance for the help.
    Bones Jones

    Shay,
    I tried something like this, but didn't work for me:
    public void submit(ActionEvent actionEvent) {
            disableButtons(true);
            ADFUtil.invokeEL("longProcess");
            disableButtons(false);
    }Debugging line by line, I found out even after the disableButtons(true) line, the buttons were still clickable. Curious, I put the disableButtons(true) at the end of the method, buttons were disabled when the control came back to the user. So it seems to me only the last diableButton() call before returning control has the influence.

  • How do I get Firefox to open in a new tab (instead of a new window) when I click on one of my buttons in my toolbar?

    When I click on one of my buttons in the toolbar, Firefox opens that button in a new window. I would like to be able to click on one of my buttons and Firefox open it in a new tab instead.
    == This happened ==
    Every time Firefox opened
    == When I attempt to click on a button

    Right click the FireFox button in your toolbar and look in the properties- middle tab...make sure that it only has "C:\Program Files\Mozilla Firefox\firefox.exe" with no other link added to the end. I had a similar problem this morning and found a website had attached it's link to the end so it would always pop up first and would only open a new tab.
    Hope that fixed it.

  • Opening new window on button click from pdf without loosing session

    Hi,
    In my Java web applicaion on click of a link, we are opening a new window in which we are displaying a pdf. There are 5 buttons on this pdf.
    On clicking of this button again we are opening a application link in new window. But in this window we are not gettting our session, which is there in first two window.
    For opening new window from pdf button click we are using
    var dynamicUrl3 = myappurl;
    app.launchURL(dynamicUrl, true); 
    How can i open new window with the same sesion from the pdf button.
    Please help for the same.
    Thanks,
    Abhijit Mohite.

    Yes, with target="_blank" in a link or a form.Thanks for ur valuable suggestion. I changed the button to link.
    Its working fine now without JavaScript.
    Now i got another requirement. When user select some items and press a button in the new popup window, the window must close on button click and the parent window must refresh. This must also be done without using JavaScript.
    Is this possible? Please give me an idea to do this.
    Thanks.

Maybe you are looking for