How to create a popup window that allows creation - - -

Hi,
I have a column named owner_id(number) .
My requirement is to display the owner name and in the future I want to allow creation of a new owner from this page, .So i have used an
[ Popup Key LOV (Displays description, returns key value)] for the time being which displays name(Description in other table)
I need to create a popup window that allows creation of the owner and writes the entity_id(owner_id) back to this page.
Can anyone plz help with the solution

hey,vee
thanks for your response,but i had already read this thread before i put up a new question.any way,thanks.
best regards
hlee

Similar Messages

  • How to create a popup window that shows detail information when press submi

    hi,all
    how to create a popup window that shows detail information when press the submit button ?I mean,when I press the button "Sumit"there will appear a popup window that shows the detail information you typed before.it means are u sure to submit,it is like some confirmation window.
    how to do achieve this ?help plz .
    best regards
    hlee
    Edited by: hlee on 2011-4-15 上午1:26

    hey,vee
    thanks for your response,but i had already read this thread before i put up a new question.any way,thanks.
    best regards
    hlee

  • How to create a popup window to load HTML page in AIR application without using any mx or spark?

    How to create a popup window to load HTML page in AIR application without using any mx or spark components?
    I need to load the HTML page in popup in AIR application without using any of the <mx> or <spark> components. I need to open in the application itself not in the browser.(If we use navigateToURL() it will open in th browser)

    Can we achieve this? can somebody help me on this scenario..

  • How to create a standard report that allows filtering?

    Hi Guys and Gals,
    Sometimes, the standard report is great because it gives the user the feeling of a grid. i.e. All of the values are editable on one page, kind of like a spreadsheet. That is sometimes very useful. But if there is a lot of data, a filtering mechanism is necessary.
    So will one of you Apex gurus please tell me how to create a standard report that also allows data filtering?
    Allowing the user to specify the number of rows displayed would be peachy-keen too.
    Thanks,
    Kim
    P.S. I'm running Apex 4.1 with Oracle 11g.

    Kim2012 wrote:
    Your idea sounds very promising, but I apparently need a nudge in the right direction. From "Create Page", I clicked on "Form" and then "Tabular Form". Why would you do this? The advice given was
    create a standard report page using the Create New Page wizardi.e. go to Home > Application Builder > Application > Create Page and click Classic Report, this was suggested because the original post said:
    >
    So will one of you Apex gurus please tell me how to create a standard report that also allows data filtering?
    >
    Nothing about forms. Tabular Forms, Tabular Forms. Despite many enhancements over the last few versions, tabular forms still cause problems, especially for novices trying to go beyond their own competence and the built-in capabilities of wizard-generated tabular forms.
    More good advice: Re: Newbie question-how does the tabular form work?  How to populate prim key? and&mdash;if based on decent database design&mdash;out of the box you have a usable and robust application. Use an Interactive Report or a custom report template and add some CSS and you can get something a lot more powerful, flexible and better looking than any tabular form. Spend the time you haven't wasted on frustrated hacking of tabular forms adding more features and enhancements to your app.

  • How to create a  popup windows

    Hi
    I have seen in Simon Collins application http://apex.oracle.com/pls/apex/f?p=20411:1:888811517916461 a popup windows.
    Can anyone help me, buil a popup windows like that or is there any tutorial where i can see how its done.
    Tanks

    Hi,
    You should have three processes: addPerson, getPerson and updatePerson. All three are "On Demand" processes. This is the PL/SQL code for each:
    addPerson
    BEGIN
    INSERT INTO EMP (ENAME, JOB, MGR, HIREDATE, SAL, COMM)
    VALUES (:P1_ENAME, :P1_JOB, :P1_MGR, TO_DATE(:P1_HIREDATE, 'DD/MM/YYYY'), :P1_SAL, :P1_COMM);
    END;getPerson
    DECLARE
    vRESULT VARCHAR2(1000);
    BEGIN
    SELECT ENAME || ',' || JOB || ',' || MGR || ',' || TO_CHAR(HIREDATE, 'DD/MM/YYYY') || ',' || SAL || ',' || COMM
    INTO vRESULT
    FROM EMP
    WHERE EMPNO = :P1_EMPNO;
    HTP.P(vRESULT);
    END;updatePerson
    BEGIN
    UPDATE EMP
    SET ENAME = :P1_ENAME,
    JOB = :P1_JOB,
    MGR = :P1_MGR,
    HIREDATE = TO_DATE(:P1_HIREDATE, 'DD/MM/YYYY'),
    SAL = :P1_SAL,
    COMM = :P1_COMM
    WHERE EMPNO = :P1_EMPNO;
    END;On the page, in the page's HTML Header setting, I have:
    &lt;script type="text/javascript"&gt;
    $(function() {
       $('#ModalForm').dialog(
        modal : true,
        autoOpen : false,
        buttons  : {
          Cancel : function() {
            closeForm();
          Add : function() {
            $('#ModalForm input[type="text"]').removeClass('ui-state-error');
             var valid = true;
            $('#ModalForm input[type="text"]').each(function() {
              if($(this).val().length == 0)
                $(this).addClass('ui-state-error');
                message = 'Error: ' + $(this).attr('id').substr(3).replace('_', ' ') + ' is blank';
                $('.msg').text(message);
                valid = false;
                return false;
            if(valid)
               addPerson();
    function openForm(pID)
       $('#ModalForm').dialog('open');
       $('#ModalForm input[type="text"]').removeClass('ui-state-error');
       var btns = {};
       btns['Cancel'] = function() { closeForm() };
       $s('P1_ENAME','');
       $s('P1_JOB','');
       $s('P1_MGR','');
       $s('P1_HIREDATE','');
       $s('P1_SAL','');
       $s('P1_COMM','');
       if(pID)
          initilizeForm(pID);
          $('#ModalForm').dialog({ title : 'Update'});
          btns['Save Changes'] = function(){updatePerson(pID);};
       else
          $('#ModalForm').dialog({ title : 'Add'});
          btns['Add'] = function(){addPerson();};
       $('#ModalForm').dialog('option', 'buttons', btns);
    function closeForm()
      $('#ModalForm input[type="text"]').val('');
      $('#ModalForm input[type="text"]').removeClass('ui-state-error');
      $('#ModalForm').dialog('close');
    function initilizeForm(pID)
       var ajaxRequest = new htmldb_Get(null, &APP_ID., 'APPLICATION_PROCESS=getPerson', 0);
       ajaxRequest.add('P1_EMPNO', pID);
       var ajaxResult = ajaxRequest.get().split(',');
       $s('P1_ENAME', ajaxResult[0]);
       $s('P1_JOB', ajaxResult[1]);
       $s('P1_MGR', ajaxResult[2]);
       $s('P1_HIREDATE', ajaxResult[3]);
       $s('P1_SAL', ajaxResult[4]);
       $s('P1_COMM', ajaxResult[5]);
    function addPerson(pID)
       if (pID)
         updatePerson(pID);
       else
         var ajaxRequest = new htmldb_Get(null, &APP_ID., 'APPLICATION_PROCESS=addPerson', 0);
         ajaxRequest.add('P1_ENAME', $v('P1_ENAME'));
         ajaxRequest.add('P1_JOB', $v('P1_JOB'));
         ajaxRequest.add('P1_MGR', $v('P1_MGR'));
         ajaxRequest.add('P1_HIREDATE', $v('P1_HIREDATE'));
         ajaxRequest.add('P1_SAL', $v('P1_SAL'));
         ajaxRequest.add('P1_COMM', $v('P1_COMM'));
         ajaxRequest.get();
         ajaxRequest = null;
         closeForm();
         gReport.search('SEARCH');
    function updatePerson(pID)
       if(!valid())
          return;
       var ajaxRequest = new htmldb_Get(null, &APP_ID., 'APPLICATION_PROCESS=updatePerson', 0);
       ajaxRequest.add('P1_EMPNO', $v('P1_EMPNO'));
       ajaxRequest.add('P1_ENAME', $v('P1_ENAME'));
       ajaxRequest.add('P1_JOB', $v('P1_JOB'));
       ajaxRequest.add('P1_MGR', $v('P1_MGR'));
       ajaxRequest.add('P1_HIREDATE', $v('P1_HIREDATE'));
       ajaxRequest.add('P1_SAL', $v('P1_SAL'));
       ajaxRequest.add('P1_COMM', $v('P1_COMM'));
       ajaxRequest.get();
       ajaxRequest = null;
       closeForm();
       gReport.search('SEARCH');
    function valid()
       $('#ModalForm input[type="text"]').removeClass('ui-state-error');
       var valid = true;
       $('#ModalForm input[type="text"]').each( function() {
           if( $(this).val().length == 0)
               $(this).addClass('ui-state-error');
               message = 'Error: ' + $(this).attr('id').substr(3).replace('_', ' ') + ' is blank';
               $('.msg').text( message );
               valid = false;
               return false;
       return valid;
    &lt;/script&gt;And I have an HTML region on the page with the following settings:
    Region Header:
    &lt;div id="ModalForm" style="display:none; width:500px;"&gt;Region Footer:
    &lt;/div&gt;This region contains all of the page items - P1_EMPNO (hidden), P1_ENAME (text), P1_JOB (text), P1_MGR (select list), P1_HIREDATE (datepicker), P1_SAL (text) and P1_COMM (text)
    Apart from a bit of styling here and there, that's it
    Andy

  • How to create a popup window?

    I'm a JavaFX newby.
    I know that this question's been asked already and I read all the postings, but I still can't work out how to do this (I must be really stupid).
    Any sample code how to make this Popup class work will be highly appreciated. All I need is a small dialog that allows the user to enter a value in a text box and then to close that dialog. JOptionPane is not good enough as it does not support a password field.

    Hi. Take a look at javafx.stage.Popup as JOptionPane

  • How to create the popup window..?

    Hi,
         I'm new to flash and Action Script, I need to add popup window dynamicaly in my application. I'm using Action Script 1.0. Can you help me to solve my problem..?
    Regards,
    Appu

    Hi Saran,
    I want to create dropup menu.  Please help me. Just mail me on
    [email protected]
    Its urgent.
    regards,
    Sudhir Mishra

  • How to create a new window ?(not popup windows)

    How to create a standard window to show my web dynpro window so that the print button can be used ?

    hi , you are right , the blog tell me how to create a popup window , but I wanna to create a new window so that I can use the functions provided by the browser , what shall I do ?
    Regards ,

  • Create a popup window in Swing

    Hi, I want to create a popup window that contains some buttons and text fields when the user selects a menuItem from the menuBar using Swing. What would be the best way to do this?

    How to Use Menus:
    http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html
    In your actionPerformed code you would create and display a JDialog.

  • Create a popup window in a portal

    Hi all,
    how to create a popup window when clicked on a role in portal, the iview contains the 4 regions or clients as radio buttons, when i click on radio button, the perticular iview or region should hold and trigger the perticular region or client RFC 
    i hope u people know this, tell me step by step in doing this
    Thanks in advance
    Thanks&Regards
    charan
    Edited by: charan12 on Feb 2, 2011 5:39 AM

    Hi charan,
    You can set the property "Launch in New window" of the particular iview which needs to be open on click of the radio button as" Display in seperate headerless portal window".
    Regards,
    Namrata Dixit

  • How to create a popup windown with javascript?

    Hi, every one,
    I made a jsp program. I know we can use win.open, win.close to create, to close a popup window with javascript. But I don't know how to create a popup window ,display some message on this window and there is a button on it for closing this window. Just like follows:
    int mark;
    if(mark==1){
         create popup window, display some message, there is a
    button and click it to close this window.
    } else {
         display error message.
    Any one can help me?
    Thanks in advance.
    peter

    Hi, bdtjdc,
    Thank you for your help and kindness.
    You know, I am a new one in javascript. So,
    1, I only know how to use alert(message) on current page and I don't know how use alert(message) on the next page because I
    need to pass some datas from current jsp page to next one.
    2, when I use the code you gave me as follows, there is no popup window and button:
    if(mark==1){
    %>
    <script language="JavaScript">
    message=message+'enter your message here...<br>';
    message=message+'<form name="form1"><input type="button" name="close" value="close window"
    onClick="window.close()"></form>';
    message='enter your message here...<br>';
    var actwin=window.open("","","menubar=0,width=300,height=300");
    actwin.document.write(message);
    actwin.document.close();
    actwin.focus();
    </script>
    <%
    } else {
    error message;
    if I use the code like this, We have the window and message on it, but there is no button on the window.
    if(mark==1){
    %>
    <script language="JavaScript">
    message='enter your message here...<br>';
    var actwin=window.open("","","menubar=0,width=300,height=300");
    actwin.document.write(message);
    actwin.document.close();
    actwin.focus();
    </script>
    <%
    } else {
         error message;
    What's the problem? Please.
    Thanks again.
    Peter

  • CS3.....using actionscript 2.0.....how do i make a popup window that actually works?

    Iv'e been trying all types of code and am pulling my hair
    out......how do i go about making a javascript popup window that
    works in safari, as well as all the other browsers? Im getting this
    error when i try to use safari:
    Safari doesn’t allow JavaScript to be used in this way.
    I just want a simple javascript popup window thats not going
    to give me any type of problems...please. I have a button on my
    stage called StartSearch.
    What code do i put in the actionscript? where do i place the
    actionscript? What code and where do i place the code in the html
    doc where the flash is embedded? Please help

    ACTIONSCRIPT:
    on (release) {
    getURL("javascript:openNewWindow('
    myMovie.swf','thewin','height=400,width=400,toolbar=no,scrollbars=yes')
    HTML:
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=ISO-8859-1" />
    <title>--* Home Solutions Today*--</title>
    <SCRIPT LANGUAGE=JavaScript>
    function openNewWindow(URLtoOpen, windowName, windowFeatures)
    newWindow=window.open(URLtoOpen, windowName,
    windowFeatures);
    </SCRIPT>
    <script src="AC_RunActiveContent.js"
    language="javascript"></script>
    <link href="HSTPageLayout.css" rel="stylesheet"
    type="text/css">
    <style type="text/css">
    <!--
    body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    background-image: url(Stuff.jpg);
    background-repeat: repeat-x;
    background-color: #FFFFFF;
    -->
    </style>
    </head>
    <body>
    <div class="Container">
    <!--url's used in the movie-->
    <!--text used in the movie-->
    <!-- saved from url=(0013)about:internet -->
    <script language="javascript">
    if (AC_FL_RunContent == 0) {
    alert("This page requires AC_RunActiveContent.js.");
    } else {
    AC_FL_RunContent( 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0','widt h','700','height','850','id','Header-','align','middle','src','Header-','quality','high',' bgcolor','#336699','name','Header-','allowscriptaccess','sameDomain','allowfullscreen','fa lse','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','Header-'
    ); //end AC code
    </script>
    <noscript>
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"
    width="700" height="850" id="Header-" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="Header-.swf" /><param
    name="quality" value="high" /><param name="bgcolor"
    value="#336699" /> <embed src="Header-.swf" quality="high"
    bgcolor="#336699" width="700" height="850" name="Header-"
    align="middle" allowScriptAccess="sameDomain"
    allowFullScreen="false" type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    />
    </object>
    </noscript>
    </div>
    </body>
    </html>

  • How can we create a popup window for confirmation while clicking of button

    HI Friends,
    I am creating a application, In which I want to create a popup window for confirmation on clicking of a button.
    I also need two buttons on popup window i.e. 'Yes' & 'No'.
    On yes i want to perform some operation and on No i want to cancel that operation.

    Hi Narendra,
    try using the following code in ONACTION of ur button for popup :
    * Popup
       *  Generate Popup
        DATA lo_window_manager TYPE REF TO if_wd_window_manager.
        DATA lo_api_component  TYPE REF TO if_wd_component.
        DATA lo_window         TYPE REF TO if_wd_window.
        lo_api_component  = wd_comp_controller->wd_get_api( ).
        lo_window_manager = lo_api_component->get_window_manager( ).
        lo_window         = lo_window_manager->create_window(
          window_name          = 'W_POPUP'
         window_position = if_wd_window=>co_center
          message_display_mode = if_wd_window=>co_msg_display_mode_selected
          button_kind          = if_wd_window=>co_buttons_yesno
          message_type         = if_wd_window=>co_msg_type_none
          default_button       = if_wd_window=>co_button_yes
        DATA:  l_api TYPE REF TO if_wd_view_controller.
        l_api = wd_this->wd_get_api( ).
        " subscribe action for Ok button
        lo_window->subscribe_to_button_event(
                     button            = if_wd_window=>co_button_yes
                     action_name       = 'OK_POPUP'
                     action_view       = l_api
                     is_default_button = abap_true ).
        lo_window->open( ).
    regds,
    amit

  • How to block popup windows that opens up on clicking a link?

    Hi,
    How to block pop-up windows that opens up when a link is clicked? The feature in IE is to set the Blocking level as 'High: Block all pop-ups (Ctrl + Alt to override)' in Pop-up Blocker settings.
    Is there a similar feature in Mac?
    Thanks & appreciate the support

    In the menu bar, Safari > Preferences > Security > Web Content
    Some popups will not be blocked by this method, but blockable popups will be.

  • How to create a popup in an ADF train taskflow?

    I have a Train taskflow. Then i create a popup window in one of the buttons. When i run the JSF as an independent page, the popup works. But when i run the taskflow, the popup doesn't work.
    Is it a bug or is there some way to create a popup in a train.
    i have created the popup like this:
    1. i have created a control flow between the main JSF and popup page
    as dialog:Add.
    2. And in the button in the parent window, i have made the usewindow to true and action to dialog:Add.
    Any kind of helf would be very helpfull.

    Hey Pavle,
    You always ask the most interesting questions. ;) See my answers inline.
    <p>
    How to include another JSFF/JPSX in Rich dialog (beside inclusion of another region)?
    </p>
    <p>
    <b>Ric:</b> You can include a JSFF/JSPX using the jsp:include tag and a subview. Note that you will not be able to use ADFm within the fragments.
    </p>
    <p>
    If there is no other way than inclusion of region, how to make that new region "transaction-free" (as usually the pop-ups are for read-only operations and overhead of TaskFlow transaction is unnecessary). Generally, how to make Task Flow without transaction (if transaction imposes significant overhead – I'm not sure). (the documentation on Task Flows is unfinished in TP). And, finally, if there is no possibility of including JSFF without creating task-flow, is it possible to propose extension to ADFc allowing single JSFF to be included in region without explicitly defining task-flow for that single fragment.
    </p>
    <p>
    <b>Ric:</b> I think the above suggestion should work for static cases. However, if you
    are using bindings then the regions is the only approach available. This is not as heavy-wieght as it would appear. There is a way for regions or bounded taskflows to share datacontrols with with the parent page, which alleviates the concern of additional transactions. This feature can be found in the next preview. Note, this does not prevent you from defining a single page taskflow--in the one page case. I would like to see the feature extended so that if a region contains a single jsff reference there is no need to define an additional taskflow config file.
    </p>
    Thanks,
    Ric

Maybe you are looking for

  • EHP4: Education & Previous employment in ESS

    Hi, We have implemented EHP4, according to SAP their should be new iviews for Education & Previous employment in ESS. Anyone could share his/her experience implementing this new iviews? Looking forward to your reply. Regards, Onno

  • Adobe Reader X: Controll-Panel disapeares

    Hello folks, if i use the Adobe Reader X on my browser the control-panel above the shown documents disapeared. (The one that shows save file or go to site) At first i thought its a problem with the files i looked at but it this problem also appears o

  • Pen Tool on New Layer Keeps Bouncing to Original Layer

    I'm on a Win 7 machine using Illustrator CC, using a mouse with the pen tool. I created some shapes on one layer, and now want totrace just the outside of those shapes on a different layer. It worked well enough on the first two shapes I did this wit

  • Upgrading as abap 7.0 to as abap ehp1 7.01 sp5

    hi all i'm upgrading as abap 7.0 ehp1 7.01 sp5 during the phase preprocessing i get the following error The EhP Installation program builds the shadow system from the original one. in the logfile TPSQLSTD.OUT TRACE-INFO: 105: [dev trc ,00000] SELECT

  • Need to fetch the routings based on the Object text maintained in Long text

    Hi Gurus, i have a requirement to fetch all the routing operations based on the Object text that had been maintained in the long text of the routing. I found out the tables STXH and MAPL for the values, but unable to link the same. Please do help me