Could I pass the inputvalue to popup window?

I put the field( a VO attribute) in a table with a image behind it.I set the image's Destination URL as "javascript:void(window.open('OA.jsp?page=/oracle/apps/po/webui/popupPG&ID={@ManagerId}&retainAM=Y'));".
When I click the image ,the ManagerId I got in popup window was not the value I input,but the value before I edit.
can anybody help on this?
Thanks and Regards,
binghao

Upon clicking the image, you're getting the previous value because the form is not submitted therefore you cannot get your new input since it is not populated in your VO.

Similar Messages

  • How to pass the values from popup window to parent's window

    Hi Experts,
    in my application i need to develop one popup window in that i have created 4 dropdowns and one ok button , if i willl click on that ok  button the values should pass to parent window dropdownlistboxes
    can any body suggest how i will get the popup window values
    thanks in advance,
    ramani.

    Hi Ramani,
    I can provide few inputs on how can we control JSP 2 from JSP1.
    Here is the code. Check if you can convert this to make useful to you. I am not passing values but control.
    here it is:
    JSP 1.
    <h1>Page One</h1>
    <br>
    <a href="/irj/portalapps/<PAR_FILE_NAME>/images/<HTML_PAGE_NAME>.html#part1">part 1</a>
    <br><br><br>
    <a href="/irj/portalapps/<PAR_FILE_NAME>/images/<HTML_PAGE_NAME>#part2">part 2</a>
    <br><br><br>
    <a href="/irj/portalapps/<PAR_FILE_NAME>/images/<HTML_PAGE_NAME>#part3">part 3</a>
    JSP 2.
    <h1>Page Two</h1>
    <br>
    <a name="part1">
    <h3>Part 1</h3>
    </a>
    <a name="part2">
    <h3>Part 2</h3>
    </a>
    <a name="part3">
    <h3>Part 3</h3>
    </a>
    This way you can move from one JSP to other.
    regards
    -Kedar Kulkarni
    reward points if useful.
    Message was edited by:
            Kedar Kulkarni

  • How to get the values from popup window to mainwindow

    HI all,
       I want to get the details from popup window.
          i have three input fields and one search button in my main window. when i click search button it should display popup window.whenever i click on selected row of the popup window table ,values should be visible in my main window input fields.(normal tables)
       now i am able to display popup window with values.How to get the values from popup window now.
       I can anybody explain me clearly.
    Thanks&Regards
    kranthi

    Hi Kranthi,
    Every webdynpro component has a global controller called the component controller which is visible to all other controllers within the component.So whenever you want to share some data in between 2 different views you can just make it a point to use the component controller's context for the same. For your requirement (within your popups view context) you will have have to copy the component controllers context to your view. You then will have to (programmatically) fill this context with your desired data in this popup view. You can then be able to read this context from whichever view you want. I hope that this would have made it clear for you. Am also giving you an [example|http://****************/Tutorials/WebDynproABAP/Modalbox/page1.htm] which you can go through which would give you a perfect understanding of all this. In this example the user has an input field in the main view. The user enters a customer number & presses on a pushbutton. The corresponding sales orders are then displayed in a popup window for the user. The user can then select any sales order & press on a button in the popup. These values would then get copied to the table in the main view.
    Regards,
    Uday

  • While updating my ipad to ios7, I could not pass the terms and conditions screen where I had to agree or disagree. It just didn't move pass that screen. I can't do anything to go forward or back. It's just stuck there.

    While updating my ipad to ios7, I could not pass the terms and conditions screen where I had to agree or disagree. It just didn't move pass that screen. I can't do anything to go forward or back. It's just stuck there.

    Try to reset the device:
    Device Reset (won't affect settings/data/music/apps/etc)
    1. Press and hold (& continue to hold) BOTH the Sleep/Wake button & the Home button.
    2. Continue to hold BOTH (ignoring any other messages that may show) until you see the Apple logo on the screen.
    3. Release BOTH buttons when you see the Apple logo and allow the device to boot normally.

  • Passing Value from a Popup Window Back to the Parent Window

    I am using JSF. I try to pass a value that is entered by users in the popup window back to a text field in the parent window.
    quote: document.forms[ ].elements[ ] is null or not an object.
    The relevant code snippets are shown below. The screen1.jsp is the parent window:
             <script language="JavaScript1.1">
               function doPopup(source)
                    popup = window.open("externalFilePopup.jsp",
                        "popup",
                         "height=300,width=200,toolbar=no,menubar=no,"                    + "scrollbars=yes");
                    popup.openerFormId = source.form.id;
                    popup.focus();
               </script>
    <h:outputText value="Enter the external system file name"/>        <h:inputText value="#{dataManagementBean.ip}" size="18" />
    <h:commandButton value="..." onclick="doPopup(this); return false;" />
    ..........The externalFilePopup.jsp is the popup window:
            <script language="JavaScript1.1">
                function doSave( value )
                   var formId = window.openerFormId;
                   opener.document.forms[ formId ].elements[ formId + ":ip" ].value = value;
                   window.close();
            </script>
         <h:outputText value="IP Address: "/>
         <h:inputText size="25" value="#{dataManagementBean.ip }" required="true"/>
         <h:commandButton value="OK" onclick="doSave('#{dataManagementBean.ip}');"/>
            .......... The script error occurs when I click on this OK button.
    Please point out the mistakes in my code. Thank you.

    I have made some modifications to the code in the popup window. The error reported in my previous posting is gone. But, I still have several problems:
    1. syntax error in the popup window jsp page: line 45, char 21, syntax error, ..., Do you want to continue running script on this page?2. The popup window does not close after I click on the OK button that I coded in the popup window jsp.
    3. The value that I entered in the popup window eventually gets passed back to the text field in the parent window only if I re-run the application.
    The relevant JavaScript code snippets are:
            <script language="JavaScript1.1">
                function doSave( value )
                   var formId = window.openerFormId;
                   opener.document.forms[ formId ].form[ formId + ":ip" ].value = value;
                   window.close();
            </script>
                                       <h:outputText value="IP Address: "/>
         <h:inputText size="25" id="ip" value="#{dataManagementBean.ip }" required="true"/>
         <h:commandButton value="OK" onclick="doSave('ip'); return=false;"/>
    ......What are the mistakes that I made?

  • How to pass field value from popup window to oninput processing of other pg

    Hi,
    I want to pass a field value from the popup window to oninput processing of main page ( from where popup window is triggered). and need to close the popup window. How to do it ?
    In the popup window's oninputprocessing, im doing some validation checks. If it passes all the validations, then only the control shd come to main page ..else it should stay in popup window only .
    Regards,
    Jothi.

    Hi Jothi,
    you can use java script to pass the value and close your popup window. use the following code.
    in your popup window:
    function passData(h1)
             window.opener.document.getElementById('var1').value = h1 ;
             window.close();
    then call this function when you finish your validations.
    in your main page layout create an input field with id as passed in the function above "var1".
    In the value attribute give it your variable as follow:
    <htmlb:inputField id      = "var1"
                              value   = "<%= var2 %>"
                              visible = "false" />
    "var2" will be assigned the value from your popup window.
    I hope this will help you..
    Regards,
    Husain

  • Unable to Pass Parameters to Custom PopUp Window ??

    Hi
    Please help in passing Data from an MXML  file to my POPUp window mxml
    MainMXML File :
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%" horizontalAlign="left" verticalAlign="middle">
        <mx:Script>
            <![CDATA[
                import mx.events.FlexMouseEvent;
                import MyPopUpWindow;
                import mx.events.FlexEvent;
                import mx.managers.PopUpManager;
                private var popup:MyPopUpWindow;
                private function openPopUpWindow():void {
                    popup = PopUpManager.createPopUp(this,MyPopUpWindow,true) as MyPopUpWindow;
                    PopUpManager.centerPopUp(popup);
            ]]>
        </mx:Script>
        <mx:Canvas width="288" height="177">
           <mx:HBox id="jai">
            <mx:Image source="images/canvas.png" visible="true" height="100%" width="100%"/>
            <mx:Label id="kkk" text="Ravi"/>
            <mx:Button label="Edit" click="openPopUpWindow()"/>
        </mx:HBox>
        </mx:Canvas>   
    </mx:Application>
    =======
    MyPopuWindow.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <!-- custom popup window component - comps/MyPopUpWindow.mxml -->
    <mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml"
            layout="vertical"
            title="My Custom PopUp Window"
            showCloseButton="true"
            close="PopUpManager.removePopUp(this)">
            <mx:Script>
                <![CDATA[
                    import mx.managers.PopUpManager;
                ]]>
            </mx:Script>
            <mx:Form>
                <mx:FormHeading label="User"/>
                <mx:FormItem label="Username">
                    <mx:TextInput id="un" />
                </mx:FormItem>
            </mx:Form>
    </mx:TitleWindow>
    On to the TextInput i need to have the value of Label kkk value . I tried with inline  binding but it didn't worked
    <mx:TextInput id="un"  text= {kkk.text}/> isn't working . please help

    Thanks for the idea, I did this way . Its working but worried as what happens if its not present inside Main Appliction.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%" horizontalAlign="left" verticalAlign="middle">
        <mx:Script>
            <![CDATA[
                import mx.events.FlexMouseEvent;
                import MyPopUpWindow;
                import mx.events.FlexEvent;
                import mx.managers.PopUpManager;
                private var popup:MyPopUpWindow;
                [Bindable]
                public var str:String ;
                private function openPopUpWindow():void {
                    popup = PopUpManager.createPopUp(this,MyPopUpWindow,true) as MyPopUpWindow;
                    str = kkk.text;
                    PopUpManager.centerPopUp(popup);
            ]]>
        </mx:Script>
        <mx:Canvas width="288" height="177">
           <mx:HBox id="jai">
            <mx:Image source="images/canvas.png" visible="true" height="100%" width="100%"/>
            <mx:Label id="kkk"  text="Pavan"/>
            <mx:Button label="Edit" click="openPopUpWindow()"/>
        </mx:HBox>
        </mx:Canvas>   
    </mx:Application>
    ========
    <?xml version="1.0" encoding="utf-8"?>
    <!-- custom popup window component - comps/MyPopUpWindow.mxml -->
    <mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml"
            layout="vertical"
            title="My Custom PopUp Window"
            showCloseButton="true"
            close="PopUpManager.removePopUp(this)">
            <mx:Script>
                <![CDATA[
                    import mx.core.Application;
                    import mx.managers.PopUpManager;
                ]]>
            </mx:Script>
            <mx:Form>
                <mx:FormHeading label="User"/>
                <mx:FormItem label="Username">
                    <mx:TextInput id="un" text="{Application.application.str}"/>
                </mx:FormItem>
            </mx:Form>
    </mx:TitleWindow>
    please sugest correct approach .

  • Passing context value to Popup Window

    Hi,
    I am having a list of Sales Order numbers in a table.  And if any one of the SO is clicked then a popup have to show its item details with in a table.
    I am having the values of item list in the main view context and how to pass this data to the popup window. Also how to create the table in a window.
    RK

    Got the solution.
    Thanks
    RK

  • Passing checkbox values to popup window on page submit

    Hello,
    I'm using APEX 3.2.
    On one page I have a SQL report with checkboxes that are dynamically created using SQL: select apex_item.checkbox(1, bm_id) as "check", ...
    I now want to add a button to the page and when a user clicks on the button, the page should submit and a popup window should open with some extra fields to fill in. Now, in the popup window, I want to add a PL/SQL process and loop to all the values of the checked checkboxes in the parent page using the APEX_APPLICATION.G_F01() array. Can I do this? I tried it but the array always seems to be empty. Do I have to pass all checked values to the Javascript function which opens the popup window??
    Thanks,
    Matthias

    Matthias:
    The APEX_APPLICATION.G_F01() will have values only after the form has been submitted.
    So,your best bet is to use javascript to make the selected checkbox values available in the pop-up window.
    Varad

  • Passing page attribute to popup window

    Hello friends -
    I want to pass the internal table which is page parameter of page 1 to page2.
    I am opening page2 from page1 as a popup by using window.open command.
    Is that auto passing of attribute works in this case?
    Basically i want to know how to pass values from parent to popup window?
    Thanks in advance.
    Thanks
    Hari

    couple of options
    1. server side cookie
    2. itab as application class attributes.
    for both approaches search the forum for sample code
    Raja

  • To open the screen as popup window in EP

    Hi All,
    We have standard webdynpro ABAP UI (Floor plan manager)  in portal from the standard SAP EM Configuration.
    In WDABAP User interface, when user clicks on the link then SAP screen is opening in the new window , but that should be opened as a pop up window in the same portal screen where user clicks on link UI element, instead of opening in the new window.
    Please let me know whether SAP provides this feature as part of any standard configuration either in FPM front or with other solution.
    Currently All webdynpro ABAP UI screens are accessing in portal are from WDABAP standard UI from FPM configuration in SAP EM system.
    Please get back to me on this, Thanks in advance.
    on click of UI link the standard SAP screen is opening in new window, but that screen should be opened in the same screen as popup window.
    Please let me know whether any configuration is a
    Regards,
    Portaluser100

    Hi,
    there is currently no standard configuration available to change this behaviour. These kind of links will always open a new window.
    Best regards, Daniel

  • Problem in Passing the value from child window to Parent window.

    Hi Frenz,
    I have a requirement like this. i have to pass a value from child window to parent window to one test field. That text field is not a normal text field.
    It was created like the following as SQL query.
    select
    ''LNo,
    apex_item.text(25,'',0,15,
    'style="width:100px;" onblur="javascript:showUpsell(this.value);" onkeypress="javascript:validateKeyPress(event,this.value,this.id);" onkeyup="javascript:this.value=this.value.toUpperCase();" id="P37_ITEMNO"') ItemNo
    Now i want to pass a value to the Item no from child window.
    i wrote the java script like this,
    opener.document.forms[0].f25.value="100";
    It was not working..Any suggestions for that..
    Thanks in advance

    Dear Baaju,
    How do you redirect your control from Child to Parent window.
    If you use a button to do this, then you can set this value in the branching of page.
    Rana

  • Create record issue in the JHS LOV popup window after delete record

    Jdeveloper : Studio Edition Version 11.1.2.2.0
    Jheadstart : 11.1.2.1.28
    hi
    i sent a testcase to [email protected]
    in JHS lov popup window,when i delete a record and then, i want to create a new record,it is not work
    but when i click in one of the fields and then click plus icon, it work correctly

    OK, this happens because of the code that fixed the delete issue that I sent you before. This code needs to be changed slightly, the following lines:
    Row row = selectedRowData.getRow();
    if (!isMultiSelect())
    // make this row current, so row delete will work in LOV page
    selectedRowData.getIteratorBinding().getRowSetIterator().getRowSet().setCurrentRow(row);
    selectedRows.add(new RowData(row));
    should be enclosed with a check whether there is a selected row:
    if (selectedRowData != null)
    Row row = selectedRowData.getRow();
    if (!isMultiSelect())
    // make this row current, so row delete will work in LOV page
    selectedRowData.getIteratorBinding().getRowSetIterator().getRowSet().setCurrentRow(row);
    selectedRows.add(new RowData(row));
    Steven Davelaar,
    JHeadstart team.

  • How to stop the Company Code popup window in MIRO!

    Hi,
    When User logs in the system and enters into the MIRO transaction, he is asked to enter the Company Code first in order to proceed further. I know that once you enter the company code then the system does not ask it to enter again during that login, however, it will asks again whenever User login the system again!
    Can someone tell that how to stop this Company Code popup window in MIRO, so that the system should not ask for the Comp Code whenever User logs in and enters into MIRO? I think there are some entries maintained in the User Master for this!
    Thanks.

    Hi,
    It is Necessary for the user to enter the company code for which he need to process the Invoice.
    First think is if the user knows ,that he is only going to do for one company code.then
    in the T code SU3.
    In the parameter TAB
    you can make the Default value for the parameter ID BUK as your Comany Code value ( Eg 1000)
    so that when ever the user does the MIRO ,it comes with that company code only.
    and if he want to do for another comapany code ,he has to use the option of Switching the comapny code.
    so this is user dependent and has to be made for all users.
    Note .the above setting works only you have entered saved and logged off and log in again.
    also ,this value gets defaulted you all the comapny codes in all screen.
    Hope so it helps.
    Regards
    Anjanna.

  • Add "*" infront of the label  in the error message popup window

    Dear all,
    I am new in ADF, I would like to add an "*" infront of the Salutation label in the error message popup,
    does anybody know how to do it? pls help me out in this...thanks
    PS: The Salutation is a af:selectOneChoice component with required validation,
    and if I modified the Salutation to af:inputText with required validation the "*" is shown automatically.
    http://dl.dropbox.com/u/11032207/screen%202012-12-18.jpg
    Edited by: user5638657 on Dec 18, 2012 6:04 PM

    Here is the jsf, thanks
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:f="http://java.sun.com/jsf/core">
    <af:panelBorderLayout id="pbl1">
    <f:facet name="start"/>
    <f:facet name="bottom">
    <af:panelGroupLayout id="pgl3">
    <af:popup id="p1">
    <af:noteWindow id="nw1">
    <af:outputText value="#{particularsBundle['TEXT.GENERAL.NOTE.SURNAME']}"
    id="ot13"/>
    </af:noteWindow>
    </af:popup>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="end"/>
    <f:facet name="top">
    <af:group id="g1">
    <af:outputText value="#{particularsBundle['TEXT.PARTICULARS.PAGE']}"
    id="ot2" inlineStyle="color:Black; font-size:large;"/>
    <af:spacer width="10" height="10" id="s3"/>
    </af:group>
    </f:facet>
    <af:panelGroupLayout id="pgl4" layout="vertical">
    <af:outputText value="#{particularsBundle['TEXT.GENERAL.REQUIRED']}"
    id="ot5"/>
    <af:spacer width="10" height="10" id="s5"/>
    <af:panelFormLayout id="pfl1" labelAlignment="start">
    <af:panelLabelAndMessage label="#{bindings.UserId.hints.label}"
    id="plam1" inlineStyle="color:Black;">
    <af:outputText value="#{bindings.UserId.inputValue}" id="ot1"/>
    </af:panelLabelAndMessage>
    <af:selectOneChoice value="#{bindings.UserSalutation.inputValue}"
    label="#{bindings.UserSalutation.label}"
    required="true"
    shortDesc="#{bindings.UserSalutation.hints.tooltip}"
    id="soc1">
    <af:selectItem label="#{particularsBundle['SELECT.SALUTATION.MR']}"
    id="si1" value="Mr."/>
    <af:selectItem label="#{particularsBundle['SELECT.SALUTATION.MRS']}"
    id="si2" value="Mrs."/>
    <af:selectItem label="#{particularsBundle['SELECT.SALUTATION.MISS']}"
    id="si3" value="Miss"/>
    <af:selectItem label="#{particularsBundle['SELECT.SALUTATION.DR']}"
    id="si4" value="Dr."/>
    <af:selectItem label="#{particularsBundle['SELECT.SALUTATION.PROFESSOR']}"
    id="si5" value="Professor"/>
    </af:selectOneChoice>
    <af:inputText value="#{bindings.UserSurname.inputValue}"
    label="#{bindings.UserSurname.hints.label}"
    required="#{bindings.UserSurname.hints.mandatory}"
    columns="#{bindings.UserSurname.hints.displayWidth}"
    maximumLength="#{bindings.UserSurname.hints.precision}"
    shortDesc="#{bindings.UserSurname.hints.tooltip}"
    id="it6">
    <f:validator binding="#{bindings.UserSurname.validator}"/>
    </af:inputText>
    <f:facet name="footer">
    <af:spacer width="10" height="10" id="s4"/>
    </f:facet>
    </af:panelFormLayout>
    <af:spacer width="20" height="10" id="s11"/>
    <af:panelGroupLayout id="pgl0" layout="horizontal">
    <af:commandButton text="#{particularsBundle['BUTTON.CONTINUE']}"
    id="cb1"
    action="#{updateProfileBackingBean.actionContinue}">
    <af:setActionListener from="#{bindings.UserEmail.inputValue}"
    to="#{bindings.email.inputValue}"/>
    </af:commandButton>
    <af:spacer width="20" height="10" id="s2"/>
    <!--af:resetButton text="#{particularsBundle['BUTTON.RESET']}" id="rb1"
    inlineStyle="height:19.0px;"/-->
    <af:resetButton text="#{particularsBundle['BUTTON.RESET']}" id="rb1" inlineStyle="background-position:center top;
    background-repeat:repeat-x;
    margin:0;
    padding-bottom:3px;
    padding-top:1px;
    text-decoration:none;
    white-space:nowrap;"/>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    <af:spacer width="20" height="10" id="s1"/>
    </af:panelBorderLayout>
    </jsp:root>

Maybe you are looking for

  • I'm having trouble with purchased and every time I tried to install something it won't let. Me

    I want to know that can I install something with out credit card

  • How can I delete a workspace

    I have created a workspace with an existing DB user. After that, I dropped the user via sqlplus commandline with the sys user. Then I created the user again with sqlplus. I did this because this user got his own tablespace now because it is a tomcat

  • MB01 problem

    Hello, I create a contract of XX material 100 bag(1 bag=55kg) it means total in kg-5500kg, I create Purchase order with reference to Contract. Then go for Goods receipts(MB01) Then I got a problem after Adopt+details                              Unit

  • Only getting context menus- can't select an item?

    I spilled some tea on my Macbook Pro key board- cleaned it up and dried it out. Now whenever I try to select an item (mac mail, numbers, finder) only get a context menu.  Can't select an item or type.  Mac mail can only look at one of my mail boxes c

  • Why such big files from FLAC??

    When I import a CD to iTunes library, then move it to iPod, it's nice and small--I understand that. BUT, when I download a FLAC file, decode it to a WAV, then import that to iTunes, and move it to iPod, it's HUGE! What gives? Is there some setting on