Pass parametrs between pages

Hi,
how can I pass parameters between pages, WITHOUT using a Session bean?
I mean: I need to use a Link Action component to pass control to another page (using the page navigation feature) and, along with the request, also pass the Id of the clicked image.
Can I do this using a JSF/Creator feature?
(without using a link like "NextPage.jsp?id=234")
thanks a lot

Runak,
I have a question about this. On the faqs link you supplied there is a document:
How can I pass data between pages without creating SessionBean variables in Creator?
I have this problem a lot:
Now if a variable is passed to Page2 from Page1 that is fine but as soon as you press a button or other. That variable is gone when the constructor is loaded again.
What work around would you suggest?, passing a varable from Page2 to Page2 dosen't seem to work.
I use Hidden Fields, but surely theres a better way.
Regards
Jonathan

Similar Messages

  • Pass values between pages

    Hello experts!
    I am trying to pass value between two pages without page submit.
    I set item value from first page to session state by dynamic action. Then I am trying to pass this value to second page, I use button which redirects to second page and sets item value on second page with value from first page.
    But approach this does not woks as I expected. The value from the first page is not passed to the second page when I click on button. Value is passed to the second page only if I:
    1. set some value to item on first page (e.g. XX);
    2. click on button which redirects to the second page;
    3. get back to first page;
    4. set some new value to the item (e.g. YY);
    5. click on button;
    6. then the first value from session state is passed to sthe econd page (value XX)
    Could anybody tell me where I make a mistake, or what is wrong in my solution?
    Test appl.
    www.apex.oracle.com
    http://apex.oracle.com/pls/apex/f?p=9027:LOGIN_DESKTOP:6946284921064
    workspace: kurintest
    username: [email protected]
    passwd: kurintest
    appl: 9027 pass_value
    Thanks in advance!
    Jiri

    Jiri N. wrote:
    Hello experts!
    I am trying to pass value between two pages without page submit.
    I set item value from first page to session state by dynamic action. Then I am trying to pass this value to second page, I use button which redirects to second page and sets item value on second page with value from first page.
    But approach this does not woks as I expected. The value from the first page is not passed to the second page when I click on button. Value is passed to the second page only if I:
    1. set some value to item on first page (e.g. XX);
    2. click on button which redirects to the second page;
    3. get back to first page;
    4. set some new value to the item (e.g. YY);
    5. click on button;
    6. then the first value from session state is passed to sthe econd page (value XX)
    Could anybody tell me where I make a mistake, or what is wrong in my solution?A redirect button and it's target URL&mdash;including items to be set and their values&mdash;are rendered on page show, in this case before <tt>P2_ITEM1</tt> has a value. Look at the page source when the page is first rendered:
    <input type="button" value="Button1"onclick="apex.navigation.redirect(&#x27;f?p=9027:3:11397156385140::NO:RP,3:P3_ITEM1:&#x27;);" id="P2_BUTTON1"  />No value substituted for <tt>&P2_ITEM1.</tt> in the URL.
    Why do you want to navigate between these pages without a page submit? As APEX has to render page 3 anyway, why not submit and branch?

  • Pass aprameters between pages

    Hi,
    I have HTML DB form calling a complicated report (in Oracle reports).
    Oracle reports takes in about 50 parameters.
    Each parameter is represented in the form by a list manager or a select list.
    I want to design the form in such a way that the items are spread among different tabs/pages on the form and finally call Oracle report for all these parameters passed through different pages.
    Could any one help me figure this out? Thanks,

    &gt; I have multiple select as one of the item in page 1. In which case,
    &gt; these values are stored in the database.
    Well, if they are on an HTML DB page, as a result from a DML or SELECT operation, then you can reference their value in HTML DB.
    &gt; Then, I can't pass these parameters directly between pages,
    &gt; right? Is querying directly from the database the only option?
    I'm a little confused here, as I think you may be overcomplicating how HTML DB works a bit.. An HTML DB item can have a number of different sources - one of which is from a database column. If you are intending on updating previously committed data, then you would need some sort of process to fetch the data into the HTML DB items.
    If you are using this as a "wizard", and want the user to select 100 different options then commit, you don't need to directly commit your transaction until the user clicks on the "save" button. Every item's value is automatically stored in session state by HTML DB; that's what you can reference from any other page.
    Hope this helps,
    - Scott -

  • How to pass values between pages?

    Hi
    Anybody know how you pass values like ids between pages using buttons?
    Cheers
    dan
    Message was edited by:
    user551484

    Hi
    Why do you want to do this? You can access values from other pages so if you are on page 2 and there is an item on page 1 called P1_ID you can simply assign it to an item on page 2 by typing in P1_ID in the source value for your page 2 item.
    Or you could reference it direct in your pl/sql process by typing &P1_ID. (note the fullstop)
    If you did want to pass a value using a button you can do so by clicking on the button name in then scroll down to the section called optional URL redirect.
    set target is a - to page in this application
    then select the page you want the button to send you to
    then click the flashlight icon next to set these items
    you can then select the page item you want to send the value to and the page item you are getting the value from.
    Danny
    Message was edited by:
    Danny Roach

  • Passing parameter between pages

    Hi all,
    I have a project which has two pages, and those pages act like master-detail. The master-like page is a read-only form with navigation buttons. The user navigates the records and when the user finds the record, s/he clicks the submit button, which opens a dialog window with an editable form displaying the record.
    I wonder how I can set cursor on the record and display it on the opening page.
    Thanks in advance.

    Hi,
    when you open a separate dialog then - in ADF Faces you use the dialog framework. Ypu can use the launch listener on the button that you use to launch the dialog to pass information to the dialog
    See "19.3.1.5 Passing a Value into a Dialog" of http://download-uk.oracle.com/docs/html/B25947_01/web_complex003.htm#CEGDHIGB
    Frank

  • The function javascript:doSubmit not passing variables between pages

    Hi,
    I have an report that has a link to another page, and I'm trying to pass 2 variables. If I use a target URL as such the variables do not get passed, but if I use a page target and explicitly add the item name and values it works fine. Here is the call I'm using to javascript:doSubmit:
    javascript:doSubmit('f?p=&APP_ID.:32:&SESSION.::&DEBUG.:32, CIR:P32_PROJ_ID,P32_DID:#AWARD_NUMBER#,#ID_PROVIDED#');
    Does anyone have any insights?
    Thanks,
    Joe

    You can't use doSubmit to pass variables; it will only submit your page with the request you passed in.  All normal page processing and branching will be followed..  Why are you using doSubmit?  Just put the URL in the URL field.
    f?p=&APP_ID.:32:&SESSION.::&DEBUG.:32, CIR:P32_PROJ_ID,P32_DID:#AWARD_NUMBER#,#ID_PROVIDED#

  • Jdev 11g, Passing data between pages using data control

    Hi,
    I'm fairly new to Jdev, J2EE, and ADF. I created a project using the tutorial "Build a Web Application with JDeveloper 11g Using EJB, JPA, and JavaServer Faces" (found here: http://www.oracle.com/technology/obe/obe11jdev/11/ejb/ejb.html).
    Data model part seems to work fine. I am able to connect to the database and print out a record using the sample client.
    Now I'm trying to build the web front end for it. I started using a data control and ADF to make the components. I built a search page by dragging and dropping my method from the data control onto a form. I set the action on the form to go to a detail page which I put a database node from my table product_group. My thinking was the user would put in the id and then be taken to the next page that has the detail on it.
    When I ran the page though the search page seemed to execute fine but the detail page came up blank. There were no runtime errors. I think data is not being passed to the next page.
    This is the code for the form on the search page:
    <af:form>
    <af:panelFormLayout>
    <af:inputText value="#{bindings.p_id.inputValue}"
    label="#{bindings.p_id.hints.label}"
    required="#{bindings.p_id.hints.mandatory}"
    columns="#{bindings.p_id.hints.displayWidth}"
    maximumLength="#{bindings.p_id.hints.precision}"
    shortDesc="#{bindings.p_id.hints.tooltip}">
    <f:validator binding="#{bindings.p_id.validator}"/>
    <af:convertNumber type="number"/>
    </af:inputText>
    <af:commandButton actionListener="#{bindings.queryProdGroupFindByID.execute}"
    text="Search ID"
    disabled="#{!bindings.queryProdGrouptestFindByID.enabled}"
    action="search"/>
    </af:panelFormLayout>
    </af:form>
    This is the detail page:
    <af:form>
    <af:panelFormLayout>
    <af:panelLabelAndMessage label="#{bindings.description.hints.label}">
    <af:outputText value="#{bindings.description.inputValue}"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.id.hints.label}">
    <af:outputText value="#{bindings.id.inputValue}">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.id.format}"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.status.hints.label}">
    <af:outputText value="#{bindings.status.inputValue}"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.storeId.hints.label}">
    <af:outputText value="#{bindings.storeId.inputValue}"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.type.hints.label}">
    <af:outputText value="#{bindings.type.inputValue}">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.type.format}"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    </af:panelFormLayout>
    </af:form>
    I guess what I'm asking is how does data get passed to the detail page using a data control? Also if anyone has an online book about data controls and how they work I'd appreciate that too. Too much magic going on.
    Thanks in advance.
    Edited by: user2936931 on May 3, 2009 5:15 PM

    I went to the bindings tab for my search.jspx page and found in the 'executables' table queryProdGroupFindByIDIterator. I looked in the properties for that and 'CacheResults' is set to '<default>true'. Next page still looks blank. I changed it to straight up 'true' and that didn't work either.
    If I'm in the right place I guess it must be something else?

  • Pass parameter between uix page

    Hi, I am new to JDeveloper UIX technologies. I have created two uix page: page1 is built on a view. Page2 is on a table. How do I pass a parameter (customer_id) from page1 to page2?
    Any help is appreciated. Thanks ahead!

    You can get the sample code for your answer here:
    http://otn.oracle.com/sample_code/products/jdev/index.html
    Download sample code with title:
    Passing values between pages
    Or alternatively your can keep the customer_id in the session during ActionForward then passing back the value into a textbox in page 2.
    Code in ActionForward:
    request.getSession().setAttribute("customer_id", value);
    Code in UIX Page 2:
    <textInput text="${sessionScope.customer_id}" name="code2"/>
    Thanks.
    Alex Cheong

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

  • Urgent! pass parameters between jsp pages

    Does anyone can give an example about how to pass parameters between jsp pages?
    This is what I do:
    pageContext.forward("pag_loginc.jsp?p_idusr=" + strUsr + "&c_password=");
    But when deployed is not working.
    Help is needed.

    can you put that stuff in the session context in the first page, then pull it out in the second page?

  • Portal eventing between pages

    Hi,
    I read around that portal eventing can be done only on the same page and not between pages, is this correct? if so, how do we make events between pages after all?
    Thanks in advance,
    Aviad

    Hi Aviad,
    Portal eventing takes place between different iviews of the same page only.
    To pass between values between different pages, you can store the required value in a Portal Request object or Session object.
    Also you can refer to this link,
    iView to iView communication with EPCF
    This link  contains the code to establish connection between pages .Finally obtaining paramaters through request.getParamater().
    Hope this helps,
    Regards
    Uma.
    Note: It will be better from next time if you could post portal related queries in the EP forum to get quicker responses and ep related guidances.

  • Pass variables between form

    Hi,
    I'm using oracle forms 6i.
    How can i pass variables between forms?
    Consider the scenarion of a login form.
    After a user logged in successfully, a new form appears , where his name should be displayed
    like 'Welcome <user>'
    So name should be passed form login form to the home page.
    Is it possible with Oracle?
    Divya

    Arif,
    -- Your CodeTo format a number of lines, write  at the ending and to begin the code area write .
    -- Line of Code
    And if you want only 1 line to be formatted then use >.
    Regards,
    Manu.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Passing values between jsp and php

    hi there, is it possible to pass values between jsp and
    php? i really need to find out the way if there is
    any. thanks in advance
    -azali-

    Yes, there are a few ways to do this.
    1) Think about using Cookies.
    2) Maybe use a Redirect passing the values in the Query string.
    3) Retain the data in a repository in the back end.
    4) Using Hidden fields within your pages.
    I am sure you can use these Idea's for a base to develop other methods on how to pass values back and forth from JSP -> PHP and vice versa.
    -Richard Burton

  • Right way to jump between pages?

    I am in trouble to find the correct way to jump between pages,I have a page alluser.jsp,
    in which all usergroups and users are displayed,corresponding to every user's item,I
    place a link to delete this user,as below:
    <a href="removeuser.jsp?userName=<%=userName%>">delete</a>
    in removeuser.jsp,after I have completed the task of deleting this user from database,I
    want the client go back to alluser.jsp,where he can find that user has been removed,
    but I have tried three different ways,the first,
    response.sendRedirect("alluser.jsp"),but It displays the old page,seemingly not following
    the logic of alluser.jsp:to fetch data from NOW_BE database,but just displays from the browser's
    cache;
    the second,
    <jsp:forward page="alluser.jsp"/>,but it will forward the parameter userName onto the
    alluser.jsp,which doesn't need any parameters,as result,in browser's location bar,I see
    ..../alluser.jsjp?userName=...,now I cannot refresh the page,because the browser will
    prompt me whether to resend the request info to refresh the page;
    the third,I simply use
    javascript:location="alluser.jsp",but I got the same result as the first approach
    now I have been driven crazy,on earth what is the good way to do these?
    Please help me,thanks in advance

    Instead of having 2 jsp forms, the processing can be done in the same form - "alluser.jsp".
    The code below explains as to how this can be implemented.
    The ResultSet gets updated without the deleted user.
    <%
    String message="";
    String userid =request.getParameter("USER_ID");
    if(userid == null)
    userid="";
    else
    int delusercon=user.del_user_con(userid);
    int deluser=user.del_user(userid);
    String username=request.getParameter("username");
    message=username + " "+ "has been cancelled!";
    list=user.get_pendinguser();
    }%>
    <form>
    <%=message%>
    <%while(list.next()){%>
    <table><tr><td>
    <div align="center"><a href="alluser.jsp?USER_ID=<%=list.getString( userid)%>&username=<%list.getString(username)%>">
    <B><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">
    Deny</FONT></B></a></div>
    </td></tr></table>
    <%}%>
    </form>
    Hope this helps!!

  • Firefox crashes every time I open it and try to go between pages, I can not use firefox, help

    I converted my new computer from an old one about a week ago.
    Every time I open Firefox, it either crashes immediately or once I try to go between pages it crashes. I get a window that says Firefox quite Unexpectedly. Apple Care worked on this with me.
    We opened Firefox in Test Mode, the crashes did not happen.
    I would like to use Firefox, it is much better than Safari, but not being able to get help for Firefox; I have no choice.
    I don't know how to submit information to Mozilla, therefore I have no crash ID.

    With Test mode, do you mean starting Firefox in [[Safe mode]] ?
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

