How can we open a New Window on click of a button

Dear All,
Please can anyone guide me how to open a page in A new pop up window.
Application Express 4.0.1.00.03
Thanks & regards
Arif Khadas

Assalamwalkeum Tauceef,
Thanks for your reply.
For the second query where you want to refresh parent window and close the popup window,
Create a html region and give a condition to this region that it should display on a particular request and pass that request on your button click and write this javascript code in your Region SourceAccordingly I created a Region on the Calling Page and have the condition Request = REFRESH.
Now my problem is on the pop-up window how can I pass the Request as the action when button pressed is Submit and I am using an SQL Insert Action.
For such an action for button click the Request field is hidden.
Also please help me through this one for setting the Item values in the pop up window:
I have the following in Execute When Page Loads
  var total = 0;
  var inv   = '';
  var selected_inv = '';
  total        = opener.document.getElementById('P24_PAY_AMOUNT');
  selected_inv = opener.document.getElementById('P24_PAY_INV');
  $s('P23_RCP_AMOUNT_PAID', total);
  //setSessionValue ('P23_RCP_AMOUNT_PAID', total);
  $s('P23_INVOICES', selected_inv);
  //setSessionValue ('P23_INVOICES', selected_inv);The value that I am getting for the above Items is "     [object HTMLInputElement]" in Mozilla Firefox and "[object]" in Internet explorer, not sure why?
Please guide.
Thanks & Regards
Arif Khadas
Edited by: Arif Khadas on Apr 27, 2011 9:51 AM

