Submit a page , close a page and pass values to other page

Hi All,
I have page , which has a text box P2_TEST
I will click on a link on page 2, then a pop up page( page number 3) will appear . Its done using javascript.
The popup page, has a OK button.
Whenever I click on OK button,
1)page 3 has to be closed.
2)P2_TEST has to be populated with P3_TEST Value. ( P3_TEST is a text field in page 3)
3)Cursor Should come back to P2_NAME
which is some other field in Page 2.
How do do this?
Thanks in advance.
Archana

Thanks Tim.
I could solve the problem using javascript.
I have used the following javascript.
<script>
function test(){
var radioLength = document.wwv_flow.p_v01.length;
var retVal = '';
if(radioLength == undefined)
          if(document.wwv_flow.p_v01.checked)
               retVal = document.wwv_flow.p_v01.value;
          else
               return "";
     for(var i = 0; i < radioLength; i++) {
          if(document.wwv_flow.p_v01.checked) {
               retVal = retVal + ';' +document.wwv_flow.p_v01[i].value;
retVal = retVal.substring(1, retVal.length);
opener.document.getElementById('P1_TEST').value = retVal;
window.close();
</script>
Now the problem is solved!!
Thanks,
Archana

Similar Messages

  • Open a web page and pass values from a java file

    Hi,
    I need to open a web page and pass values in the text boxes.
    Finally submit needs to be triggered. All this needs to be done from a java file. i.e instead of entering my values in a web page and submit, i need to do it from my java file..
    Any inputs so that I proceed in the right direction..or is there any alternate way to achive this ??
    Thanks in advance..
    Sid

    I hava found a lines of jaa that can open a URL , lets say www.net.java
    You can open it writable or not.
    It is half of the job you need.
    If you are interested.
    I am wrinting a program to print a URL , and have developed this small
    code.
    Angel Portal

  • How to open a page from a Form and pass parameters to the form on that page

    I found a similar example on this forum, but it did not work for me:
    declare
    l_names owa.vc_arr;
    l_values owa.vc_arr;
    i number;
    begin
    PORTAL.wwpro_api_parameters.retrieve(l_names, l_values);
    FOR i in 1..l_names.count
    LOOP
    htp.p(l_names(i) || ' ' || l_values(i));
    END LOOP;
    end;
    By using this method i get the parameters for the Form, like the session ID, but not the parameters for the Page that the form is displayed in.
    Another method I tried:
    To open a Form from a Form and pass parameters works fine like this:
    --In the After processing page PL/SQL event.
    declare
    v_id number;
    blk varchar2(10):='DEFAULT';
    Begin
    v_id:=p_session.get_value_as_number (p_block_name=&gt;blk,p_attribute_name=&gt;'A_ID');
    if v_id &gt; 0 then
    htp.formOpen('PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=2649500412&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=ID&p_arg_values='||to_char(v_id),'post');
    htp.formSubmit(NULL,'Upload Files');
    htp.formClose;
    end if;
    End;
    But I want to open a Page containing the Form instead of just opening the Form. Is this possible to open a Page and pass paramters to the page, and then let the form inside the Page access the passed paramters. The reason for this is that a Form cannot be based on a page template, or can it? When opening the form i want to keep the left menu, which I can if it is a page based on my template with the left menu.
    Best regards
    Halvor

    Hi,
    You can do this by calling the url of the page with the form. You can then use p_arg_names and p_arg_values to pass parameters. In the called form you can get the value from p_arg_names and p_arg_values and assign it to the form field.
    You can call this code in the success procedure of the calling form.
    declare
    v_id number;
    blk varchar2(10):='DEFAULT';
    v_url varchar2(2000);
    Begin
    v_id:=p_session.get_value_as_number (p_block_name=>blk,p_attribute_name=>'A_ID');
    v_url := <page_url>;
    if v_id > 0 then
    call(v_url||'&p_arg_names=id&p_arg_values='||v_id);
    end if;
    End;
    In the called form in "Before displaying form" plsql section write this code.
    for i in 1..p_arg_names.count loop
    if p_arg_names(i) = 'id' then
    p_session.set_value(
    p_block_name => blk,
    p_attribute_name => 'A_ID',
    p_value => p_arg_values(i)
    end if;
    end loop;
    This code picks up the value from p_arg_values and assigns it to the form field.
    Hope that helps.
    Thanks,
    Sharmila

  • How to call & pass values to custom page from seeded page table region

    Hi All,
    can anyone tell me how to call & pass values to custom page from seeded page table region(Attribute is not available in seeded page VO)
    it is urgent. plssss
    Regards,
    purna

    Hi,
    Yes, we do this by extending controller, but you can also try this without extending controller.
    1. Create Submit Button on TableRN using personalization.
    2. Set "Destination URI" property to like below
    OA.jsp?page=/<yourname>/oracle/apps/ak/employee/webui/EmpDetailsPG&employeeNumber={@EmployeeId}&employeeName={@EmployeeName}&retainAM=Y&addBreadCrumb=Y
    Give your custom page path instead of EmpDetailsPG.
    EmployeeId and EmployeeName are VO attributes(Table Region)
    If you dont have desired attribute in VO, then write logic in your custom page controller to get required value using parameters passed from URL path.
    In this case, only personalization will do our job. Hope it helps.
    Thanks,
    Venkat Y.

  • Pass value between JSP pages

    I would like to pass values between pages.
    I don't want showing up on the url. Ex: some.jsp?param=value
    I don't feel it's safe.
    It's not coming from form either....
    How can I hide the value and pass it to next page?
    I want to pass the value when the user click on a hyperlink
    Thanks In Advance.
    Message was edited by:
    Theepan

    Client side information is never safe no matter what you do. If the values don't end up in the url, they are always present SOMEWHERE in the html content.
    If you don't want the values to end up in the url, rework the page so it DOES do a post form submit. You could turn the hyperlink into a javascript call that submits the form for you.

  • New owner here.  How can I select specific pages of a document found on line and print just those pages.  What I see is the ability to select only 1 page at a time and print that one selected page only.   Thanks much.

    New owner here.  I see that in printing I can select one page and print same.  How do I select numerous pages from a document and print only those selected pages? I would not think that I can only select one page at a time.  Thanks much

    Just change the range as illustrated below.  If you don't see that, click the Show Details button.

  • DPS: pinch and zoom function not working on all pages within folio (v30 tools using the pdf setting). What would cause some pages to pinch and zoom fluidly, while other pages appear a bit sticky? Could it be a button on the wrong layer?

    What would cause some pages in the same folio to pinch and zoom fluidly, while other pages appear a bit sticky? Could it be a button on the wrong layer that's not allowing the pinch and zoom to work?
    I do have a "go to state" button that enlarges graphic to full page on the page. Could this be cancelling the pinch and zoom functionality? Would a box with text wrap ON affect the ability to pich and zoom? What else may be causing this?

    What would cause some pages in the same folio to pinch and zoom fluidly, while other pages appear a bit sticky? Could it be a button on the wrong layer that's not allowing the pinch and zoom to work?
    I do have a "go to state" button that enlarges graphic to full page on the page. Could this be cancelling the pinch and zoom functionality? Would a box with text wrap ON affect the ability to pich and zoom? What else may be causing this?

  • Firefox not displaying buttons and boxes when allow other pages to use their fonts instead of my selection is selected

    Firefox not displaying buttons and boxes when allow other pages to use their fonts instead of my selection is not selected. The irritating thing is that Firefox used to display pages until FF 31. Please fix this
    Thanks
    Randy

    The missing icons are supplied by a font that is downloaded from the server (@font-face) as you can probably see by little boxes that show the hex code of the characters.
    You will have to make sure that you allow pages to choose their own fonts to see such an icon font.
    *Tools > Options > Content : Fonts & Colors > Advanced: [X] "Allow pages to choose their own fonts, instead of my selections above"

  • When I try to watch a video, the video gets all blurry and mixes with the other pages I'm using, and it doesn't stop throughout the video..what should I do?

    When I try to watch a video, the video gets all blurry and mixes with the other pages I'm using, and it doesn't stop throughout the video..what should I do?

    Hello Gemese,
    After reviewing your post, I have located an article that can help in this situation. It contains a number of troubleshooting steps and helpful advice concerning audio issues:
    iPhone: No sound or distorted sound from speaker
    http://support.apple.com/kb/ts5180
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • We updated to the new Pages 5.0.1 and now none of our Pages 9 documents will open. Please help.

    We updated to the new Pages 5.0.1 and now none of our Pages 9 documents will open. Please help.

    Since you have Pages '09 documents it is safe to assume that you own Pages '09.  If you bought it from the App Store you should be able to download it again to your new machine.  If you have the install disks, you can install it on the new machine and the find the updater for it.
    Or you can go to the Apple Store (make an appointment) and get them to install iWork '09 on your machine.  They will do this for free if you can provide any proof that you owned it on your older machine.  They may do it for free anyway.
    As others said, your '09 files should open, so perhaps they were '08 files.  In which case you must open with '09 first.  For this reason Apple will sometimes give you a free version of iWork '09.  If you are not near an Apple Store try phoning them.  No guarantees, but others have reported that Apple sent them a free DVD.
    Worse comes to worse, look to buy it on Amazon or eBay, but try Apple first.

  • One of my pages "sticks". I can't click on other pages...

    Please look at my site. After you click on "IN DOROTHY'S WORDS" you can't go back and click on any other page... help!
    http://web.mac.com/poppyvictoria/iWeb/Site%2012/HELP%20THE%20TORTOISE.html

    for some reasons the following section (is an image) is blocking the nav bar:
    http://web.mac.com/poppyvictoria/iWeb/Site%2012/IN%20DOROTHY%27S%20WORDSfiles/shapeimage1.png
    note: 'BOB'S HEALTH AND WELLNESS UPDATE' is missing from your page.
    there is no easy way to fix this problem, except starting new page over and pay attention to what you do (especially close to the nav bar area).

  • Query from the data abse  and pass values to a pdf form

    query from the data abse and pass values to a pdf form
    Hello
    Hello i have this html report that i have written to output a
    report.
    now, i am assigned to pass the same fields to a pdf form so
    the fields in the adaobe form can be populated or the term
    Pre-populate the form.
    can anyone help me get started.
    first i would like to know if it can be done.
    second, what do i need to get started (tools )
    third how do i do this.
    i am really lost at this point.
    can anyone give me tips in how to approach this
    subject??

    It can be one using Adobe Acrobat Designer which is packaged
    with Acrobat
    Professional Pro 7. It uses all XML to create and populate
    forms.
    If you had the time, you can also create <cfdocument
    type="pdf"> to have
    them ready and just pass the info to it so it autogenerates
    the PDF on the
    fly.

  • Page 0 security: authorization scheme not applied to other pages

    the page 0 security: authorization scheme not applied to other pages (neither as an override for existing pages nor as a default for new pages).
    how is this intended to work?

    mcstock,
    Can you clarify your question please? Can you give specific steps to reproduce this issue that you are inquiring about?
    Thanks.
    Joel

  • Navigate between 2 reports and pass values between 2 different columns

    Hello
    I have a question about navigating from 1 report to another while passing the value from column 1 to column 2 in the second report...
    In OBIEE 11G, I create action link on report 1, column 1 and this action link is navigate to BI Content and the destination is report 2. Now report 2 has column 2, which is an alias of column 1 from report 1, from user's point of view they are the same, but from OBIEE point of view they are different.
    My action link is able to navigate to report 2, however, the value in column 1 which I clicked to execute the navigation, does not get passed to column 2 in report 2..
    Is there a way around this issue?
    Let me know if I need to provide more clarification
    Thanks

    Thank you Anirban
    I think this is the best solution you just provided.The current post and the post at below looks same
    Navigate from report to dashboard and  pass values between different column
    is it not answered?
    Thanks :)
    Edited by: Srini VEERAVALLI on May 7, 2013 3:07 PM

  • Multi row checking in advance table and passing this to other OAF page...

    Hello,
    I have an advance table on my OAF custom page, this table have checkbox column. I need to implement the solution when user selects some rows in this table and then press submit button on the page. So new OAF page is opened and on that page i need to show those lines which user selected in previous step.
    The problem is that right now i have this selection checkbox tight to VO attribute which updates table and then on submit do commit and on another page i'm just selecting rows which have this flag set. But what i'm looking for is - do not make commit and changes on database data, but pass the selected rows as kind of parameter to other page or something like this.
    Could you please give me any suggestions of how is the better way to implement this solution?
    thanks in advance...

    Make a transient VO, and insert all the lines the user has checked.Share the same AM in other page and while redirecting retain AM. On this page show the lines from the transient VO.Another option could be utilizing session.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for