Maybe you are looking for

  • Can no longer drag or cut and paste links or words from one place to another with new Firefox update

    After updating Firefox 19.0.2 to my iMac Desktop 10.8.2, Lion, I can no longer drag or cut and paste anything to anywhere, anymore. Please help. Thanks!

  • Canon D1X Raw Files and IPhoto 6.0.6

    I'm unable to load Raw files into IPhoto 6.0.6 from my Canon G1X on a Macbook Pro using OS 10.7.4. I've resisted upgrading to a later version of IPhoto because of the negative comments about the later versions, and indeed never would as my existing v

  • Viewer goes blank when selecting an adjustment

    I'm probably overlooking something. When I attempt to make an adjustment images in a new project, Aperture has started doing something strange. All of the images in this project are .jpg. After first importing the images, I was able to successfully a

  • Pop up in va22 and vf02

    Hi all experts, When ever i enter a document number in va22 or vf02 and navigate as Sales document--> Issue to output i get a pop up for selecting the output type(Please see the picture 1 below). after selecting any of the given output and on clickin

  • Fast method to fill Table with ring controls from index

    Dear Users, I have a rather big table that contains one row with ring control cells. Teh table is filled from a few arrays before usage and the user is supposed change the value of certain cells by selecting the ring items.  I have 2 questions: 1.) i