Passing values to next page on Update image click?

Hi Everyone,
I have developed one OAF page which has onw table data to show. The last column is Update Image icon.
Columns are like this: Eno, enmae, comm, address, salary, update.
On clicking on update icon on any row the corresponding Eno and Ename should be passed to next Update page and these two values has to be displayed on teh Update page.
How can i do that?
Please help...
Thanks.

PPR event on Update Image would do the magic for you.
Go to the properties of the Image icon and select below
1) Action Type : fireAction
2) Event : updateEmp (This event needs to be captured in the page CO)
3) Parameters :
a)pEmpNo : ${oa.current.EmpNoID} (EmpNoID is the view attribute for Employee Number. You keep proper name of your VO attribute here)
b)pEmpName : ${oa.current.EmpName} (EmpName is the view attribute for Employee Name. You keep proper name of your VO attribute here)
c) Add more parameters if you want to pass maore
4) In processFormRequest of the page catch the event 'updateEmp' and forward to the next page
String eventRaised = pageContext.getParameter("event");
if ("updateEmp".equalsIgnoreCase(eventRaised)) {
HashMap actionHashMap = new HashMap();
String pEmpNo= pageContext.getParameter("pEmpNo");
String pEmpName = pageContext.getParameter("pEmpName");
actionHashMap.put("pParamEmpNo", "{!!" + pageContext.encrypt(pEmpNo)); --always encrypt
actionHashMap.put("pParamEmpName", "{!!" + pageContext.encrypt(pEmpName ));
pageContext.setForwardURL(include the next page function/URL and other parameters along with actionHashMap);
5) In the next page CO, get the passed parameters in processRequest using
String pEmpNo= pageContext.getParameter("pParamEmpNo");
String pEmpName = pageContext.getParameter("pParamEmpName");
--Do your other stuff on how to use these parameters
Hope this will direct you properly.
Regards,
Peddi

