How to popup a page from a button not in a region position

Hello.
I am using Apex 2.2.1. I have a form (not a report) on which I've placed a button that is positioned "among the items" as opposed to being placed in a specific region position.
When the button is clicked I would like to have another page popup. The problem is that I can get this to work only if the button is placed in a region position. With the button in a region position, I define the target to be a URL and then place a call to the popUp2 function, as in:
javascript:popUp2('f?p=&APP_ID.:32:&SESSION.::NO:::', 900, 700);
This works fine.
However, I need to position my button on the immediate right hand side of a form item. But when I create a button in such a position, I have no field in which to place the call to the popUp2() function. Instead, I have to create a "Branch to Page or URL" and then place my javascript call in the Branch field. Unfortunately, when I click the button, Apex wants to branch to page zero instead of the desired page. I saw that when I move the mouse over the button, Apex shows:
javascript: doSubmit('MY_BUTTON_REQUEST');
And, as mentioned, Apex tries to branch to page zero.
How does one call the popUp2() function from a button that is not placed in a region position?
Thank you for your help.
Elie

Hi Elie,
I had the same problem ... I only got it solved with creating a hidden item and adding the input-tag into the "Post Element Text" field.
Just have a look in the source code of your page, how a button is build and copy the necesaary code to the mentioned field. So you get a button with ApEx layout and can add your javascript call.
chrissy

