How can I pass value between two pages or fragments?

Hi,
I am learning ADF nowadays. Now I come across the following problem.
There are two pages or fragments in a bounded task flow, e.g. PageA&PageB. There is an inputtext on PageA.When I press an button on PageA with an action jumpping to PageB I want pass the value of this inputtext to annother inputtext, which is shown on PageB. Moreover, the inputtext on PageB comes from a ViewObject. How can I achieve this goal? Any ideas or suggestions?
Best wishes!
Eleven.Xu
Mar 27th.2009
Edited by: Eleven.Xu on 2009-3-26 下午7:03

RequestContext requestContext = RequestContext.getCurrentInstance();
requestContext.getPageFlowScope().put("var_name", value);
String value = (String)requestContext.getPageFlowScope().get("var_name");
if you open a new window, the value will be null.

Similar Messages

  • Forms6i- how do i pass values between two forms

    Forms6i- passing values between forms
    I have two forms. FORM1 does a call_form to FORM2.
    How do i send values from FORM1 over to FORM2?
    I want the 2 values in FORM1 to be passed top FORM2 and displayed as a TEXT ITEM.
    But i don't know what is involved in passign vales between forms.

    Define Parameters in Form2, and pass parameters with the same name from Forms1 with the parameter list option of your call_form built-in.
    It is in the online help.

  • How to pass values between two pages

    also see:
    In portlets, how to use a html form passing  values to the another page?
    and
    htmlFormActionLink() method
    in common B/S developing, use html link add with a parameter or some parameters or we can submit it in a form to post values to another page .but how to do these in portal?
    I tried to write the code, but couldn't run at all!
    the provider.xml is still no problem!
    would you be so kind as to help me ?
    thanks!

    Hi Ravi,
            Using the call
    navigation->set_parameter( name='myparameter' value = myvalue ).
    you can set the page parameter myparameter to the value myvalue. This value can then be used for processing in the subsequent page.
    If the form field (in the layout part) and the page parameter are of the type string and are specified by the same name (in this case, myparameter), the following abbreviation can be used:
    navigation->set_parameter( 'myparameter' ).
    Using the set_parameter you can pass only the parameters of type string. If you wish to pass more set of values then you can call a method and then export the values of the drop down.
    Pls reward if useful.
    Thanks.

  • How to pass value between two forms.

    Hi all,
    how to pass value between two forms(using :parameter),...
    Thanks
    Rajesh

    To use parameters, create a parameterlist with the named parameters
    DECLARE
      pl_id PARAMLIST;
      pl_name VARCHAR2(10) := 'tempdata';
    BEGIN
      pl_id := Get_Parameter_List(pl_name);
      IF not Id_Null(pl_id) THEN
        DESTROY_PARAMETER_LIST(pl_id);
      END IF;
      pl_id := Create_Parameter_List(pl_name);
      ADD_PARAMETER (pl_id,'MYPARAMETER',TEXT_PARAMETER,:BLOCK.VALUE);      
      CALL_FORM('MYNEWFORM', NO_HIDE, DO_REPLACE, NO_QUERY_ONLY, pl_id);
    END;In the new form you can then just access the parameters via :PARAMETER.MYPARAMETER;
    An alternative is the usage of globals:
    :GLOBAL.MYPARAM:=:BLOCK.VALUE;
    -- call the emp-form
    CALL_FORM('MYNEWFORM', NO_HIDE, DO_REPLACE);and in the new form use:
    DEFAULT_VALUE(NULL, 'GLOBAL.MYPARAM');
    IF :GLOBAL.MYPARAM IS NOT NULL THEN
    ...The advantage of gloabls is that they can also return values back to the calling form, which is not possible using parameters

  • 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.

  • How can I pass value in status and reason for rejection using BAPI_LEAD_CREATEMULTI when creating multiple lead

    Hello,
    I want pass value in STATUS and Reason for rejection according to requirement when i am creating multiple lead using BAPI_LEAD_CREATEMULTI. Please help me how can i pass value. Please give some sample code that in which table i have to pass values and please also tell me INPUT_FIELDS values. Please help me
    Regards,
    Kshitij Rathore

    Hello,
    Please help me for solve this problem. I am trying to solve problem from last 4 days but i didn't get any solution.
    Regards,
    Kshitij Rathore

  • How can I view more than two pages at a time?

    How can I view more man two pages at a time?
    As a muscian reading digital sheets on Reader, being able to veiw as many as 3 to 5 pages at a time would be more helpful. Also, if it was possible to view any number of pages at time such as pages 1 and 2, 2 and 3, 3 and 4, or 5,6,7,and 8 instead of just 1 and 2 or 3 and 4 etc. my experience would be even better. thanks.

    The only way I could make Reader show 4 pages was to
    set View to 2 pages scrolling
    zoom out to display four pages:
    But for me that it to small to read anything...

  • How can i get report between two dates?

    Hi
    how can i get report between two dates?
    for example i want get reports between 20/4/2002 & 27/4/2002.
    my table has date column and i can get first date( exam : .... where date:=a and/or ....i don't know this part)
    thanks alot.
    Regards
    The Oracle Reports Team
    http://otn.oracle.com/

    where exam_date between :from_date and :to_date
    from_date and to_date are user_parameter

  • How to insert an image between two pages?

    How to insert an image between two pages? and how do remove the line of separation between two pages?.
    Attached image shows, there is a photo of two pages and no line of separation in the pages!

    Michi Thanks, but that option is only available on one page (2 columns), not to put two pages! see new image

  • 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.

  • To pass value between jsp page

    How can I pass hidden's value from a jsp page to other?
    My code is:
    a.jsp
    <h:form id="insUser">
    <h:inputHidden id="flag" value="1"></h:inputHidden>
    </h:form>
    b.jsp
    <%String flag="";
    flag=request.getParameter("flag");
    out.print("flag="+flag);
    %>
    b.jsp shows: flag=null
    Could you help me?

    Because this hidden field id is insUser:flag, but not just flag.
    If you have subview or other naming container(s) around form, the id name might be even longer.
    Sergey : https://ajax4jsf.dev.java.net/

  • How can I pass value from sql query to unix script

    I am new to oracle/unix.
    I want to write a simple script to find max date from a table and then pass date into a variable in a korn shell script.
    sql is select max(date) from table;
    how can I pass that value in unix shell as a variable. Thanks

    I use to code like this.
    Enjoy Scripting.
    cmd.sql
    select sysdate from dual;
    exit
    db.sh
    #! /usr/bin/ksh
    . ~oracle/.orapaths
    dbdate=$(sqlplus -S user/pwd@servicename @cmd.sql)
    echo $dbdate
    Run shell scripts
    ./db.sh
    SYSDATE --------- 19-JAN-07

  • Pass Values between two Function Modules RFC in Portal

    I need to pass values ​​between 2 FM RFC.
    I have an implicit enhancement in HRMSS_RFC_EP_READ_GENERALDATA RFC function module.
    PERNR LIKE  PSKEY-PERNR
    ENHANCEMENT 1  Z_ESS_EXPORT_PERNR.    "active version
      EXPORT pernr to memory id 'PMK'.
      set parameter id 'PMK' field pernr.
    ENDENHANCEMENT.
    On the other hand an RFC function module that has the code:
            pmk    LIKE PSKEY-PERNR,
            pmk_2  LIKE PSKEY-PERNR.
      get parameter id 'PMK' field pmk.
      IMPORT pmk_2 FROM MEMORY ID 'PMK'.
    When the execution is done in development environment, the modules function at the level of R3, the "get parameter id" works only if the debbuger is classic, otherwise not work. The Import to memory id never works.
    In the environment of quality, r3 do not work any of the 2 sentences. If run from portal (which is as it should be) does not work.
    Thanks if anyone can help me get the problem. Both function modules are executed at the portal.
    Regards
    Edited by: Daynet1840 on Feb 15, 2012 2:02 AM

    When the execution is directly in r3, in development environment or quality, does the set / get parameter id. Export / Import memory id not work.
    But if the FM are called from the portal, does not the set / get parameter id.
    I tried changing the sentence as I indicated harishkumar.dy still not working.
    Madhu: They're in different function groups, one is standard and the other not.
    Regards
    Edited by: Daynet1840 on Feb 15, 2012 3:08 PM
    Edited by: Daynet1840 on Feb 15, 2012 3:11 PM

  • How to hide empty space between two pages.

    Hi.
    I want to hide the grey space between two pages in Pages, so the last line of the top page could join directly the first line of the bottom page for quicker reading... Is it possible? Is their a way to stick pages tray to tray without the default empty grey space?  This option was possible in Word 2007...
    Thank you.

    demifraction,
    Is your document in Layout view?
    Under the View menu, Hide Layout:
    This doesn't hide all the grey space, but it stops the grey in the layout margins.
    Regards,
    Ian.

  • Passing the values between two pages

    hi all,
    I am trying to pass the value from one page to another page. by referring the Link
    http://www.youtube.com/watch?v=4eyzBiIf5MM&feature=related
    I have created the code based on the demo. it is deployed without any issues. but when i press the hyperlink from the first page it is not moving to the second page.
    Regards
    C.Karukkuvel

    Hi john,
    My Requirement is to create a ADF page based on the Human Task with the Default payload. In that page when the user presses the empid link field, It will show all the information related to the employee id in a separate page.
    so ,
    1. i have created the View Object based on the Query with where clause
    2. Create a bind variable for the where clause
    3.Created s new page for displaying the employee details
    4.drag and drop the both the pages (employee details, default page created by human task) into the adfcconfig file.
    5.drag and drop the Execute with params into the adfcconfig file
    6.wire it from human task page --> execute with params--> Employee details page
    7.change the employee field in that human task page to a link field.
    8.drag and drop the set property listener to that employee field.
    Testing
    Enter the input values for the Web service, logging to the BPM worklist, double click that task .it is showing the details when I press the employee id it is not navigating to the employee details page.
    Thanks in advance
    C.Karukkuvel

Maybe you are looking for

  • Error Message When Opening Reader on Vista: Reader V 9.1

    I have been using reader for awhile with no problems. Tonight I tried to view a .pdf file saved on my desktop and got the following error message: Microsoft Visual C++ Runtime Library Program C:\\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.32exe T

  • Interface scenarios - new attributes for adapters

    Hi, sinde sp15 we have a new tab interface scenarios in solman and there are many adapters lile: EDI, XI adapters, etc that we can use in those scanarios with special attributes for each of those adapters if there any chance to add some new attribute

  • Saved a page from Internet- where did it go??

    I was on a webpage & trying to save a page (actually a photos).  I clicked on "SAVE" and a message pops up that sayd "saved in your saved pages folder".  Where the heck is that???  I have looked all over my phone thru pics, doc, folder, etc.  Where i

  • Scrolling using Scroll Wheel in Adobe Illustrator

    In Adobe Illustrator CS5 I was able to scroll left and right in a document by holding Command and moving the scroll wheel on my mouse. In CS6 I find that holding Command does not toggle the scrolling direction as it had previously done. Holding shift

  • Trig wrong result

    Hi. I'm sure that is a simple representation setting problem. Can anyone help me? The PI number it appear to be in other representation than the result from the arctan function. The subtract shoul be 0 theoreticaly. Thank you. Attachments: trig fc.vi