Similar Messages

  • Value in a EIT segment(From Update Page)not getting passed to the Next Page

    Hi
    We have a extended CO to populate an EIT field as per the calculation in CO, on a custom button click.
    Calculated value is stored/displayed in the EIT Update Page.
    On clicking Apply, value is not getting passed to the next page, EIT Main Page and further to store the calcualted value in the EIT table.
    Anyone have faced such problem ?
    Thanks
    Arun

    Hi Gaurav
    Facing problems with put/getSessionValue.
    For the first time in a session, we do not have any issues.
    For next transaction in the same session,
    Variable has the same value even if we go for a next EIT transaction, and replaces this value for the field, without pressing the custom button.
    Thanks
    Arun

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

  • How can i get dynamic values to next page.

    HI!
    I am generating a dynamic rows with some different values.And in the end of each row there is a button .i want as i click that button i can get those values on next page.
    Can any one help me out in this.
    On click i can send values thouugh get or post to next page.But how will i read that on next page.
    Help if any one can.

    Not excatly.But i am trying to solve that problem.Responding early may
    help me.

  • How to show excessive values in next page in SAP SCRIPT

    Hello,
    Please any one can help to show excessive values in next page .
    For example i want to show
    567
    5678
    789
    23456
    I want to show values 23456 in next page only.
    Can anyone please suggest me how to do so?
    Thanks and regards
    Mave

    Hi Swetlin,
    I have this format in the main window.
    textaaaaaaaaaaaaaaaaa
    textfffffffffffffff
    123
    1234
    1234
    5667
    1234
    textweeeeeeeeeeeeeeeeeeeeee
    texttryrtyrtuyrturtur
    now when i am doing as you suggested
    the last texts are coming in the next page.
    What i want is to show overflow of numeric data in next page and the remaining last text should remain as it is in the first page only.
    i mean
    textaaaaaaaaaaaaaaaaa
    textfffffffffffffff
    123
    1234
    1234
    5667
    1234
    textweeeeeeeeeeeeeeeeeeeeee
    texttryrtyrtuyrturtur
    and in the next page
    4567
    4568
    8790
    Thanks and regards
    Mave

  • 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 to pass multiselected values to next page

    Hi,
    I am fetching some rows from the database & displaying those rows in my mainPG through TableRN. Inthat Table I enabled multiselection option and if i select 5 rows outof 15 rows & if i click the submit button, i want to display only the selected rows in the next page.
    i.e
    MainPage
    col1 col2 col3 col4
    row1
    **row2
    row3
    **row4
    row5
    row6
    **---->selected rows
    Next Page
    col1 col2 col3 col4
    row2
    row6
    This is my requirement. so anyone plz let me know how to do that? how to pass those selected rows values to the next page while clicking Next buttion.
    thanks in advance
    logu.k

    Hi Frank,
    Thnaks for your reply. actually it is not a JSP pages. i am developing some self service application pages through Oracle application Framework (OAF). There i have cratedone mainPage (i.e MainPG.xml), which contains one Table Region with multiselection option enabled.
    Now i select some rows in the Table and if i click the next button only that selected rows should be display in the next page, i am using different Controller file (CO) for each pages (that next page also OAF page).
    this is what my requirement.
    so could u plz help me out how to do this.
    thanks
    Logs

  • Pass value from one page to another

    Hi All,
    "How to pass the value from one Flex page to anothere Flex
    page".
    In First Flex page contains One Inputtext and one button is
    there.After entering the data in inputtext box,the user clicks on
    the button then get the data from inputtext box and then i need to
    send that value to another flex page and display there.
    Can u tel me plz............
    Thanks & Regards,
    Nagarjuna.

    I believe you are thinking in terms of HTML and traditional
    page coding. As an old school ColdFusion guy I understand it is
    difficult to leave that behind. (at least it was for me.) Unless
    you literally have two different HTML pages that each have their
    own Flex app running in them you do not need to send data from one
    page to the next like you would with Web Forms. (If you are doing
    that you may want to simply write the data to a Shared Object, Pass
    it to a server to store and then feed back into the second Flex App
    when it loads or perhaps use the ExternalInterface to then pass it
    through as a series of URL parameters that can be loaded into the
    next Flex App.)
    In Flex you do not have to worry about loosing state between
    pages because there are literally no pages. Only different views.
    You would not "Send" the value from one page to another. You
    provide a mechanism for the second view to reference the same model
    or data object (most call them ValueObjects) that the first view is
    setting via the form fields.
    You would want to use a ValueObject in the first VIEW and
    then fill the object with the form data using setter methods on the
    object. For example set the fields onChange event to call the
    setter on the object and pass it the form fields value as the
    property. Alternately you could bind the values of the model
    directly to the fields so that they automatically obtain the data
    that is being filled in.
    Depending on how complex of an application you are going to
    build and how scalable it must eventually be you have many
    different options to choose from to allow the second View to use
    the data set but the first. However to make the application
    ultimately more scalable you are going to want to keep your view
    separated from the controller and that separated from the
    Model/ValueObject. (By seperated I mean in different classes.)
    I would suggest looking up the subject of MVC in Flex and
    also the Mediator Design pattern. There are many great sources of
    information.
    Here are a few links that may help with ideas.
    http://flexblog.faratasystems.com/?p=246
    http://pages.cpsc.ucalgary.ca/~heatond/mediator/
    http://livedocs.adobe.com/flex/3/html/help.html?content=introbd_2.html

  • Passing values between jsp pages

    Hi all,
    I am a newbie to jsp. I am trying to pass value from one jsp to another.
    Let me post the code here and make my point clear. I have 3 jsp pages and am trying to get the value into my 3rd page that was in the first page.
    This is my Test.jsp page:
    <%@page contentType="text/html"%>
    <html>
    <head><title>Test JSP Page</title></head>
    <body>
    <%-- <jsp:useBean id="beanInstanceName" scope="session" class="package.class" /> --%>
    <%-- <jsp:getProperty name="beanInstanceName" property="propertyName" /> --%>
    Testing.. JSP Page
    <FORM action='Response.jsp' method="POST">
    <input type='Text' name='get_name'>
    <input type="submit" value="Click Me">
    </FORM>
    </body>
    </html>
    This is my response.jsp page:
    <%@page contentType="text/html"%>
    <%@page import = "sun.jdbc.rowset.CachedRowSet" %>
    <html>
    <head><title>Response Page</title></head>
    <body>
    <%-- <jsp:useBean id="beanInstanceName" scope="session" class="package.class" /> --%>
    <%-- <jsp:getProperty name="beanInstanceName" property="propertyName" /> --%>
    Thank you... <%=request.getParameter("get_name") %>
    // I want to pass this get_name to my next page, but since request.getParameter returns an object and not a string, how will I capture the value and pass it to my next page.
    </body>
    </html>
    The 3rd jsp page is:
    <%@page contentType="text/html"%>
    <html>
    <head><title>JSP Page</title></head>
    <body>
    // I am trying to get the value of the name here in this page.
    <%-- <jsp:useBean id="beanInstanceName" scope="session" class="package.class" /> --%>
    <%-- <jsp:getProperty name="beanInstanceName" property="propertyName" /> --%>
    </body>
    </html>
    Your help is appreciated.
    Thanks

    Hi,
    Thanks for the reply, it works. I was wondering whether this is an efficient way of doing this. What I want to do further is to setup a connection to a database and use the value I got from my previous page to query the DB and get the results and display.
    I have see some code in the java website and a lot of people do by writting a bean /class(believe bean is just a class) and then importing it and do the things that way. I have good knowledge of OO and Java as a language and would definitely love to do it this way.
    What i think i am missing is the basic idea to doing this way. So if you could let me know how to do this using java classes I would really appreciate it. If its too much to explain can u point to some good source(URL's) that explain's this. I have searched on this and all i find is code with no good explaination.
    Thanks a lot

  • Report: passing values to item page

    on Apex 3.2
    Hi,
    I need help.
    Does anyone knows a way to pass values from a report to a page item?
    This is what i want: when i run a report i want to fill a page item with the value from an item report.
    Thanks,

    Hi Austin,
    Thank you for your reply.
    I've writen a query that gives me the accounting movements.
    In this query the user can pass the rownum because there are about 1million records in the partitioned table.
    But the diference between credit and debit must considered all the movements that are not closed.
    I'm using analitics functions to do that, so for each line the value is already calculated.
    With one report region: If i group and break the report it takes about 13 seconds to display the information.
    If two report regions: One for the movements other for the "Debit: Credit: and Total:". It takes about 6 seconds to display the info.
    Its more fast, but i have to run the query twice. The idea is to run only once.
    The values that i want to pass from report to page items, Debit: Credit: and Total:.
    Is there a way?
    Thanks,

  • Passing values to another page with %

    I have a button that redirects to another page in my application. I am passing the value of one my fields to the target page via <Set These Items> and <With These Values>. The source field has a % at the end of it. When the value gets passed to the target, the % is not passed. Is there a problem passing values with % in them?
    Here is the passing parameter list:
    Set These Items: P22_DB_NAME
    With These values: &P2_DB_NAME.
    The value of P2_DB_NAME is "ESB%". When it gets to the target page it is "ESB".

    Brian,
    you will need to encode the percent sign and use
    %25
    instead of
    Make your button an url and use this link. It will replace the percentage with the encoded value and pass the value to the specified item.
    redirect('f?p=&APP_ID:22:&SESSION.::::P22_DB_NAME:'+$x('P2_DB_NAME').value.replace(/%/, '%25'));
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    ------------------------------------------------------------------------------

  • Passing values to iframed page with flash chart.

    Hi,
    I'm trying to dynamically generate a series of charts within a sql report.
    In my report i make several calls to a page with a (flash) chart and i pass some values to this page/chart by setting page items through the source url of the iframe.
    The problem is that all the iframed instances of the page in my report display the same data although each iframe sets specific page item values through its source url.
    (only the page item values that were set by the last call to the page are being used by all the other chart instances)
    So why does this happen?
    Are the iframed charts rendered to slow?
    Is this a flash problem?
    Should i call each iframe within a seperate session?
    And does anyone know how to correctly pass values to the iframed page / chart so each instance of the page/chart displays the correct data?
    Thanks
    Niels

    Solved my problem by leaving the SESSION part blank in the src url of the iframe.
    Apex creates a new session for every iframe now, the page items values are not overwritten and the data is displayed correctly.

  • Javascript: to pass values to another page

    hi all,
    i hav an interactive report. if i clik on a particular row, that row values must be passed to an another page (via javascript)
    i found this forum https://forums.oracle.com/thread/2467579 in which they hav used it for sending mail.
    but i wanted to pass those values to another page throug javascript bz, i hav installed a plugin nd wrking from it under right clik.
    ma  javascript function  is,
    function func(action,el, pos)
       window.location ="http://apex.oracle.com/pls/apex/f?p=71510:2:&SESSION.:::2:P2_X,P2_X2:'+ $(el).children('td[headers="EMPNO"]').text() +  ',' + $(el).children('td[headers="ENAME"]').text()";
    here i hav redirected it to the 2nd page and in the 2nd page i hav used 2 items to get these values.
    $(el).children('td[headers="EMPNO"]').text() +        ------->  this is to fetch the empno of that particular row and similarly for the name.
    but if i click on the right clik button , no action is happening... 
    but its working fine, if i use the function as,
    function func(action,el, pos)
       window.location ="http://apex.oracle.com/pls/apex/f?p=71510:2:&SESSION.";
    so somewhere is going wrong in passing the values in URL i suppose....
    and i hav used al d above things in
    http://apex.oracle.com/pls/apex/f?p=71510:1 (username: test / paswrd: pex14gm)
    pls help me out.....
    thanks in advance

    Try like this.
    function func(action,el, pos){
        var empNum = $(el).children('td[headers="EMPNO"]').text();
        var eName  = $(el).children('td[headers="ENAME"]').text();
        window.location ='http://apex.oracle.com/pls/apex/f?p=71510:2:&SESSION.:::2:P2_X,P2_X2:'+empNum+','+eName;
    It looks simple and neat.
    If you still didn't get post me workspace details.

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

  • Pass values to parent report's parameter  when click "Return to prev.."

    We have one report A which has parameters(use prompt to select value, not URL) to filter data, A has drill across action to report B(replace current report), we now can pass A's parameters to B.
    But if we click the "Return to previous Report" in B, all parameters in A dismiss. A report lose parameters used before, and we do not know how to pass parameter to A again, (all action must replace current report)
    Edited by: Jeffrey Yan on Mar 8, 2010 6:49 PM

    While creating prompt for Report A, you can set its default value (in prompt window before the last step where it lists all the values from the data object, you can click on the value and then click the arrow button). This way, when you return to A from B, at least it will open up with the default prompt value.

Maybe you are looking for

  • Error reading wsdl file excepetion null

    Hi I am trying to invoke a proxy service (web service) wsdl from a bpel process. When i add a web service adapter, put url of external web service and save it, all my service end points defined in the BPEL process are becoming non editable. Binding o

  • Ref No in Vendor Aging Report

    Hello, i experienced the phenomenon that in the aging reports the ref number is not always there. although in the invoice documents the field is filled out. when i look at the report in the designer i just see that this field has its data from a vari

  • No music on ipod but in disk mode I can play the files from the ipod

    My company now requires our laptops to be encrypted. So we have this Utimaco Safeware stuff installed. Ever since it was installed my ipod no longer can play music. Odd thing is I can put the ipod into enable disk use and the songs are there and I ca

  • Album shuffle doesn't work

    For some reason, selecting shuffle by album doesn't work for me. In fact, all of the three shuffle by options seem have the same effect; shuffling by song. whats going on? shuffle worked fine in 4.9. what did apple do to mess up a perfectly working s

  • Drill into a Dataset from a url

    Hello, I have a page which makes use of the tabbed panel spry widget. Within that I have a tab that uses a spry master detail widget with its content generated using xmldata. The first recordset fills this page. Now I want to get to this page and thi