Similar Messages

  • How can I open a new window with the same website like the one I have open?

    In safari I can open a new window with the same website like the one I have open, that makes it easy continuing to navigate on a website and to go back to the original website

    Hello Andieas
    Why open a new window for fast browsing??
    Open new tabs.
    Just right click on what you want to open and click "Open in new Tab"
    It is easy and doesn't consume memory from your computer as well as easy to navigate.
    Hope you'll like it

  • How to open a new window on click of a button, for printing stuffs in adf

    Hi ADF Experts,
    Jdeveloper 11.1.1.7.0 version.
    I am having a Print Button. On click of this I want to open a new window? how is it possible. Note it should not be a popup or panelwindow.
    Please suggest.
    Thanks,
    Roy

    Check out Frank's article http://www.oracle.com/technetwork/developer-tools/adf/learnmore/95-printable-pages-1501392.pdf which come with a sample at http://www.oracle.com/technetwork/developer-tools/adf/learnmore/95-printable-pages-1501393.zip
    Timo

  • How can I open a new window based upon input in an existing window

    Hi,
       I'm pretty new to LabVIEW and I've run into a slight problem that I having trouble finding information about.  My LabVIEW application will present a user with several configuration options.  Depending upon the options the user chooses, a new window/panel will need to appear with an entirely different set of options.  Is this possible?  If so, how?
    Thanks,
    Al

    Hi Al,
    you can call subvis in a case structure ("when button is true then call subvi"). In the subvi's properties you have to set "open front panel when called" and "close afterwards" (window appearance settings).
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How can I open a new window for a (calculated) PDF?

    Hi,
    I have a BSP application with MVC. The start page is a HTML/HTMLB page with some buttons. If you click on the buttons, you get a PDF document in the same browser window. I generated the PDF over smart forms from table/Cluster data.
    I call the controller in the OnInputProcessing event handler of the page and give it the parameters.
    The problem: if you are on the PDF you cannot come back to the start page. I think, it is better, if the PDF gets a new window. The user can open on this way many PDF docs.
    I tryed with navigation->next_page(...) or call_view etc. but all this dosn't work. Only the PDF will be show and in the same window!
    Do I have to separe the application in two applications and use the CALL_APPLICATION method?
    Or does anyone know a better way?
    Thank you!
    Regards
    Patrizia

    HI Thomas,
    I send you a fragment of the code. It does work well.
    Thank you for the links!
    The data are read, convert into a otf, then in pdf
    CALL METHOD me->print_otf_2_pdf
          EXPORTING
            otfdata    = model->otf
            response   = response
            navigation = navigation.
    METHOD print_otf_2_pdf .
    generated result: PDF format
      DATA: l_pdf_xstring  TYPE xstring,
            linetab        TYPE tlinetab,
            l_pdf_len      TYPE i.
    Conversion of output format OTF into PDF format
    now convert the final document (OTF format) into PDF format
      CALL FUNCTION 'CONVERT_OTF'
           EXPORTING
             format                      = 'PDF'
           MAX_LINEWIDTH               = 132
           ARCHIVE_INDEX               = ' '
           COPYNUMBER                  = 0
           IMPORTING
             bin_filesize                = l_pdf_len
             bin_file                    = l_pdf_xstring       " binary file
           TABLES
             otf                         = otfdata
             lines                       = linetab
           EXCEPTIONS
             err_max_linewidth           = 1
             err_format                  = 2
             err_conv_not_possible       = 3
             err_bad_otf                 = 4
             OTHERS                      = 5
      IF sy-subrc <> 0.
      ENDIF.
      CALL METHOD me->open_pdf
        EXPORTING
          pdf_xstring = l_pdf_xstring
          pdf_len     = l_pdf_len.
    ENDMETHOD.
    METHOD open_pdf .
      DATA: l_pdf_len  TYPE i,
            runtime    type ref to if_bsp_runtime,
            filename   type string,
            guid       type guid_32.
      response->set_header_field( name  = 'content-type'
                                value = 'application/pdf' ).
      response->set_header_field(
                        name  = 'cache-control'
                        value = 'max-age=0' ).
       l_pdf_len = XSTRLEN( pdf_xstring ).
      response->set_data( data   = pdf_xstring
                          length = l_pdf_len ).
      navigation->response_complete( ).
    ENDMETHOD.
    Regards
    Patrizia

  • How can you open a new window in the new iTunes 11 ???

    In the old version, you can open a list in a new window. But I don't find this option in the iTunes 11 -.-  Can somebody help me ???

    Tony T1 wrote:
    Also, ⌘T for a new Tab (also File->New Window, File->New Tab)
    This is what I always use. You can also click on the plus sign at the far right, that will also give you a new tab/window. And if you want that tab to be a separate window, then once you've created it, just go up to that tab (avoid the little x that will appear--that deletes it), click on the tab, hold and drag it down. It'll leave the other tabs behind and become a window all on its own.

  • How can i open a new blank page, if i open a new tab??

    how can i open a new blank page, if i open a new tab?? because if i click the plus "+" sign(at right corner) it open a website that i don't like.... please help meee....

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • How can I open a second window in iTunes?

    When I see some albums in the the iTunes Store I want to check whether I have some of the songs already. The Search function in the Store only refers to the store and not to my Library. So how can I open a second window in iTunes (one with the Store and one with my Library) to make it easier to compare?
    Thanks

    My understanding it that was removed from iTunes recently (I still run iTunes 7.5 from 2007), so no, not unless you downgrade iTunes (which is not easy).  You can send feedback to Apple about reinstating it but I have yet to see Apple reinstate something that appeared to have been deliberately removed from its software, despite vociferous complaints on this forum.
    http://www.apple.com/feedback/itunesapp.html

  • How can we open a new folder in the email account (ex: need to save certain emails into a new fodder called "work". can anyone help

    How can we open a new folder in the email account (ex: need to save certain emails into a new fodder called "work".
    Anyone can help?

    Right click on any folder in mail and select Create new mailbox.

  • I just updated firefox TODAY 8/17/11 and after the update i can't open firefox unless i restart my computer or i delete going to windows task manager and process, also i can't open a new window, it won't allow it. please can you help me

    I just updated firefox TODAY 8/17/11 and after the update i can't open firefox unless i restart my computer or i delete firefox going to windows task manager and process, also, i can't open a new window, it won't allow it. please help me, everything works on IE, Google Chrome and Safari, everything went wrong after the update

    Hey Elaine07!
    I have an article here that can help you with that issue. This article will help you make sure you have uninstalled iTunes correctly and help you troubleshoot the launch issues you are seeing:
    iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues
    http://support.apple.com/kb/ts1717
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • How can I open a new page (using "Pages") when I already have another page open?  It just keeps reverting to the page I have opened already and won't let me open another one?

    How can I open a new page (using "Pages") when I already have another page open?  It just keeps reverting to the page I have opened already and won't let me open another one?

    To make a new document, go to File > New From Template chooser and choose the type of document you wish to create.
    To add a new page to an existing document go to Insert > Sections > Blank.

  • Tabs in Firefox 7 won't work...I can't open a new tab by clicking on the +.....only way to open a new tab is via the FILE/new tab option

    Tabs in Firefox 7 won't work...I can't open a new tab by clicking on the +.....only way to open a new tab is via the FILE/new tab option...it seems like a lot of the options/buttons are non-pressable??

    This issue can be caused by the Ask<i></i>.com toolbar (Tools > Add-ons > Extensions)
    Your system details show that toolbar in the user agent as AskTbYLC/3.11.3.15590
    See:
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • If I already have firefox open in Linux, how can I open a new URL in a new window.

    I want to be able to click on a button, and have firefox open a new window at a given URL. Currently, if I already have firefox running, then it opens a new tab, which may be on a different desktop. Having to detach the new tab to a new window and move it back to the right desktop seems like unnecessary work.

    If you mean a shortcut or link ''completely outside of Firefox,'' there is a hidden preference to change how that works. This requires a visit to the about:config preferences editor. I think it's (C) below that you might want to change.
    In a new tab, type or paste '''about:config''' and press Enter. Click the button promising to be careful.
    In the filter box, type or paste '''link.o''' and pause while the list is filtered.
    Double click these and set the value as desired:
    '''(A) browser.link.open_newwindow'''
    3 = divert new window to a new tab (<u>default</u>) (checked*)<br>
    2 = allow link to open a new window (unchecked*)<br>
    1 = force new window into same tab
    '''*''' First checkbox in Options > Tabs
    '''(B) browser.link.open_newwindow.restriction''' - for links in Firefox tabs
    0 = apply the setting under (A) to ALL new windows (even script windows)<br>
    2 = apply the setting under (A) to normal windows, but NOT to script windows with features (<u>default</u>)<br>
    1 = override the setting under (A) and always use new windows
    '''(C) browser.link.open_newwindow.override.external''' - for links in other programs
    -1 = apply the setting under (A) to external links (<u>default</u>)<br>
    3 = open external links in a <u>new tab</u> in the last active window<br>
    '''2 = open external links in a <u>new window</u>'''<br>
    1 = open external links in the <u>last active tab</u> replacing the current page
    Does that work?

  • How can I get a new window to open in Front of the current window?

    There seems to be a related setting for new Tabs, but not for new windows. I fail to see why many people would want to open a new window, but then not want to use it right away. It seems the default should be open the new one in front.
    Thanks
    Application Basics
    Name
    Firefox
    Version
    21.0
    User Agent
    Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0
    Build Configuration
    about:buildconfig
    Extensions
    Name
    Version
    Enabled
    ID
    Content Blocker
    13.0.1.4307
    false
    [email protected]
    Kaspersky URL Advisor
    13.0.1.4307
    false
    [email protected]
    TelevisionFanatic
    2.73.1.162
    false
    [email protected]
    Virtual Keyboard
    13.0.1.4307
    false
    [email protected]
    Important Modified Preferences
    Name
    Value
    accessibility.blockautorefresh
    true
    browser.cache.disk.capacity
    1048576
    browser.cache.disk.smart_size.first_run
    false
    browser.cache.disk.smart_size_cached_value
    1048576
    browser.history_expire_days.mirror
    180
    browser.link.open_newwindow
    2
    browser.places.importBookmarksHTML
    false
    browser.places.smartBookmarksVersion
    4
    browser.startup.homepage_override.buildID
    20130511120803
    browser.startup.homepage_override.mstone
    21.0
    browser.tabs.loadInBackground
    false
    browser.tabs.onTop
    false
    browser.urlbar.default.behavior
    2
    browser.zoom.full
    false
    dom.disable_open_during_load
    false
    dom.disable_window_move_resize
    true
    dom.event.contextmenu.enabled
    false
    dom.w3c_touch_events.expose
    false
    extensions.lastAppVersion
    21.0
    network.cookie.lifetimePolicy
    2
    network.cookie.prefsMigrated
    true
    places.database.lastMaintenance
    1372133501
    places.history.expiration.transient_current_max_pages
    102101
    places.last_vacuum
    1306895657
    plugin.disable_full_page_plugin_for_types
    application/pdf
    print.print_printer
    Send To OneNote 2010
    print.printer_Send_To_OneNote_2010.print_bgcolor
    false
    print.printer_Send_To_OneNote_2010.print_bgimages
    false
    print.printer_Send_To_OneNote_2010.print_command
    print.printer_Send_To_OneNote_2010.print_downloadfonts
    false
    print.printer_Send_To_OneNote_2010.print_edge_bottom
    0
    print.printer_Send_To_OneNote_2010.print_edge_left
    0
    print.printer_Send_To_OneNote_2010.print_edge_right
    0
    print.printer_Send_To_OneNote_2010.print_edge_top
    0
    print.printer_Send_To_OneNote_2010.print_evenpages
    true
    print.printer_Send_To_OneNote_2010.print_footercenter
    print.printer_Send_To_OneNote_2010.print_footerleft
    &PT
    print.printer_Send_To_OneNote_2010.print_footerright
    &D
    print.printer_Send_To_OneNote_2010.print_headercenter
    print.printer_Send_To_OneNote_2010.print_headerleft
    &T
    print.printer_Send_To_OneNote_2010.print_headerright
    &U
    print.printer_Send_To_OneNote_2010.print_in_color
    true
    print.printer_Send_To_OneNote_2010.print_margin_bottom
    0.5
    print.printer_Send_To_OneNote_2010.print_margin_left
    0.5
    print.printer_Send_To_OneNote_2010.print_margin_right
    0.5
    print.printer_Send_To_OneNote_2010.print_margin_top
    0.5
    print.printer_Send_To_OneNote_2010.print_oddpages
    true
    print.printer_Send_To_OneNote_2010.print_orientation
    0
    print.printer_Send_To_OneNote_2010.print_page_delay
    50
    print.printer_Send_To_OneNote_2010.print_paper_data
    1
    print.printer_Send_To_OneNote_2010.print_paper_height
    11.00
    print.printer_Send_To_OneNote_2010.print_paper_size_type
    0
    print.printer_Send_To_OneNote_2010.print_paper_size_unit
    0
    print.printer_Send_To_OneNote_2010.print_paper_width
    8.50
    print.printer_Send_To_OneNote_2010.print_reversed
    false
    print.printer_Send_To_OneNote_2010.print_scaling
    1.00
    print.printer_Send_To_OneNote_2010.print_shrink_to_fit
    true
    print.printer_Send_To_OneNote_2010.print_to_file
    false
    print.printer_Send_To_OneNote_2010.print_unwriteable_margin_bottom
    0
    print.printer_Send_To_OneNote_2010.print_unwriteable_margin_left
    0
    print.printer_Send_To_OneNote_2010.print_unwriteable_margin_right
    0
    print.printer_Send_To_OneNote_2010.print_unwriteable_margin_top
    0
    privacy.clearOnShutdown.formdata
    false
    privacy.cpd.cookies
    false
    privacy.cpd.sessions
    false
    privacy.sanitize.migrateFx3Prefs
    true
    privacy.sanitize.sanitizeOnShutdown
    true
    privacy.sanitize.timeSpan
    0
    security.warn_viewing_mixed
    false
    Graphics
    Adapter Description
    Intel(R) Graphics Media Accelerator HD
    Adapter Drivers
    igdumd64 igd10umd64 igdumdx32 igd10umd32
    Adapter RAM
    Unknown
    ClearType Parameters
    Gamma: 2200 Pixel Structure: BGR
    Device ID
    0x0046
    Direct2D Enabled
    Blocked for your graphics driver version. Try updating your graphics driver to version 8.1500.1000.2202 or newer.
    DirectWrite Enabled
    false (6.2.9200.16492)
    Driver Date
    10-30-2009
    Driver Version
    8.15.10.1986
    GPU #2 Active
    false
    GPU Accelerated Windows
    4/4 Direct3D 9
    Vendor ID
    0x8086
    WebGL Renderer
    Google Inc. -- ANGLE (Intel(R) Graphics Media Accelerator HD)
    AzureCanvasBackend
    skia
    AzureContentBackend
    none
    AzureFallbackCanvasBackend
    cairo
    JavaScript
    Incremental GC
    true
    Accessibility
    Activated
    false
    Prevent Accessibility
    0
    Library Versions
    Expected minimum version
    Version in use
    NSPR
    4.9.6
    4.9.6
    NSS
    3.14.3.0 Basic ECC
    3.14.3.0 Basic ECC
    NSSSMIME
    3.14.3.0 Basic ECC
    3.14.3.0 Basic ECC
    NSSSSL
    3.14.3.0 Basic ECC
    3.14.3.0 Basic ECC
    NSSUTIL
    3.14.3.0
    3.14.3.0

    Hi MichaelDMiller60, if the problem does not occur with Flash 10.3, then most likely the issue is the Protected Mode feature found in Flash 11.3 and later.

  • How do I open a new window in Adobe Acrobat using the plugin sdk

    I would like to create a new menu item that when clicked it will open a new window (e.g. winform). What I'd like to do is pull data from a server and interact with the user in that window.  Basically show the user a list of PDF files to pull from the server.  Once the user is done selecting which file to pull to have the file pulled from the server into the local drive and have it opened in Adobe Acrobat.  The problem I'm having is that I don't know how to invoke a winform or something like it to place my lists of files and UI controls. I've looked at the samples in the SDK and don't see anything that deals with this particular issue.  I'm a newbie so I'm sure I'm missing something here.  I tried creating a new WinForm in a sample example and ran into errors and the form is not functioning.  Any help is much appreciated.

    Thank you Dan_Korn,
    This suggestion is very helpful.  I like the idea of creating the new functionality in the language/environment of my choice and simply call it from the plugin.  The only issue I have is that when I start the other gui app from within the plugin I don't know how to communicate with it.  I would like to do these things with it:
    1. For the spawned off app to be able to tell Adobe Acrobat to open a file in a certain location.
    2. For the spawned off app to exit if Adobe Acrobat is closed.
    3. Also if the spawned off app closes for the handles to it to be desposed of and cleaned up to avoid leaks.
    Any ideas on the easiest approach to the above behaviors?
    Here's  my code so far in the plugin:
    void StartApp1()
              STARTUPINFO info={sizeof(info)};
              PROCESS_INFORMATION processInfo;
              if (CreateProcess(NULL , "myexe.exe", NULL, NULL, TRUE, 0, NULL, NULL, &info, &processInfo))
                        ::WaitForSingleObject(processInfo.hProcess, 0);
                        CloseHandle(processInfo.hProcess);
                        CloseHandle(processInfo.hThread);
              else {
                             AVAlertNote("Couldn't luanch the exe");

Maybe you are looking for

  • What is the contact email for customer complaints?

    I have an issue I doubt mac can or would be willing to resolve, therefore going into the shop, I believe, would be unproductive. My charger recently failed, and it was replaced in store (and for the hassle-free experience, I am rather appreciative of

  • Remove photos from the gallery

    how can I remove my picture in the gallery? The one I took with the camera  will not delete but the one I up-loaded I can remove.

  • Action forms

    Hi, I've a query reg Struts action form. I want to display a list of registered Users. Here's my UserVO UserVO {   String strFirstName;   List Vehicles; // Ferrari, Lambhorgini }Now, I'll get a List of UserVO from db. How do I create a action form fo

  • Mannual assignment of tasklist to 03 type lots

    Hi All, I need to assign the task list (Routing – Master Recipe, hence we are using Process Order) manually to 03-inspection type generated lots. I have checked the possibilities in the in IMG, but the option is not available there in for this partic

  • Idvd message : project is too big to burn on a single dvd

    hi guys, i was just wondering why idvd limits my dvd capacity according to the length of the movies instead of their size. in other words, im trying to put a collection of 5 movies of one of my favorite directors, of 700mb of size each, but unsuccess