Opening a popup from custom button in a Form

I have a requirement to open a popup from a custom button of a portal form and once the value is selected from the popup the control should return to the main form with the value selected and set it to some display only field in that same form. It can be done thru' popup of a field directly but how can I do this thru'a button ?.
Help would be appreciated.
Thanks
-Krishnamurthy

Works for me if I middle-click a bookmark on the Bookmarks Toolbar and browser.tabs.loadBookmarksInBackground is set to true.
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
*Don't click the Reset button on the Safe mode start window or otherwise make changes.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

Similar Messages

  • Custom RH9 WebHelp skin: Problem opening PDF file from custom button

    Hi, I've been troubleshooting and checking forums trying to figure out how to get a PDF file to open from a custom button on my WebHelp skin. It worked for me once upon a time, but I changed something in the document and tried to upload the new version and it has errored out ever since.
    I want to have the ability to open the PDF in a new window from the custom button (called 'Printable PDF' on my skin), so I am using the following custom JavaScript in the 'Click On' field of the the custom button's components: window.open('print_test.pdf','printWindow','menubar=0,resizable=0,width=900,height=500,scr ollbars=1');  I know the script is good because I have the same script for the Support custom button and it works great. The only difference between those scripts is the Support script calls an .html file instead of a PDF and the window names says 'supportWindow' instead of 'printWindow'.
    I've tried deleting and recreating the custom button, changing the JavaScript with a developer's help, generating the help on another machine thinking it was a glitch with my browser (using IE8) or RoboHelp license, and combing the help files numerous times. I've also ensured that the PDF file is stored in the skin and project folders along with the other project files/folders. I've used previous versions of RoboHelp and had no problems attaching a Word document and PDF, so I'm wondering if this is a bug in RH9?? Especially since it worked for me initially. Any assistance and/or fresh ideas are welcomed! Thank you!

    Hello again
    Happy I was able to help.
    MOTW is only present and affects things when you are running content off your local C drive. It's value is in preventing that Yellow Information Bar and all that from appearing when you are using IE. Once you publish content to a server and access it that way you are in a different security zone and MOTW has no influence either way. So there would be no adantage to enabling it before publishing to a server. The only reason you might want to consider enabling it would be if you were copying the WebHelp to everyone's hard drive and having them run it from their hard drives.
    Make sense?
    Hope so... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Error while opening a popup from managed bean

    Hi,
    I am trying to open a popup from bean, after another popup is closed. When I open the second popup either through ActionListener(on first popup button) or DialogListener(on first popup), I am getting the below error on browser status bar(!); and the second popup doesn't open. There is no error in the log.
    *'AdfPage.PAGE.findComponent(...)' is null or not an object.*
    Although the popup id is there on the jspx page.
    <af:popup id="confirmationStatus" binding="#{MyBean1.confirmationStatus}">
    <af:dialog cancelVisible="false"
    closeIconVisible="false" binding="#{MyBean1.d2}"
    title="Appointment Confirmation Status">
    <af:outputText value="Appointment is successfully confirmed"/>
    </af:dialog>
    </af:popup>
    public void confirmAppointment_dialogListener(DialogEvent dialogEvent) {
    FacesContext context = FacesContext.getCurrentInstance();
    ExtendedRenderKitService service = Service.getRenderKitService(context, ExtendedRenderKitService.class);
    String popupId = "confirmationStatus";
    service.addScript(context,"AdfPage.PAGE.findComponent('" + popupId + "').show();");
    Please tell me why my popup is not getting open from the managed bean and I am getting an error in below line.
    service.addScript(context,"AdfPage.PAGE.findComponent('" + popupId + "').show();");

    To find out the right address of a component related to an other component, open your page select the component you want to add a partial trigger, go to the partial trigger property, select the down arrow at the right end and select 'Edit'. Now look for the popup in the component tree shown on the left side. When you have found the popup shuffle it the the selected side and click OK. The string you see in the field is the full address of the popup related to he component you've selected. Try the string you see there in your bean code. Remove the string from the partial trigger property, it's just to get the correct path.
    One other thing to check is that your popup has the ClientComponent property set to true.
    Next thing to try, is to use AdfPage.PAGE.findComponentByAbsoluteId(...)
    Timo

  • How can i open the popup from java class

    Hi,
    Please tell me how can i open the popup from java class.
    I am using jdev 11.1.1.7.0
    I have used the below code which works fine in jdev 2.1 but it will have some errors in 11.1.1.7.0.
    Please tell me some way to do this in all jdev versions.
    Bean obj = (Bean)RequestContext.getCurrentInstance.getExternalContext.getPageFlowScope(“obj”);
    Code for hide pop-up
    FacesContext context = FacesContext.getCurrentInstance();
    String popupId = obj.getPopUpBind().getClientId()
    ExtendedRenderKitService service = Service.getRenderKitService(FacesContext.getCurrentInstance(),
    ExtendedRenderKitService.class);
    String hidePopup = "var popupObj=AdfPage.PAGE.findComponent('" + popupId +
    "'); popupObj.hide();";
    service.addScript(FacesContext.getCurrentInstance(), hidePopup);
    Code to Show pop-up
    StringBuffer showPopup = new StringBuffer();
    showPopup.append("var hints = new Object();");
    showPopup.append("var popupObj=AdfPage.PAGE.findComponent('" +
    obj.getPopUpBind().getClientId() + "');popupObj.show(hints);");
    service.addScript(FacesContext.getCurrentInstance(), showPopup.toString());
    Code need to be added in jsff pop tag
    binding="#{pageFlowScope.bean.popUpBind}
    Variable need to be added in Bean.java
    private RichPopup popUpBind;

    Hari,
    Since you're using a non-public build of JDeveloper, you should be using a non-public forum.
    John

  • Can't open an Executable From Click Button

    Hi, Everyone!
    I've broken a learning module into several small project
    files to match the client's standards. I've set up click buttons
    within each file to open each of the published movies for the
    module. Everything works as expected.
    Now I need to create a standalone course using the same
    files. I've published each file as a Standalone executable. I've
    modified the open action on the click buttons to "Open URL or File"
    and selected the appropriate .exe file as the target. I've
    republished the files with the new click action. When I open an
    executable and click a button to open another executable, I get an
    error message stating that the page cannot be displayed.
    What am I doing wrong? Can anyone help?
    Thanks,
    Bob Browne

    Hi Bob
    For starters, did you try simply exporting all related files
    as .EXE files and test that way before making any changes? If so,
    what were your results? I've seen before where once Captivate was
    successfully linking to another movie, simply changing from .SWF to
    .EXE format just worked.
    Just a thought... Rick

  • Conditional display of "Custom" Buttons in Portal Forms

    Could someone tell me if the following is possible, and briefly explain the steps to a beginner in Portal (but reasonably familiar with PL/SQL):
    Problem - How to display "Custom Buttons" conditionally
    Example -
    a) Assume you have a certain record ("patient_address"). The hospital requires that every patient address be authorized before submitting records to health insurance. However, authorized records should not be authorized again.
    b) Also assume that the "patient_address" table has a column "authorized" (which can contain Y or N)
    * The requirement is to show an "Authorize" button whenever the record being viewed has the "authorized" column as "N" only
    * If possible, this can be further improved by obtaining whether the person viewing the information has permission to authorize, but this can be taken as a next step
    Approaches -
    1. If possible, achieve this in Portal Forms
    2. (worst case) - show the button, but show a message if it is pressed and the action does not apply
    Somehow, it seems as though Portal Forms is not suitable (or does not have the documentation readily accessible) of how to do specific, custom, real world forms design as in this example - could someone please elaborate
    Also, would this be better done by using one of the following in combination with Portal:
    - HTT (will this be supported, given that it is an Oracle internal technology)
    - PHP (is this even compatible with Portal?)
    null

    Hi,
    Conditional display/hide of custom buttons is not yet supported in Portal.
    However, if you are willing to modify the generated form package this could be done.
    Each form has a procedure called row_function which conditionally hides Insert/Update buttons depending on the mode. By default all elements of a form are visible, then row_function modifies the "visibility" property to hide that element.
    for example, this is a fragment of row_function code which hides the Insert button in update mode:
    "_form_state" := p_session.get_value_as_varchar2(
    p_block_name => "_block",
    p_attribute_name => '_FORM_STATE');
    if "_form_state" = 'UPDATE_AND_DELETE' then
    "_idx" := get_index('INSERT_TOP');
    p_form.items("_idx").visible := 'N';
    end if;
    You can add any additional code to check form's session storage/custom package variable/function whatever is more suitable in your case.
    Then you just set visible to 'N'.
    "_idx" := get_index('MY_CUSTOM_BUTTON');
    p_form.items("_idx").visible := 'N';
    Of course the biggest drawback of this is every time you edit your form you will loose your change and must edit the package manually. To minimize the effect you can create a custom package/procedure with type signature matching that of row_function and place your code there, so you will need to add only one line of code to the row_function.
    Hope this will help to resolve the problem, I don't know the status/plans for HTT/PHP support in Portal.
    Thanks,
    Dmitry

  • Custom Buttons in XML Forms

    Hi Experts,
    Is there a possibility to create a custom button like when i click the button mail should be sent to concerned person along with form.
    and how to create print button?
    Edited by: EPADMIN on Feb 7, 2012 8:10 AM

    To print or send email you can use Javascript in your form.  In the show form insert a Label.
    (--> in the code replace REF by HREF --> if I put HREF in my post it doesn't work...?)
    To print insert
    <A REF="
    javascript:
    window.print()">Click to Print This Page</A>
      in the Caption and set property Display HTML to yes.
    The same to send mail but put
    <A REF="
    mailto:yourmailaddress?suject=Support request">
    Click to mail</A>
      to create a mail to [yourmailaddress] with subject "Support request". 
    (check mailto syntax for further options).

  • Open LOV popup with a button click or image link click

    hi , a try the solution:
    11g: How to populate LOV from button click
    for open pòpup of lov , but don't works :
    first the others components block the submit of button
    i put the inmediate propertie but lov don't still open
    any ideas???

    Does this one help?
    Invoke lov popup window via keypress

  • Opening a URL from a button within a Web Template

    Hi All,
    I have a requirement to provide report specific help from within a standard web template. Assuming that I had a list of help URLs for each report and an intermediary way to redirect to those URL based upon a unique id such as the reports technical name, is it possible to create a generic button from within a web template that would dynamically create a URL based on the reports technical name? I.e., http://www.example.com/page.html?ZGTRPTNME
    To date I have only used the Action "Command via Command Wizard" from within the parameters of the button Web Item. However, I did notice that a Script Function was provided. Has any used this functionality and is it possible to create a URL with the technical name of the report?

    Rekesh,
    I had a look at the document you linked however what I need to find out is how I can place the technical name (dynamically) within the web template URL (i.e., this needs to work for multiple projects over many reports that all use the same global web template).
    It's actually very easy opening a new window via javascript however finding the varible for the report technical name remains unclear. At present I am looking at command URL's. The only other option is that I use a java script substring command to pull the report technical name from the URL (although this not as clean as using command URL's).
    EDIT: Found this document: http://help.sap.com/saphelp_nw70ehp1/helpdata/en/43/ef9a6c13f2025be10000000a1553f7/content.htm
    Appears that the command: sapbi_page.GetMainTemplateName(); will give me the technical name of the webtemplate although I'm finding it hard to find the command for getting the technical name of the current report.
    Edited by: Paul Thomson on Feb 18, 2010 4:00 PM

  • Opening an EXE from a Button

    Hi everyone,
    Hope someone can help me, i'm having major difficulties. I'm using Adobe Flash Professional CS3 and I'm trying to create a button to open a .exe file. I have been going roudn in circles and nothing seems to work for me at all.
    I have created my button and gave it an instance name, if someone can talk me throgh the procedure I would be very much obliged.
    Many Thanks
    Paul

    I belive that is for a security reasons.
    This is a help for fscommand.
    To use fscommand() to send a message to Flash Player, you must use predefined commands and parameters. The following table shows the values that you can specify for the fscommand() function's command and args parameters. These values control SWF files that are playing in Flash Player, including projectors. (A projector is a SWF file saved in a format that can run as a stand-alone application—that is, without Flash Player.)
    Command
    Parameter (args)
    Purpose
    quit
    None
    Closes the projector.
    fullscreen
    true or false
    Specifying true sets Flash Player to full-screen mode. Specifying false returns the player to normal menu view.
    allowscale
    true or false
    Specifying false sets the player so that the SWF file is always drawn at its original size and never scaled. Specifying true forces the SWF file to scale to 100% of the player.
    showmenu
    true or false
    Specifying true enables the full set of context menu items. Specifying false hides all of the context menu items except About Flash Player and Settings.
    exec
    Path to application
    Executes an application from within the projector.
    trapallkeys
    true or false
    Specifying true sends all key events, including accelerator keys, to the onClipEvent(keyDown/keyUp) handler in Flash Player.
    Not all of the commands listed in the table are available in all applications:
    None of the commands are available in web players.
    All of the commands are available in stand-alone applications, such as projectors.
    Only allowscale and exec are available in test-movie players.
    The exec command can contain only the characters A-Z, a-z, 0-9, period (.), and underscore (_). The exec command runs in the subdirectory fscommand only. In other words, if you use the exec command to call an application, the application must reside in a subdirectory named fscommand. The exec command works only from within a Flash projector file.

  • Open external window from  custom controller

    I have to write code to open an external  window. It should be done from the custom controller and not from component. when i use the following code i get error " The method getWindowManager() is undefined for the type IWD Controller.
    Pls note that I am using IWD controller here..
    IWDController component = wdThis.wdGetAPI();     
    IWDWindow helpWindow =
              component.getWindowManager().createExternalWindow(
                   helpUrl,
                   "help",
                   false);
    Pls help..

    Hi,
    Use
    wdThis.wdGetAPI().getComponent().getWindowManager().createExternalWindow(URL, title, modal)
    Regards
    Ayyapparaj

  • Open Explorer (windows) from CRM button

    Hi,
    how can i open windows explorer for a specific directory from a CRM button in the Web UI ?
    The CALL_BROWSER function (which works fine in the SAP GUI) will result in a
    500 SAP Internal Server Error
    ERROR: Exception condition "FRONTEND_ERROR"  raised. (termination: RABAX_STATE).
    How to solve my problem ?
    Any suggestions ?
    gr
    Hans

    kelvin_nitk wrote:
    Hi i have a java application running on a unix machine.What does this have to do with the rest of the question?
    On a jsp i need to provide a hyperlink which should open a new window but not the internet explorer window but the windows explorer window of some remote windows machine. How can this be done. Can anybody suggest?You want to execute the Windows Explorer program on somebody's computer from within the browser? Running executables from the browser is a security hazard that the browser tries very hard to prevent. You can't do it without getting the user to install some software into their browser where they agree, in advance, that they will let your site do insecure things.
    In this case most likely an ActiveX component would be the best bet.

  • Opening a PDF from flash button

    Hi guys,
    I have not done this for a while and the old source files I got do not seem to work anymore in flash pro cs5. In the past I used ZINC and flash and these code lines:
    the link to the PDF is loaded from an XML:  " ... url="data\\presentations\\EN_Vienna_Opening_Session\\EN_JShepherd_Past&Present.pdf" ... "
    the link is then stored in a flash variabl:  " ... tPath = contentItems[0].childNodes[2].childNodes[3].attributes.url; ... "
    the PDF is then opened with ZINC with: " ... mdm.System.exec(mdm.Application.path+tPath); ... "
    I know this is not forum to support ZINC, but is there any other way of opening PDF files (so they open Acrobat outside FLash)?
    Thanks,
    Nik C

    Have you already tried adding
    htp.p('Content-Disposition:  attachment; filename...as described here?
    http://download.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32469/up_dn_files.htm#CIHDDJGF
    Maybe it solves the problem, in case IE is a little bit picky. But I really don't know.
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • Opening a frame from a button

    Can some one help me figure out how to get a frame to open ferom a button with input. here is the source code where it would be used.
    // Programmer:     AISC AM Programming class
    // Jan. 22, 2004
    // DiseaseSim2 driver to test out People class
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class DiseaseSim2 extends JApplet implements ActionListener
    int i,r,numPeople=100,diameter=10;
    int mx,my;
    int lenghtOfIllness = 15;
    boolean sick;
    Person[] people = new Person[numPeople];
    Rng randn = new Rng();
    Locator datastore = new Locator();
    JButton pressButton = new JButton("Move Folks Around");
    public void init()
    Container con = getContentPane();
    con.setLayout (new FlowLayout());
    con.add(pressButton);
    pressButton.addActionListener(this);
    //CREATE PEOPLE OBJECTS AS AN ARRAY
         for(int i=0;i<numPeople;i++)
    people[i] = new Person(randn.getR(100,400),randn.getR(100,400));
    //SLOW DOWN PROCESS FOR RANDOM NUMBER SEED distinction
    pause(13);
    //MAKE ONE PERSON SICK INITIALLY
    r=randn.getR(1,numPeople);
    people[r].setSick(true);
    public void actionPerformed(ActionEvent e)
    Object source = e.getSource();
    if(source == pressButton)
    repaint();
    public void paint(Graphics gr)
    setBackground(Color.blue);
    pressButton.repaint();
         //ERASE PREVIOUS POSITIONS
    for(i=0;i<numPeople;i++)
    gr.clearRect(people.getx(),people[i].gety(),diameter,diameter);
    //Locator CALL
    datastore.setNumPeople(numPeople);
         datastore.contaminate(people);
    //MOVE PEOPLE
    for(i=0;i<numPeople;i++)
    mx = randn.getR(-100,100);
    my = randn.getR(-100,100);
              people[i].move(mx,my);
              //Make red or green
         sick = people[i].getSick();
         if(sick)
              gr.setColor(Color.red);
    //INCREMENT DAYS SICK
    people[i].countDaySick();
         else
              gr.setColor(Color.green);
         gr.fillOval(people[i].getx(),people[i].gety(),diameter,diameter);
              //MAKE PEOPLE WELL (NOT SICK)
              if(sick && people[i].getDaySick() > lenghtOfIllness)
              people[i].setSick(false);
    people[i].setDaySick(0);
    //REQUIRED METHOD FOR PAUSE
    void pause(int time)
    try{ Thread.sleep(time);}
    catch(InterruptedException e) { }

    &#91;code&#93;public void actionPerformed(ActionEvent e)
        Object source = e.getSource();
        if(source == pressButton)
            JFrame jf = new JFrame("My New Frame!!!");
            jf.setBounds(200,200,200,200);
            jf.setVisible(true);
    }&#91;/code&#93;
    Isn't code easier to read with &#91;code&#93;&#91;/code&#93; blocks around it?

  • Calling a popup from FPM button

    Hi All,
    The scenario is from SRM (7.0).
    1. I click on a button in the FPM Identification Region lets say - Create PO.
    2. When I click on the button Create PO, it creates a PO in the back ground and gives me a confirmation pop up saying that the PO is created.
    Now my requirement is such that I need to populate the header/ Payment terms texts in the PO.
    As the button being clicked is in FPM frame work, how do I call a pop up and pass the texts in to the PO.
    Best Regards,
    Basha

    I hope someone has an answer to this. I am looking for a similar solution. I do know the Web Dynpro Component for that screen is FPM_OIF_COMPONENT, the view is CNR_VIEW, the "Create Purchase Order" button is OTHER_FUNCTIONS_22 and the method ONACTIONBUTTON_PRESSED controls all of the other buttons (ie. Print Preview, Close, etc.). However, I can't find what happens when the Create PO button is pushed.
    Edited to Add: The Web Dynpro info only applies to the RFx Response screen. Probably not what you are looking at.
    Edited by: Sharina Smith on Apr 28, 2009 8:45 PM

Maybe you are looking for

  • How can i do a re-install of snow leopard?

    it has been suggested that i do a fresh re-install of snow leopard to remedy my battery issues (extreme drop in charge with sn installation http://discussions.apple.com/thread.jspa?messageID=10258624). i'm new to macs, so i'm wondering how to go abou

  • Sounds not working after 10.7.3 update

    After the update my mail, popup, system sounds aren't all working. Also some are now mixed up. The sounds are listed in the system prefs/sounds but they aren't working when needed. Anyone have any suggestions? thanks.

  • Does iMovie for the iPad support green screen functionality?

    Was wondering if someone could help me out with this  I want to incorporate the use of green screen in my classroom.

  • IPad iTunes won't stop scrolling.

    Gen 3 iPad. iTunes music just keeps scrolling when a specific artist/album is selected. It will play all the music on shuffle, but not if a specific album/artist is selected.

  • Upgraded to iphoto 11 to change layouts for a book I am making. Help!

    Upgraded to iphoto 11 to change layouts for a book I am making. Layout change went great but now I have text in the lower right hand corner of my cover that I cannot remove. It is the old title of the book but smaller and where the page number would