How to pass the data from a pop up window to the parent window

Hi All,
I have a jsp page which contains a add button, while clicking it a popup will come out(which is a another jsp page). There are some input fieldsand a submit button. Now how could I send the data from the pop up to the parent winow. Also I have to check that if the pop up is open and I click add button then another pop up must not open.
Plz reply its urgent
Thanks and Regards
Rajib Sharma

Thanks for the reply
But it not worked
I have a jsp page and the popup is also a jsp page the data that is passed from the popup window to the parent must be send to the server from the parent window to get a data from the data base as search result. Its of no use to get it as js data
Thanks and regards
Rajib Sharma

Similar Messages

  • How to pass realtime data from a sub vi to a calling vi?

    I'm trying to pass some data from a called (sub) vi to the calling vi,
    while the sub vi is running. I've tried passing to a global, but the
    calling vi doesn't show the results until the sub vi has completed
    execution. I understand why this is happening, I'd like a method, if
    one exists, to work around it.
    Thanks!
    Bill

    You've done several things incorrectly. First, the subVI has a while loop that terminates with a front panel Boolean. Since you don't make the front panel of the subVI visible, the subVI just runs with no way to stop it. When you call a subVI, execution passes to the subVI and the calling VI is paused. Since the subVI has no way to stop and return to the main, the while loop in the main is not running and reading the global variable. If you were to drag the subVI outside the while loop, then you would see the global update. You still would need to make the subVI visible in order to be able to press it's stop button. Of course, with the subVI visible, it's front panel is showing the value getting updated and there's no reason to have a global in the main anyway.
    If you want to have a subVI remain hidden, you can't use a while loop with a front panel control that's needed to stop it. Well, you can but that gets kind of complicated. If you do have a subVI and want to update an indictor with a global, the reading of the globabl should be done in a separate while loop. To keep the update in the same loop, don't use a global. You can create a reference to a front panel indicator and pass that to the subVI. The subVI writes to the value property. Here's a real simple example of that in 7.0.
    Attachments:
    Reference.llb ‏23 KB

  • How to pass a data from child window to parent window

    Hi,
    I have a jsp page with two hidden fields and a button, On clicking the button a popup will come out. There are two combobox in the popup and a search button. After putting a value in the comboboxes,if I click the search button, I need the datas of the combobox to pass to the parent's hidden fields then I need to do a data base search with that values of hidden fields and display the result in the parent page.
    I could I solve this problem, Please help, Its urgent.
    Thanks and Regards
    Rajib Sharma

    I think that you can use the JavaScipt as follow to pass a data from child window to parent window
    <HEAD>
    <script>
    function passData(){
    opener.form1.test1.value=form2.test2.value; //pass the value of test2 to the parent's test1
    window.close();
    </script>
    </HEAD>
    <BODY>
    <form name=form2>
    <input name=test2 type=text>
    <input type=button onclick="passData()" value=CLOSE>
    </form>
    </BODY>

  • Export is not exporting the data from Page. It always gets the data from VO

    Hi,
    I have got a critical issue, where I am Not able to export the current data from the page.
    I have an export button and the VO is attached to it.
    1) My page will execute the VO and I do some calculations to remove some rows, add the grand total etc.
    2) The export button just re-executes the query and exports, which is not that, I want. I would like to export the current contents of the VO, which I manipulate and it is shown on the page.
    To give an example -
    My VO query is executed, when I click the Report button. I then adds Grand Total row to the VO and it gets displayed on the Page also.
    Now, when I click the export button, it just exports the data which is coming from the VO SQL query, whereas I want the data from current state of VO i.e. with the grand total, which I added and is coming on the page also.
    I will be really grateful, if someone can help me with this as it is really urgent.
    Thanks for your help.
    Shiju

    Hi Shiju,
    Is the export to csv opening fine with the data showing in individual columns when opening from internet explorer. What version of IE are you using? For us the export works fine from Firefox but does not work well in IE. From IE, the data shows with the commas in a single string. Appreciate your response as it will help us understand if our issue is local to our environment.
    Thanks.

  • Pull the data from Azure sql and load into the on premises data base

    Hi friends,
    I have small requirement here, I have to pull the data from Azure sql and load it to the on premises data base.
    I am using Azure sync process to do that, but it will take so much time to do that..
    I know that azure have some limitations, is there any other way to do this..
    Please help me on this...

    Hello,
    Check the program...
    SAPBC480_DEMO.
    Check the below threads
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/88e7ea34-0501-0010-95b0-ed14cfbeb85a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bfbcd790-0201-0010-679d-e36a3c6b89fa
    Thanks
    Seshu

  • In B2c - How to Pass Additional Data from UI to the Backend Systems in SAP?

    Just wondering in SAP b2c how can I set/transfer data from UI to the back end database/SAP after confirmation step?
    Edited by: Sayed Ahmed on Jul 27, 2008 6:47 AM

    Hi,
       Just use extension data methods to send the data to backend systems.
    This method is clearly mentioned in the above links.
    If you want to send the data to a new function module then follow this process.
    [How To Call Function Module in E-Commerce|https://wiki.sdn.sap.com/wiki/display/Snippets/HowToCallFunctionModuleinE-Commerce]
    and
    [How To Import and Export data to Function Module|https://wiki.sdn.sap.com/wiki/display/Snippets/HowToImportandExportdatatoFunctionModule]
    Regards,
    Sateesh Chandra

  • How to pass csv data from file into DLL using TestStand

    Hi,
    We have data files which are of CSV format. Each row contains
    about 9 items of data, and have about 5 rows of this data (ie, 5
    test points) :
    eg
    TErrAdd1,UUT,UUT,STM1E,AU4/FR,PRBS23,BIT,10,60
    TErrAdd2,UUT,UUT,STM4O,AU3/UNFR,PRBS15,B1,20,60
    TErrAdd3,UUT,UUT,STM16O,AU4_16C/UNFR,PRBS9,BIT,7,60
    TErrAdd4,UUT,UUT,STM0E,AU3/UNFR,PRBS20,B2,5,60
    TErrAdd5,UUT,UUT,STM64O,AU4_4C/FR,PRBS11,B1,6,60
    What we want to do is to be able to directly pass each
    row of data to a C/C++ DLL. The DLL fn accepts this
    data as a vector of strings.
    eg.
    void DLLTestFn( vector const & configData )
    However, we can write a wrapper for the DLL as I don't
    think TestStand will know about vectors.
    We don't really want to have to hardcode individial references
    to each item of data in TestStand. Is this possible?
    Just read in a row from a data file, and sent it direct
    to the DLL?

    Hi Richardi,
    the principle is quite simple, however, you still need to use a programming language to make the initial file read.
    Once you've done this, you could have it as an array of strings, and pass this directly to a wrapper DLL, which would then pass the data into a string vector.
    Look up the examples\AccessingArrays\PassingArrayParametersToDll\AccessingArrays.seq
    to see how to do this without passing the sequence context.
    If you've read in the details into a container type structure already, then I've made an example which demonstrates this principle and what you'll need to pass it to a vector. (Similar principle can be used to fill in the container when you read the file in the first place.
    You cannot go directly to a vector, since TestStand doesn't understand them.
    Vector classes are difficult to export polymorphically from a DLL since the template class doesn't export, and needs specifically defining. This is what I'm assuming you're ultimately trying to do. (see ref :
    How to Export STL components inside and outside of a class
    I've used VIsual C++ 6 and TestStand 3.0
    Please let me know if this helps to answer your query.
    Thanks
    Sacha Emery
    National Instruments (UK)
    // it takes almost no time to rate an answer
    Attachments:
    for hannah vectors.zip ‏1619 KB

  • How to pass a value from inside a while loop outside the loop

    Hello to everybody, I have been searching through the forum but I have not found a certain answer for my problem. I would try to explain my problem as breefly as posible:
    I have to send by a BNC2120 two signals and acquire an other one thats comes from a preassure sensor. That part is done by introducing simulating and acquiring DAQmx inside while loops.It is sycronized by my self, proving such diferent values (is not the optimum, but is only the first prototype) and works as I expected. Well, then I want to sample some of the values of these signals, that is done with relays and local variables to get the value in the instant I want to sample. Here begin my problems: I want to extract the sample values out of the while loops without restarting them, I mean: I do not want to stop the while loops because the acquisition and the generation of the signal must be continuous, but I do not know if it is posible to put the while loops in "standby" until I operate with the values I have sampled and then the signal generator and the acquiere continues from when it has stoped before. Particulary I want to obtain the value of the top while loop (inside a case) when the counter arrives at 15.
    I have proved to do with local variables, global variables, making a state machine, with event cases, with flat secuences...I have been reading about and proving diferent posible solutions for this week and the whole past week and I have not found the solution.
    If any of you know how I can do this thing, I would be loved to listen your opinions. My proyect is above: 
    Thank you a lot in advance.
    Sinceresly,
    Miguel.
    Attachments:
    maq_estados_event_case.vi ‏239 KB

    It definately sounds like what you really want is a Producer/Consumer.  It is an architecture that uses Queues to pass data from a data generation loop (producter, your DAQ loop) and a data processor (consumer).
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How to pass submitted Data from a servlet to EJB Session Bean in JPA

    How to pass Data User submitted Data from a servlet to EJB Session Bean when using JPA :
    Hi ,
    I have a jsp page in which the user fills up the Data and submits it to the servlet :
    Inside servlets i am getting all the parameters and setting it to the Entity Class .
    Sample Entity class is shown below :
    @Entity
    public class Employee {
    @Id private int id;
    private String name;
    public Employee() {}
    public Employee(int id) { this.id = id; }
    public int getId() { return id; }
    public void setId(int id) { this.id = id; }
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    }After calling setters of my Entity Class .
    I am using JNDI lookup to call my session Bean method and pass this Entity class to the session Bean to persist data
    Please let me know what will be the right approach :
    1. Passing parameters whole as a Entity Class
    that is
    public void insertData(Employee emp)
    }Or
    2. public void insertData(String Name , int ID)
    }

    they are both right as they both work. Easy huh?
    You might argue that if you have to set a lot of fields, use the entity as otherwise you get a method with a gigantic amount of parameters.

  • How to read the data from excel file and store into the table?

    Hi All,
    I have table with BLOB datatype contains a excel file. I have to read that data from excel and store into one table with all the fields in excel.
    All the excel fields and my table columns are same.
    Can you share with me how can acheive this using LOB's?
    Thanks

    Hi OraSuirya,
    you can try with external tables .
    syntax as follows
    create table ext_table_csv (
    i Number,
    n Varchar2(20),
    m Varchar2(20)
    organization external (
    type oracle_loader
    default directory ext_dir
    access parameters (
    records delimited by newline
    fields terminated by ','
    missing field values are null
    location ('file.csv')
    reject limit unlimited;
    For this you need to create directory
    Directory Creation syntax:
    create or replace directory ext_dir as 'D:\oracle\user_dir\ext_dir';
    grant read, write on directory ext_dir to <User>;
    please paste the excel file in the particular directory .
    I hope this will help you.
    Please correct me if I am wrong anywhere .
    Thanks,
    Tippu.

  • How to Pass a data from Client to another client

    Hi Gurus,
             Below is my requirerment
    1. We got 2 clients, assume 100 & 200 in a same server
    2. If i post any transaction in MIGO and save it, Automatically the values has to be  passed to the client 200.
    How I could achive this ?
      Rewards Assured for any helpful answers
      Thanks in Advance
       Jai

    hi jai,
    Use STMS.
    Click on the “import overview”
    Double click on your target system
    Click “refresh”
    Click on “import all request” or ctrl+F9
    Specify the target client
    Execute the transport
    Done…
    But this will import all request…
    You can use Extended Transport Control.
    Extended Transport Control is another way to set up the Transport Route so that the route is system and CLIENT specific.
    In other words, when you release a change request in DEV Client 0XX it will not only automatically be added to the Import Queue for QAS but also 0X1, 0X2, of DEV.
    To set this up requires the steps below:
    1) Open the file TP_DOMAIN_DEV.PFL (located on your transport domain controller such as the DEV box. The file will be in usrsaptrans/bin)
    Edit with notepad for each parameter on each system:
    DEV/CTC = 0
    Change to =1
    2) Next you need to create Target Group before creating the transport route.
    Create a Target Group:
    Access the initial screen of the graphical or the hierarchical editor in change mode. STMS > Overview > Transport Routes (the default editor will appear, either Hierarchical or Graphical, to change the default editor : STMS > Extras > Settings > Transport Routes. You can also switch to one or the other from Goto > Graphical Editor.)
    Configuration > Display Change > (or change icon or F5)
    Edit > Transport Target Groups > Create
    In the dialog box, Create Target Group:
    Enter a name for the target group /GR_QA/ (The name must begin and end with a forward slash /)
    ...and a description Targets for Consolidation route
    Choose “Insert line”
    Enter the required target system/client combinations
    Use a separate line for each client.
    Example:
    Target System
    Target Client
    Client Name
    DEV
    0X1
    Sandbox
    DEV
    0X2
    Testing
    QAS
    0XX
    Quality Assurance System
    The idea is that we want to include the clients that will get an addition to their import queue when we release a change request from DEV.
    Choose Transfer
    Now you have to change the transport route to include the Target Group you created.
    STMS > Overview > Transport Routes > F5 (change mode) Edit > Transport Routes > Delete
    Now create a Transport Route with Extented Transport Control:
    STMS > Overview > Transport Routes > F5 (change mode) Edit > Transport Routes > Create > Extended Transport Control icon at lower left of dialog box. > Consolidation route, enter integration system and transport layer. In Target system/client enter the SID of either an R/3 System and a client or an existing Target Group.
    Each System must be specified by System and Client. The Target Group can be used for the consolidation system.
    Distribute and activate the changes as usual by choosing Configuration > Distribute and activate
    NOTE: After you set up Extended Transport Control there might be requests in an import queue that will show a red status in the CTL column. This is because these change requests need a client specified before they can be imported. These are old requests that were already in the queue.
    From Import Queue Screen Mark the change request
    Choose Request > Target Client > Set
    Enter the Target Client ID and choose Enter.
    To change a target client before starting an import:
    Import Queue Screen > mark Change request > target client > change > enter target client id and choose enter.
    Don't forget to reward,
    Thanks & rewards,
    Kalyan.

  • How to pass tables data from SAP script to the routine.

    Hi,
    I have standard program RPCTEAL0_01 which calls a SAP script form(Custom) to print the form.
    Now I have to add some additional functionality to change the values in the form. Since it is custom form I can add ROUTINE and then pass the values to the custom program to modify the variables.
    My concern here, I would like to pass the tables like RT,CRT to the custom program via form.
    Is this possible?  RT and CRT filled by standard progam.
    Regarsd
    Eswar
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on Jan 20, 2009 9:06 AM

    Hi, The suggested option is not working.
    Actually I am using the below code in SCRIPT
    /:   PERFORM CAL_2008 IN PROGRAM ZHR_TEST1
    /:   USING &PER_NO&
    /:   CHANGING &W12&
    /:   ENDPERFORM
    and calling form in ZHR_TEST1. But this will pass only variables. Now my requirement is to pass tables also.

  • How can i retrieve data from a macbook pro that has the flashing folder with an ? mark in it, to a brand new iMac

    I want to do a data recovery of my 15" MBP that has the flashing folder w/ ? mark in it, to an iMac 21.4"; how can i go about that?

    DJSMACC wrote:
    How do I go about removing the internal drive and mount it to an external enclosure @Linc Davis??? Sorry that I'm not too hip with all the technology lingo & etc?
    You'll have to watch the video and buy a few tools to extract the driive.
    http://eshop.macsales.com/installvideos/
    Then use something like this to connect to the other Mac or PC with MacDrive installed.
    http://eshop.macsales.com/item/Newer%20Technology/U3NVSPATA/
    You also can get the same adapter elsewhere online for as low as $12 I've seen.
    Likely it's a USB 2,1 which your Mac's can only accept USB 2,1 anyway, no need to pay more for a USB 3 unless you want too.
    No compensation for site or product mention
    You likely should be having a professional or Apple tech attempt to bypass the firmware password if you forgot it, it's the best way to go about things.
    Just because the Mac has a spinning wheel gray screen at boot doesn't mean it's ruined, you just need to bypass the firmware password and then from there fix the machine's cause for not booting, which is likely a software issue from a third party kernel extension file.
    Step by Step to fix your Mac
    You should know that opening the iMac could likely ruin it and will ruin any warranty or AppleCare, and if it's a Early 2011 model or later you can't replace the hard drive yourself as Apple has proprietary software installed on the drive that needs to "talk" to OS X to control the fans speeds.
    Good Luck.

  • Can I use iTunes backup/restore or iCloud to 'mash' together the data from two iPhones?  In particular, the pictures and notes are of importance.  Background: iPhone 4 died, bought new 4S while other was being repaired.  Need to keep all data from both.

    Thanks in advance!

    When you perform a restore from one backup, the device is first wiped.  So you can't mash together two backups using restore.

  • How to pass the data from a input table to RFC data service?

    Hi,
    I am doing a prototype with VC, I'm wondering how VC pass the data from a table view to a backend data service? For example, I have one RFC in the backend system with a tabel type importing parameter, now I want to pass all the data from an input table view to the RFC, I guess it's possible but I don't know how to do it.
    I try to create some events between the input table and data service, but seems there is no a system event can export the whole table to the backend data service.
    Thanks for your answer.

    Thanks for your answer, I tried the solution 2, I create "Submit" button, and ser the mapping scope to  be "All data rows", it only works when I select at least one row, otherwise the data would not be passed.
    Another question is I have serveral imported table parameter, for each table I have one "submit" event, I want these tables to be submitted at the same time, but if I click the submit button in one table toolbar, I can only submit the table data which has a submit button clicked, for other tables, the data is not passed, how can I achieve it?
    Thanks.

Maybe you are looking for