How to pass thevalue from one page to another

Dear all
I have two pages
1-creation page
2-search page
in creation page I have column as name in that what ever I give that value pass to search page to corresponding column in search page
eg: in creation page column name value I given like this A%
the same corresponding A% value passed to the search page in that column name A%
when ever I submit the button as goes to search page.
Plz help me
Thanks in Advance
Mahesh

Dear all
Dear Gaurav
I have two pages
1-creation page
2-search page
in creation page I have column as name in that what ever I give that value pass to search page to corresponding column in search page
eg: in creation page column name value I given like this A%
the same corresponding A% value passed to the search page in that column name A%
when ever I submit the button as goes to search page.
The above requirement is working fine using session but i want to save that value in the database,
i given view instance and view attribute it is showing some error
Plz help me
Thanks in Advance
Mahesh

Similar Messages

  • How to pass data from one page to another

    i have a table with multiselect and i want that in the moment i select some rows and press on a button in the other page should be displayed only those data i have selected from previous one.... how can i do this? any link or example for this case?
    thanks in advance :)

    If the data you are retrieving from the excel file is just a few fields, then you can get them all on the first page and store them as public variables and use those variables on the different pages. But if you are getting a lot of data per page, then it would still be a good idea to get them all on the first page but store them as arrays. Then, on each page you can use the array you need.

  • OBIEE 11g How to pass variable from one prompt to another prompt in dashboard page.

      How to pass variable from one prompt to another prompt in dashboard page.
    I have two prompt in dashboard page as below.
    Reporttype
    prompt: values(Accounting, Operational) Note: values stored as
    presentation variable and they are not coming from table.
    Date prompt values (Account_date, Operation_date)
    Note:values are coming from dim_date table.  
    Now the task is When user select First
    Prompt value  “Accounting” Then in the
    second prompt should display only Accounting_dates , if user select “operational”
    and it should display only operation_dates in second prompt.
    In order to solve this issue I made the
    first prompt “Reporttype” values(Accounting, Operational) as presentation
    values (custom specific values) and default presentation value is accounting.
    In second prompt Date are coming from
    dim_date table and I selected Sql results as shown below.
    SELECT case when '@{Reporttype}'='Accounting'
    then "Dates (Receipts)"."Acct Year"
    else "Dates (Receipts)"."Ops
    Year"  End  FROM "Receipts"
    Issue: Presentation variable value is not
    changing in sql when user select “operation” and second prompt always shows
    acct year in second prompt.
    For testing pupose I kept this presentation
    variable in text object of dashboard and values are changing there, but not in
    second prompt sql.
    Please suggest the solution.

    You will want to use the MoveClipLoader class (using its loadClip() and addListener() methods) rather than loadMovie so that you can wait for the file to load before you try to access anything in it.  You can create an empty movieclip to load the swf into, and in that way the loaded file can be targeted using the empty movieclip instance name.

  • How to include iview from one page to another using FPM

    Dear experts
    using ECC6 NetWeaver 7
    I have followed this WIKI guide step by step.
    How to include iview from one page to another using FPM?
    https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=118423928
    On step 4 I couldnu2019t create an Iview based on view u201Cpersonal datau201D u2013 it was not possible.
    The view wasnu2019t there (in comprehend to the  WIKI)
    What could be the reason?
    I have full authorization on the portal.
    Thank in advance for your help.

    Please check this.
    Re: Organizational History iView
    /thread/370447 [original link is broken]
    Regards,
    Sandip

  • Passing paremeters from one page to another

    Hi,
    I want to pass parameters from one page to another page. On the first page, I
    have a form portlet based on scott.dept and one the second page I have another
    form portlet based on scott.emp. Now I intend to pass deptno as parameter to
    get the detailed info on the other page.
    Any help would be highly appreciated.
    Thanks

    Searching in these forums will answer most of your questions
    please see :-
    Select permissions for different schemas
    Re: PL/SQL Tuning Issues
    Where I can get Dealership for sale of Oracle E-Business Suite 11i

  • Getting error , while passing parameters from one page to another page

    Hello friends,
    i am getting error, while passing parameters from one page to another page, below code i wrote.
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    ArrayList arl=new ArrayList();
    EresFrameworkAMImpl am=(EresFrameworkAMImpl)pageContext.getApplicationModule(webBean);
    ERecordImpl ERecordObj=new ERecordImpl();
    HashMap hMap = new HashMap();
    hMap.put("1",ERecordObj.getTransactionName());
    hMap.put("2",ERecordObj.getTransactionKey());
    hMap.put("3",ERecordObj.getDeferredMode());
    hMap.put("4",ERecordObj.getUserKeyLabel());
    hMap.put("5",ERecordObj.getUserKeyValue());
    hMap.put("6",ERecordObj.getTransactionAuditId());
    hMap.put("7",ERecordObj.getRequester());
    hMap.put("8",ERecordObj.getSourceApplication());
    hMap.put("9",ERecordObj.getPostOpAPI());
    hMap.put("10",ERecordObj.getPayload());
    // hMap.put(EresConstants.ERES_PROCESS_ID,
    if(pageContext.getParameter("item1")!=null)
    pageContext.forwardImmediately(EresConstants.EINITIALS_FUNCTION,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    hMap,
    true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES
    Error(71,2): method forwardImmediately(java.lang.String, byte, null, java.util.HashMap, boolean, java.lang.String) not found in interface oracle.apps.fnd.framework.webui.OAPageContext
    Thanks
    krishna.

    Hi,
    You have imported the wrong class for HashMap.
    Import
    com.sun.java.util.collections.HashMap; instead of java.util.HashMap
    Thanks,
    Gaurav

  • How to handle the date attribute,passing parameter from one page to another

    hi Friends,
    i want to pass data attribute from one page to another page-
    i am passing like below ,in jdev log window i am getting below error.
    String StatusUpdateDate = row.getAttribute("StatusUpdateDate");
    params.put("StatusUpdateDate",StatusUpdateDate)
    Error(121,50): incompatible types; found: java.lang.Object, required: java.lang.String
    Suppose i am passing like below , while moving one page to another i am getting below error in application
    String StatusUpdateDate = row.getAttribute("StatusUpdateDate").toString()
    Status Update Date - JBO-25009: Cannot create an object of type:oracle.jbo.domain.Date with value:26-MAR-2009
    please can any suggest me how to handle this error.
    Thanks and Regards,
    vamshi

    Hi Pratap, Thanks for your help
    it was my mistake that previously property it was varchar2, now i have changed as you suggested every thing. still i am getting error. this is my code-
    AM CODE-
    public void xxselection(String Name, String Email,String Product,String Region, DATE StatusUpdateDate)
    DetailVOImpl vo1=getDetailVO1();
    vo1.initQuery2(Name);
    Row detailRow = vo1.createRow();
    detailRow.setAttribute("Name", Name);
    detailRow.setAttribute("Email", Email);
    detailRow.setAttribute("Product", Product);
    detailRow.setAttribute("Region", Region);
    detailRow.setAttribute("StatusUpdateDate", StatusUpdateDate);
    vo1.last();
    vo1.next();
    vo1.insertRow(detailRow);
    detailRow.setNewRowState(Row.STATUS_INITIALIZED);
    Controller- Process Form Request- Source page
    if (pageContext.getParameter("Detail")!= null)
    String Name=row.getAttribute("Name").toString();
    String Email=row.getAttribute("Email").toString();
    String Product=row.getAttribute("Product").toString();
    String Region=row.getAttribute("Region").toString();
    DATE StatusUpdateDate =(DATE)row.getAttribute("StatusUpdateDate");
    HashMap params =new HashMap();
    params.put(" Name", Name);
    params.put("Email",Email);
    params.put("Product",Product);
    params.put("Region",Region);
    pageContext.putTransactionTransientValue("StatusUpdateDate",StatusUpdateDate); //As you suggested
    pageContext.forwardImmediately("OA.jsp?page=/xxm/oracle/apps/pos/stg/webui/DetailStagePG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    params,
    true, // retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    another page Controller-Process request-Destination page-
    String Name = pageContext.getParameter("Name");
    String Email = pageContext.getParameter(" Email");
    String Product = pageContext.getParameter("Product");
    String Region = pageContext.getParameter("Region");
    DATE StatusUpdateDate=(DATE)pageContext.getTransactionTransientValue("StatusUpdateDate");
    Timestamp tstmpStatusDate=StatusUpdateDate.timestampValue();
    System.out.println("tstmpStatusDate"+tstmpStatusDate);
    Serializable[] parameters1 = {Name,Email,Product,Region,tstmpStatusDate};
    am.invokeMethod("xxselection", parameters1);
    Error - getting at while running the application page to page
    No method with signature - No method with signature - xxselection(class java.lang.String, class java.lang.String, class java.lang.String, class java.lang.String, class java.lang.String)
    every thing is getting passed except DATE Attribute, please check the code and update me
    Thanks in Advace-
    vamshi

  • Need help in passing parameters from one page to another!

    Hi,
    I need to pass values that are retrieved from database from one page to another.
    But even when I use pageContext.putParameter(), I am not able to view the value in the 2nd page.
    Any pointers on how to pass parameters would be helpful..
    Thanks in advance!

    The requirement is on the main page there are 6 fields out of which 4 are read-only and are taken from the database and 1 is taken from database, but can be edited, and the 6th one is completly editable for the user. I am trying to pass these parameters using setForwardURL, and on the second page (Preview page, where all these fields are read-only), I am able to retrieve these parameters using pageContext.getParameters() and am able to display it as an exception but I am not able to set these into the fields using pageContext.putParameters().

  • Pass parameter from one page to another

    Hi,
    I have 2 pages:
    - the welcome page with a combo box P101_OLD (list of values) with a submit button wh'os opening the 2nd page with that region source:
    select
    "ID",
    "ID_POSTE",
    "PERIODE_ID",
    "ADMIS",
    "INSCRITS_RAMQ",
    "INSCRITS_AUTRES",
    "ENREGISTRÉS",
    "VENDUS",
    "AUTRES",
    "COMMENTAIRES",
    "DESCRIPTIONOLD",
    "VOLUME"
    from "#OWNER#"."STATISTIQUES"
    where instr(':'||:P101_OLD||':',':'||STATISTIQUES.DESCRIPTIONOLD||':') > 0
    What's wrong ? How to pass a variable from one page to another?
    Thanks

    are you submitting the form once they click on the combo box? or use select list with submit.
    I have a form with a drop down say for names. after selecting a value I have to click the search button (basically it submits the page and redirects to page 2)
    unless we save the state of the combo box, it won't retrieve a value in page 2
    in page 2 all I had to do was refer to the page 1 field name :P3_TEST

  • 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

  • ADF: Passing parameters from one page to another using setPropertyListener

    Hi,
    I'm trying to find a simple way to pass a parameter from one page to another.
    On the first page I have a table, the second page is a history page, showing the change history of rows from the table on the first page.
    In the table on the first page there's a unique column (an order number), the value of which is never changed for a given row.
    What I would like is to be able to pass the order number from the currently selected row of the first page on to the history page, making the history page show only the history for the given order number.
    Using the task-flow for the history page, I've defined an input parameter (an order number), defined a criteria and so on. I've tested the functionality of this in the Application Module, and it seems to work.
    My problem is passing the order number from the first page to the second.
    I've created a Managed Bean, with a variable for the current order number, including accessors. On the table on the first page, I've created a contextMenu, and added an Item called "Show history" with an action that navigated from the first to the second page (a control flow I've defined in adfc-config). I've included a setPropertyListener in the "Show history" item. I've set the "From" property of the setPropertyListener to "#{row.ordernumber.attributeValue}" and the "To" property to point at the order variable in the Managed Bean. Finally, I created a new page for the history, dragged the history task flow onto this page as a region, using the Managed Bean order variable as input parameter.
    The result is this: When I bring up the context menu from a row in the table on the first page and select "Show history", I get this error: "The class 'java.lang.String' does not have the property 'attributeValue'."
    That's a bit puzzling to me, seeing as I used the Expression Builder to fill out the "From" property. I've tried using "inputValue" instead of "attributeValue", but that simply changes the error message to: "The class 'java.lang.String' does not have the property 'inputValue'."
    What am I doing wrong?
    Regards,
    Andreas

    Hi Timo and Puthanampatti,
    I actually tried something similar to what you have suggested before starting this thread, but still got an error. What I hadn't spent a lot of time investigating initially was that it gave a DIFFERENT error. But after reading Timo's suggestion, I went back to this other error and found out that it was connected to my Managed Bean. For some reason, I had made the mistake of giving the bean the same name (in adfc-config) as the actual java class. And this leads to a circular reference error (that I would only get to see when I didn't get the java.lang.String error first).
    Having fixed this, I can successfully pass my parameter from one page to another (with the "From" property of the setPropertyListener set to "#{row.ordernumber}").
    Thanks for your time,
    Andreas

  • Pass ID From One Page To Another To View Details

    I have a very basic problem. I am Trying To view details of a product from one page To another with itemID. But not getting The desired output. Code below:
     <asp:HyperLink ID="View" runat="server" Text="View" NavigateUrl='<%# "~/Approval.aspx?id=" + Eval("PurchaseOrderLine_ID") %>'></asp:HyperLink>
     using (var context = new SMAPPDBMSEntities())
                    int id = Convert.ToInt32(Session["PurchaseOrderLine_ID"]);
                    string ID = Request.QueryString["PurchaseOrderLine_ID"];
                    int m = Convert.ToInt32(ID);
                    var con = (from c in context.SMPurchase_Order_Line
                               where c.PurchaseOrderLine_ID == m
                               select c).ToList();
                    GridView1.DataSource = con;
                    GridView1.DataBind();
    Where do I have The error?? This code passes but doesn't show The details.

    1. are you sure the hyperlink is being written in the page with the currect url?
    2. r u sure that u get to that code?
    3. r u sure that bith id and ID and m get values inserted to them?(u need better names btw)
    4. context.SMPurchase - check that it has the corresponding data
    5. make sure you dont override the GV data anywhere like in pageload or somewhere else

  • How to pass information from one JSP to another JSP? help please

    hi there
    my question is how to pass some information such from one JSP to another one. for exmple, on one page there is a form, and i need to pass some values from the form to another jsp, or some values that were calculated on one JSP and need to be passed to another one. thanks

    You can do this in several ways...here is a simple one...
    When you call the second page url, use this
    http://www.mysite.com?myVariableFromPageOne="hello"
    on the second page use this:
    String firstPageVariable = request.getParameter("myVariableFromPageOne");
    Thanks

  • How to pass parameter from one form to another

    Hi,
    I have created a form based on a procedure . Now i want to pass a filed value from this form to another form . How can i do this.
    How can i pass a vlue from one form to another form in oracle portal.
    Thanks

    At last - I've managed to get this to work! Is this documented anywhere at all - I just guessed it based on other people's code!
    OK, to prove the example here is what I did:
    I have a form referencing the DEPT table.
    I created a item called 'Search' and of type button.
    I created a 'custom' PL/SQL block and added the following code:
    declare
    v_deptno NUMBER;
    begin
    v_deptno := p_session.get_value_as_NUMBER(
    p_block_name=> 'DEFAULT',
    p_attribute_name => 'A_DEPTNO');
    PORTAL30.wwa_app_module.set_target('http://server/pls/portal30/app_schema_name.EXAMPLE_SQL_REPORT.show?p_arg_names=_show_header&p_arg_values=YES&p_arg_names=_max_rows&p_arg_values= 25&p_arg_names=_portal_max_rows&p_arg_values=25&p_arg_names=DEPTNO&p_arg_values='&#0124; &#0124;LTRIM(TO_CHAR(v_deptno)),'CALL');
    end;
    Note: you need to reference the column with an 'A_' prefixing the columm name.
    I left the name 'DEFAULT' as it is.
    OK so I set this to a variable and now want to call a Report called EXAMPLE_SQL_REPORT which was created with the following code:
    select * from scott.emp where deptno = :deptno;
    The bind variable being the custom parameter for the report.
    I called the new report with the PORTAL30.wwa_app_module.set_target procedure and put in the full URL path (in this example) of the server and report.
    I hope this helps!
    John
    null

  • How to pass value from one method to another method

    Hi all,
    I have created a funtion module and i am calling this function module inside a method and it is exporting some value in a table, now i have to pass table value to another method where i have do some thing based upon this values.
    I think there a marco available to move the values from one method to another method.
    Please help me in this issue.
    Regards
    Balaji E.

    Hi,
    Let me make certain assumptions!
    Method 1 - You export the table values
    Method 2 - The method where you need the table values
    Once you create a method from a function module which has tables as one of the export parameters then the code automatically puts in the macro code which looks like : SWC_SET_TABLE CONTAINER 'Table' TABLE.
    The 'Table' in the above code is the container element which is created by the workflow once you use this method and the TABLE (The table that gets filled in the function module) is the variable to code automatically created.
    Now you can use the other function module in the workflow as a background step and pass the values from the 'Table' container to this method using the binding. When you use this then the method automatically has the macro SWC_GET_TABLE CONTAINER 'Table' ITABLE. Here the 'Table' is the same container table you used in the binding and the ITABLE would be the variable you can use in the other function module.
    Hope this helps,
    Sudhi

Maybe you are looking for