Similar Messages

  • Why is Firefox no longer displaying Google's "Pages From Australia" button

    Just wondering whether anyone could tell me how to restore the "Pages from Australia" button on the left-hand column of Firefox when you do a Google search. Being an Australian user, without this button Google just searches the entire web, instead of local sites only. There has always been a pages from Australia tab to narrow the search, and that tab still appears in Explorer and other browsers...so what happened to it suddenly in Firefox!?

    Forget it! I found the answer in an old discussion.  Just needed to turn off banner blocking in my anti-virus software.

  • Calling a page from a button url

    Can you give me a hint how to call (branch to) a page from a button which is placed behind an item in a region. If I choose button to be a HTML button this should be possible. I think it's documented in User Guide Page 6-22. But description is not very informative. It's easy to do if the button is in a region position.
    Regards Christoph

    Christoph,
    For buttons in region positions the branches can be associated with the button by picking the button from the "When Button Pressed" select list. For buttons displayed among the region items, you need to conditionally branch based on the request send by the button. Assuming you already created the button and a branch that takes you to the target page, edit the button, scroll down to "Button Request Value" and type in your request string, e.g. BUTTON_PRESSED. Then edit your branch, and make it conditionally based on a request "Request = Expression 1" and type in your request string BUTTON_PRESSED into the Expression 1 field.
    Hope this helps,
    Marc

  • How do i get pages from my iPad to show up on my iMac?

    how do i get pages from my iPad to show up on my iMac?

    You will need to use AirPlay to see that.
    Assuming both devices are on the same network and that AirPlay is not turned off on the Apple TV, then simply tap on the screen when you are watching content you wish to stream to your Apple TV, then tap the airplay icon that appears in the control bar, choose the Apple TV from the menu that appears.
    When displaying the content you wish to mirror on the iPad 2 (or better), iPad Mini, iPhone 4S (or better), double tap the home button (quickly) and swipe the bottom row of apps to the right to reveal the playback controls, tap the AirPlay icon and select your Apple TV from the list of available devices.

  • How do I transfer Pages from one user account to another

    How do you transfer Pages from one user account to another on the same Mac?

    Welcome to the Apple Support Communities
    If you haven't modified anything, Pages is installed on /Applications. All users have access to this folder, identified as "Applications" on the Finder sidebar, so you don't have to move anything, because Pages will work on all your users.
    If you have installed Pages on ~/Applications (being ~ your user folder), then you have to move Pages to /Applications. After doing this, you will be able to access to Pages on all users

  • How to open web pages from japplet??

    Hi
    Does anybody know how to open web pages from java japplet??
    Any help is apreciated!
    zick

    the getAppletContext() method of the Applet class will get you an AppletContext, with which you can call the ShowDocument(URL url) or ShowDocument(URL url, String target) method...
    check it out at http://java.sun.com/j2se/1.4/docs/api/java/applet/AppletContext.html
    have a good one :)
    Jay

  • How do I prevent Pages from changing earlier parts of a document when I am in an 8 page newsletter. Going back to check something and items are jumbled up!

    How can I stop Pages from changing parts of a document when I am progressing through an 8 page newsletter. When I go back to check something some headings have moved and been put out of context. I can't lock the individual pages of the document to prevent this happening.

    The Amazon iWork '09 is a DVD in a boxed set.
    Downloading is transferring something from the Internet.
    I think you are talking about not having a DVD drive?
    To install the DVD version, either get an external USB DVD drive, they are cheap on eBAy or borrow another computer and drag the iWork Installer onto a USB Flash Drive and install from that.
    Peter

  • How do you combine pages from separate PDFs?

    How do you combine pages from separate PDF files into one document?

    I use Adobe Acrobat for this.

  • How to block a page (from a business job searching website) from appearing on my screen without me searching for it?

    How to block a page (from a business job searching website) from appearing on my screen without me searching for it?

    Look under:
    System preferences > Network > WiFi > ( Advanced ) > DNS
    System Preferences > Network > Ethernet > ( Advanced ) > DNS
    There should be two or more IP addresses there.
    Those addresses should be EXACTLY the ones your current ISP provided when you signed up for service. They do not start with 85 or 86 -- those are hacker sites.
    If you are in the US, you could also use OpenDNS:
    208.67.222.222
    208.67.220.220

  • How do I install Pages from iWorks on my iMac onto the iPad?

    How do I install Pages from iWork on my iMac onto my iPad?

    You don't. The Mac version of Pages works on Macs - not on iPad.
    You need to buy the iPad version of Pages from the AppStore, and install that on your iPad:
    http://itunes.apple.com/gb/app/pages/id361309726?mt=8

  • How can I delete pages from a pdf file

    How can I delete pages from a pdf file

    Hi timk,
    None of the Acrobat.com online services allow you to edit a PDF file. But, in checking your account, I see that you purchased an Acrobat Standard subscription, and you can certainly use that to edit a PDF file.
    Have you downloaded and installed Acrobat Standard? It sounds to me as though you may be opening the PDF file in Adobe Reader, rather than Acrobat. (Reader doesn't allow you to edit PDF files.)
    If you haven't already, download and install Acrobat from https://cloud.acrobat.com/acrobat. Then, make sure that you're opening your PDF files in that rather than Reader, when you want to edit them.
    Please let us know how it goes!
    Best,
    Sara

  • How do i extract pages from within a pdf document?

    how do i extract pages from within a pdf document?

    Hi adobespurs,
    To extract pages from a PDF, you need to use Acrobat. If you don't have Acrobat, you can try it for free for 30 days. Please see www.adobe.com/products/acrobat.html for more information.
    Best,
    Sara

  • How do I delete pages from my iPhone without it being deleted from my macbook pro as well?

    how do I delete pages from my iphone without deleteing it from my macbook pro as well?

    Hold you finger down on the iPone App icon until it starts shaking then hit the x to delete it.
    Pages does not get deleted from your Mac because they are 2 separate applications on two separate operating systems, that just share a same file format.
    Peter

  • How do I delete pages from Preview (Mt Lion)?

    How do I delete pages from Preview? (Mountain Lion)

    Oh so you want to clear the list of recently opened files. Apple Logo, Recent Items, at the bottom Clear Menu. That should do it.
    No that's not it.
    With Preview open File menu item. Oh well strikke that also. It seems the option abiove does clear all Recently opened items.

  • How do I extract pages from a Secured PDF file

    How do I extract pages from a Secured PDF file?

    Adobe would call that hacking, and don't allow discussion of it in this forum. You should contact the copyright holder and see if they are prepared to release the password, or an unsecured document, to you. If it's something made for you like a bank statement you should tell the bank how inconvenient their choices are.

Maybe you are looking for