Opening a form in a POP UP window from report

I would like to open a form in a new window from a
link on a field in the report .
Parameters should be passed from the report to form.
Is it possible to do this with a portal link?
Also After modification of the form & on click of save is it possible to close the newly opened window(form) & refresh the report to reflect the changes as both refer to the same table.
Any Idea pls reply,
Thanks in Adv,
Sajith.

Hi,
You can achieve this using by sql based reports. Here is a sample code snippet
select ''||
to_char(empno)||'' empno
from SCOTT.EMP
Please dont forget to change the display type of the column to HTML in the column formatting section of the reports,
otherwise the report will render the html code.
You can have a close button on the form on which you can write a javascript which closes itself. You can write this
on OnClick
self.close();
Hope this clarifies you doubt :-)
Thanks,
Sharmila

Similar Messages

  • Everytime I open Safari on my MacBook Pro a pop-up window from my Finder menu, with the Applications highlighted on the left in the favorites column with the Resources folder highlighted comes up and locks my Safari page until I manually close the Resourc

    Everytime I open Safari on my MacBook Pro a pop-up window from my Finder menu, with the Applications highlighted on the left in the favorites column with the Resources folder highlighted comes up and locks my Safari page until I manually close the Resources window then I have to refresh the internet search address line at the top of Safari. Can someone tell me how to stop this. It started after a software upgrade. It didn’t do that before. Thank you.

    A few thoughts for diagnosis/testing purposes:
    Have you recently run the disk utility and repaired HD and permissions? If not do so.
    Boot into the Safe mode - hold down shift key on boot - and see if the problems are still there. Some functions won't work but see if anything odd happens.
    Check your startup items. Get rid of them temporarily.
    Create a new user account and see if the problems occur with the new account.
    Lastly, be sure your backup is up-to-date.

  • I purchased Adobe Creative Suite C2 and have been using it for years on the same computer no problem with using it. Recently upon opening Photoshop I received a pop up window saying due to Adobe Software security we need you to activate your CS2 software.

    I purchased Adobe Creative Suite C2 and have been using it for years on the same computer without any problems with using it. Recently upon opening Photoshop I received a pop up window saying due to Adobe Software security we need you to activate your CS2 software. I tried, phone activation, web activation, nothing is working. I have the serial number and my Adobe account information. Any suggestions?

    Error: Activation Server Unavailable | CS2, Acrobat 7, Audition 3
    Mylenium

  • Open a form as a pop up (sub form)

    In Dreamweaver 8, how do I open a form as a pop up (or sub form)?
    On a form users will be able to select an item. When they do I want to open a form, on top of the form that the user made the selection, and display information about their selection.
    Many thanks in advance

    Once again... jQuery to the rescue!
    http://www.ericmmartin.com/simplemodal/
    Look at the pop up form demo - the second one down.
    Lawrence   *Adobe Community Expert*
    www.Cartweaver.com
    Complete Shopping Cart Application for
    Dreamweaver, available in ASP, PHP and CF

  • When opening the App Store a pop up window comes up and will not let me close it even when I touch outside the window

    When opening the App Store a pop up window comes up and will not let me close it even when I touch outside the window

    Close apps
    1. Double tap the home button to bring up the multi-tasking view
    2. Swipe the app's windows upwards to close
    3. The app will fly off the screen
    http://support.apple.com/kb/ht5137

  • How can I get a query in the search field to open in a new tab or new window from the current window?

    How can I get a query in the search field to open in a new tab or new window from the current window?

    If you are searching via the Search Bar on the Navigation Toolbar, this preference can be changed to have searches there open in a Tab.
    Type '''about:config''' in the Address Bar and hit Enter. Then answer "I'll be careful". Type this pref in the Search at the top.
    '''browser.search.openintab''' = double-click to toggle to '''true'''

  • How can I turn off the Download pop up Window from displaying when downloading a file?

    How can I turn off the Download pop up Window from displaying when downloading a file?

    To not display the built-in Firefox downloads window, Tools > Options > General tab, un-check "Show the <u>D</u>ownloads window when downloading a file". See: http://support.mozilla.com/en-US/kb/Options+window+-+General+panel
    If you have some other download manager installed, you will need to see the documentation for the download manager.
    <br />
    You have installed plugins with known security issues that should be updated. To see the plugins submitted as part of your question post, click "More system details..." to the right of you original question.
    *Shockwave Flash 10.1 r53
    *Next Generation Java Plug-in 1.6.0_18 for Mozilla browsers
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Shockwave Flash'''
    #*Use Firefox to Download and SAVE to your hard drive from one of the links below; '''<u>the links take you directly to the download and you avoid the "getplus" download manager and "extras" (i.e., toolbars, virus scan links, etc.) on the main Adobe page.</u>'''
    #*SAVE to your Desktop so you can find it
    #*After download completes, close Firefox
    #*Click on the file you just downloaded and install
    #**Note: Vista and Win7 users may need to right-click the installer downloaded and choose "Run as Administrator"
    #**Note: Most browsers other than IE will also get updated with this one download
    #**Note: To update IE, same procedure '''<u>but use IE</u>''' to go: http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_ax.exe
    #*After installation, restart Firefox and check your version again.
    #*'''<u>Download links and other information</u>''':
    #** https://support.mozilla.com/en-US/kb/Managing+the+Flash+plugin#Updating_Flash
    #** '''<u>or</u>''' you can download, save, then run the manual installers for IE, then for Firefox (and all other browsers) from here: http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #* Also see: http://support.mozilla.com/en-US/kb/Installing+the+Flash+plugin
    #* Also see (if needed): http://kb2.adobe.com/cps/191/tn_19166.html#main_Uninstall
    #'''Update Java:'''
    #* Download and update instructions: https://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions
    #* After the installation, start Firefox and check your version again.

  • How to get a  pop up window from a jsp  form?

    hello,
    i need to get a pop up window when i click a button on a jsp form page. then
    i have to enter some values and get the result on this child window by clicking a button for calculation on the same child window.
    what mechanism should i follow for this ? anybody , help me plz..

    Then u can make a Applet For that or can make a Frame & open it on the client side.
    it's so simple .
    Do it ok
    Bye
    Harsh

  • How to open a form action in a popup window?

    I have a form that has a submit button and a email button.  The email button calls a javascript fuction that will execute a mailform script.  everything is working fine, but I would like the output window from the mail formscript to open in a popup, but currently is opening in a blank page.
    currently hte output from the mail script will open in a _blank window.
    Thanks in advance for your help
    Here is the html code:
    <FORM name="drop_list" action="<?php echo $editFormAction; ?>"" method="POST" >
        <input name="emailForm" type="button" id="emailForm" onClick="sendFormEmail()" value="Email">
        <input name="add_patient" type="submit" id="add_patient" onclick=document.drop_list.action='<?php echo $editFormAction; ?>' value="Add Patient">
    Here is my javascript code:
    function sendFormEmail() //email form
                        document.drop_list.action = "html_form_send.php";
                        document.drop_list.target = "_blank";
      document.drop_list.submit();            // Submit the page
                        return true;
    and here is the html_form_send.php
    <?php
    if(isset($_POST['patient_email'])) {
        // CHANGE THE TWO LINES BELOW
              $email_to = '[email protected]';
        function died($error) {
            // your error code can go here
            echo "We are very sorry, but there were error(s) found with the form you submitted. ";
            echo "These errors appear below.<br /><br />";
            echo $error."<br /><br />";
            echo "Please go back and fix these errors.<br /><br />";
            die();
    //    validation expected data exists
        if(!isset($_POST['patient_name']) ||
                     !isset($_POST['patient_email']) ||
                                  !isset($_POST['textBox']) ||
                     !isset($_POST['doc_comment']))
        //    died('We are sorry, but there appears to be a problem with the form you submitted.');      
        $first_name = $_POST['patient_name']; // required
        $email_from = $_POST['patient_email']; // required
              $comments = $_POST['doc_comment']; // required
        $error_message = "";
        $email_exp = '/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/';
      if(!preg_match($email_exp,$email_from)) {
        $error_message .= 'The Patient Email you entered does not appear to be valid.<br />';
        $string_exp = "/^[A-Za-z .'-]+$/";
      if(!preg_match($string_exp,$first_name)) {
        $error_message .= 'The First Name you entered does not appear to be valid.<br />';
      if(strlen($comments) < 2) {
        $error_message .= 'The Comments you entered do not appear to be valid.<br />';
      if(strlen($error_message) > 0) {
        died($error_message);
       function clean_string($string) {
          $bad = array("content-type","bcc:","to:","cc:","href");
          return str_replace($bad,"",$string);
    // set subject line
        $email_subject = "referral form for " .$first_name ;
    // format message body
              $email_message = '<html><body>';
              $email_message .= '<table border="0">';
              $email_message .= "<tr ><td width='125' style='background: #eee;'><strong>Name:</strong> </td><td>" . strip_tags($_POST['patient_name']) . "</td></tr>";
              $email_message .= "<tr><td><strong>Patient Phone:</strong> </td><td>" . strip_tags($_POST['patient_phone']) . "</td></tr>";
              $email_message .= "<tr><td><strong>Side:</strong> </td><td>" . strip_tags($_POST['bodySideOutput']) . "</td></tr>";
              $email_message .= "<tr><td><strong>Area:</strong> </td><td>" . strip_tags($_POST['bodyPartOutput']) . "</td></tr>";
              $email_message .= "<tr><td><strong>Diagnosis:</strong> </td><td>" . strip_tags($_POST['subbodyPartOutput']) . "</td></tr>";
              $email_message .= "<tr><td><strong>Sub Cat:</strong> </td><td>" . strip_tags($_POST['subCatOutput']) . "</td></tr>";
              $email_message .= "<tr><td><strong>Injury2</strong> </td><td></td></tr>";
              $email_message .= "<tr><td><strong>Side2:</strong> </td><td>" . strip_tags($_POST['I2bodySideOutput']) . "</td></tr>";
              $email_message .= "<tr><td><strong>Area2:</strong> </td><td>" . strip_tags($_POST['I2bodyPartOutput']) . "</td></tr>";
              $email_message .= "<tr><td><strong>Diagnosis2:</strong> </td><td>" . strip_tags($_POST['I2subbodyPartOutput']) . "</td></tr>";
              $email_message .= "<tr><td><strong>Sub Cat2:</strong> </td><td>" . strip_tags($_POST['I2subCatOutput']) . "</td></tr>";
              $email_message .= "<tr><td><strong>Doctor Comment:</strong> </td><td width='125' style='background: #eee;'>" . strip_tags($_POST['doc_comment']) . "</td></tr>";
              $email_message .= "</table>";
       $email_message .= "</body></html>";
    // To send HTML mail, the Content-type header must be set
    $headers  = 'MIME-Version: 1.0' . "\r\n";
    $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
    // Additional headers
    $headers .= 'From: '. $email_to."\r\n";
    //$headers .= 'CC: '. $email_to. "\r\n";
    //$headers .= 'From: '. $email_from. "\r\n";
    //$headers .= 'CC: '. $email_from. ',' . $email_to."\r\n";
    //send mail
    mail($email_from, $email_subject, $email_message, $headers);
    //mail($email_from, $email_subject, $email_message, $headers);
    ?>
    <!-- place your own success html below -->
    Email Sent
    <?php
    die();
    ?>

    Im currently trying to take all the validation out of the mail script and do it in the html page itself. 
    Bad choice.   Client-side form validation isn't secure  and it does not work if JavaScript is disabled.  A fair number of people turn off JavaScript or use one of the No-Scripts Add-ons in their browsers for perceived security reasons.
    Don't forget, spam bots don't use JavaScript either so they will penetrate your forms without missing a beat. 
    Server-side validation is very reliable.  And if your script is built properly, it can stop robot submissions and exploitation of your forms which is very important these days.
    Nancy O.

  • How to forbid the use of right click to open a pop up window  from a link ?

    I would like to prevent the user from opening pop up windows using the right button of the mouse on a link.
    Is it possible ?
    Thank you in advance for any help and suggestion.
    Paolo

    Is this regarding OAF ? if this is a requirement in OAF, then its not possible(unless you put in some javascript function in the page).
    If you want to do it in other jsps there are a lot of examples available in google on how to do this.
    Thanks
    Tapash

  • Open or Save to harddiskoption pop up window needed when clicked on pdf lin

    Subject : Open or Save to harddisk option pop up window needed when clicked on pdf link
    I have a web application. There will be some pdf links in the application. When clicked on these links I read the content from database and output as bytestream. But when end user clicks these files the pdf will open in the browser or in Adobe based on his Adobe setting
    Note : Experimentation done on Adobe Acrobat reader 5
    Setting 1> Edit - Preferences - Options - Check on the 'Display PDF in browser' option
    pdf opens up in the browser itself without asking any option
    Setting 1> Edit - Preferences - Options - Check off the 'Display PDF in browser' option
    on click it opens a windows pop up window asking me either to 'Open' or 'Save' . If I say Open it opens in Adobe.
    Can this setting be controlled by my application itself [from Java servlets]? I want the opp up to be asked for every end user who clicks on the pdfs irrespective of what settings he has in Adobe Acrobat

    I am not sure whether this will work. But it's possible to download the pdf file. Try the following
    response.setContentType("application/download");
    String filename = <<filename>>
    response.setHeader("Content-Disposition","attachment;filename=\"" + filename + "\"");
    Read the file into a bufferedOutputStream and then
    int bytesA = bis.available();
    response.setContentLength(bytesA);
    write the content to ServletOutputStream..
    Sagar

  • Unable to open same form with Multiple logins on Windows IE8

    Hello All,
    We recently upgraded our instance from Jinitiator to Java Plugin Version 1.6 U18.
    After that we are unable to open same form from different logins on a same windows machine.
    the following is scenario.
    1) Login as X user into EBS and open a sales order form. -- Every thing is fine.
    2) On the same machine in another browser window, login as X user again and open Sales order form. --- No issue here also,
    3) On the same machine in another browser window(Keeping the above forms open), login as Y user and open sales order form ---> Form opened from Y user is fine, but, both forms of X user are exiting Oracle applications with message" Your logon session become invalid. Exiting Oracle applications".
    we have encountered issues with opening an attachment from a form, and it is resolved by Unchecking "Enable the next generation java plugin" option in Java control panal --> Advanced -> Java plugin. This workaround done according to note: 290807.1
    But the multiple login issue is not resolved.
    THis isssue is in our PROD and we are loosing customers. Please Advice ASAP.
    THanks.
    Rama Krishna N K J

    Hi Rama;
    It was working before? If yes what have you been changed on your system?(patch etc) You have same error on IE 7 or firefox? Did you check apache log file for more details? You have any FRM error code?
    Please check those settings on your IE8:
    1 - Go to Tools > Internet Options > Security > Select Sites > click on button "Sites": add the url of ebs.
    2 - Go to Tools > Internet Options > Security > Select Sites > Custom Level > Disabled XSS filter.
    Also check:
    Recommended Browsers for Oracle E-Business Suite 11i [ID 285218.1]
    Regard
    Helios

  • How to open XML form item into the same window?

    Hello All,
    I've developed a xml form, when I click on the  item with KM Navigation Iview It opens in a new window.( _blank ).
    Is there a way to open it in the same window ( _self )?
    Thanks
    Amit Yosha

    Hi Amit,
    at the moment, this is not configurable. See XML form display in same browser window for possible workarounds.
    Hope it helps
    Detlev

  • Opening a pop up window from another pop up window

    Hi i'm having difficulty doing this, i'm redoing the business
    directory at this address:
    http://www.localeyenewspaper.com/business.html
    When you click on an ad, on some companies that have website
    i want to put a link below the ad in the pop up window and when the
    user clicks on it another pop up window opens with their site.
    However when i tried to do this instead of another window opening,
    the window with the advert went to the site, and it also stayed the
    same size without resizing to the dimensions i need to display the
    website, can anyone help me? Thanks

    <script type="text/javascript">
    <!--
    var newWin2;
    function MM_openBrWindow2(theURL,winName,features) {
    //v2.0custom
    newWin2=window.open(theURL,winName,features);
    //-->
    </script>
    <a href="
    http://www.dmpowerwashing.co.uk"
    class="style1"
    onclick="MM_openBrWindow2('
    http://www.dmpowerwashing.co.uk','dm','toolbar=yes,loc
    ation=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=1200,height=
    800');return false;">
    Note I've renamed the function and the function call (and
    added "return
    false" to the latter.) This means you'll no longer be able to
    modify it
    using the OpenBrowserWindow behavior in the Behaviors window.
    emichael
    Stuart.hamilton wrote:
    > Here's the code for a pop up window that i want to link
    to another pop up.
    > Where would i put the new code in this? thanks
    >
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="
    http://www.w3.org/1999/xhtml">
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=UTF-8" />
    > <title>Untitled Document</title>
    > <style type="text/css">
    > <!--
    > .style1 {font-family: Verdana, Arial, Helvetica,
    sans-serif}
    > -->
    > </style>
    > <script type="text/javascript">
    > <!--
    > function MM_openBrWindow(theURL,winName,features) {
    //v2.0
    > window.open(theURL,winName,features);
    > }
    > //-->
    > </script>
    > </head>
    >
    > <body>
    > <p><img src="../ADs/Useful services
    /Power-washing2.png" width="394"
    > height="438" /></p>
    > <p><a href="
    http://www.dmpowerwashing.co.uk"
    class="style1"
    > onclick="MM_openBrWindow('
    http://www.dmpowerwashing.co.uk','dm','toolbar=yes,loc
    >
    ation=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=1200,height=
    > 800')">www.dmpowerwashing.co.uk</a></p>
    > </body>
    > </html>
    >
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • Firefox does not open pop-up windows from java script even if blocking pop-up is disabled for those sites

    I need to use pop-up windows for some e-mail sites which use java, but firefox doesn't do anything, even if i allowed pop-ups for those sites or disable completely

    If the settings in Firefox are correct then make sure that your security software (firewall, anti-virus) isn't blocking pop-ups, some have advanced features that include blocking pop-ups.
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

Maybe you are looking for