Pass parameter to included page and read it in the included packing bean

Hello
i have a page include in adf page (main.jspx include body.jspx) and i send a parameter to the included page ,and the included page has a request scope backing bean ,and in the constructor for this backing bean i tried to read the parameter , how can i get the included parameter "userId" in the backingbean which is realted to body page i.e(i want to pass the userid parameter to the body backing bean),the following is my code.
main.jspx :
<f:subview id="Body">
<jsp:include page="/body.jspx";>
<jsp:param name="userId" value="123456"/>
</jsp:include>
</f:subview>
Regards
Mohd.Weshah

i tried your soluation
<managed-bean>
<managed-bean-name>testBacking</managed-bean-name>
<managed-bean-class>checklist.TestBacking</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>testValue</property-name>
<property-class>java.lang.String</property-class>
<value>${param.myParam}</value>
</managed-property>
</managed-bean>
it return to me in the getter method for the testValue the experssion as string ${param.myParam} but if i put ${param.myParam} it return value.
please advice.
Regards
Mohd.Weshah

Similar Messages

  • Pass parameter to another page and stay on same page?

    Greeting EveryBody,,,
    as u can see from the subject
    im trying to pass parameter from one page to another but i want to stay on the original page???
    can be done or not? and how?
    examples are welcomed
    thanx in advance
    best regards
    carlito

    i have three pages displayed all by <frameset>
    and i want to pass parameter from one page to another without going to any page!!! i.e. staying on the main page
    hope it clear now....
    best wishes

  • Pass Parameter from main page to include page (subview) and read it ?

    Hello All
    i have an include header.jsp page in main page.jsp ,and i included it by subview.
    i want to pass a parameter ex(screen name) to the subview by using f:param.
    Here is the code in main.jsp:
    <f:subview id="headerSubView">
    <jsp:include page="/commons/header.jsp" flush="true">
    <jsp:param name="screenTitleByJspParam" value="screen2007"/>
    </jsp:include>
    <f:param name="screenTitleByFparam" value="screen2007"/></f:subview>
    Code in header.jsp
    1- <af:outputFormatted value="#{param.screenTitleByJspParam}"/> -- this dose not work
    2- <af:outputFormatted value="#{param.screenTitleByFparam}"/> -- this dose not work (i want this manner)
    So how i can send parameter by ]<f:param and read it by subview uesing adf/jsf tags ?
    Regards
    Mohd.Weshah
    weshah79

    Dear thanassis
    Thanks for you help ,your code is working successfully but my case is the following :
    same your main jsp page but the subview tag in table :
    <%@ page contentType="text/html;charset=windows-1256"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <f:view>
    <html>
    <head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1256"/>
    <title>main</title>
    </head>
    <body>
    <h:form>
    <afh:tableLayout>
    <afh:rowLayout>
    <afh:cellFormat>
    <f:subview id="header">
    <jsp:include page="header.jsp" flush="true">
    <jsp:param name="pageTitle" value="Modify aa record"/>
    </jsp:include>
    <f:subview>
    </afh:cellFormat>
    </afh:rowLayout>
    </afh:tableLayout> </h:form>
    </body>
    </html>
    </f:view>
    try it the parameter dose not work ,but if you want that code work successfully move the subview out of the table.
    Do you know what is the problem ?
    i want give you another hint maybe it is realted to the same problem, which is in my original page the body tag is adf tag ie(<afh:body>) your code dose not work with that tag until i changed the afh:body to html body.
    Regards
    Mohd.Weshah

  • Passing parameter between JSF pages

    I need to pass a parameter value between 2 different JSF pages.
    The reason I need to do this is to be able to know which JavaBean (A or B) called the other JavaBean (C).
    Can I somehow set a parameter within the JSF page and retrieve it in the second JSF page for my backing bean to read?
    Thanks in advance.

    A co-worker of mine helped me fix my code to make it work!
    Here is the final solution in case someone else needs to do the same thing in the future:
    In the main JSF page that calls the second JSF page, the following code was added at the beginning of the page in the JavaScript section:
    <% session.setAttribute"className", "CcmReassignEmployeeBean");
    And in the Backing Bean of the second JSF page, the following code was used in the action listener used to transfer the data:
    HttpSession session = (HttpSession) context.getExternalContext().getSession(true);
    String className=(String) session.getAttribute("className");
    It works great! Thanks!

  • How to add a privacy page and exclude it from the main menu, but include in links at the base

    adding a privacy statement page and excluding it from the main menu, but including in links at the base of site

    Right click on the page in Plan view and choose to exclude from menus. This will take it off your main nav.
    For your bottom nav, change the menu to manual and add the privacy page manually.

  • Need help in passing parameter from base page to popup page

    Dear ALL,
    I have a requirement as below.
    I have a page having one LOV, I need to select one value from that LOV and select one button from the page then it should open a popup page with the required data in tabular format for the field i selecetd.
    so i created a lov in my page and able to invoke the popup page through java script but how i can execute the query in popup page by taking the parameter whta i selected from base page.
    Please help me out.

    Mukul's Oracle Technology Blog: JavaScript In OA Framework
    --Sushant

  • After upgrading to IOS 5 on my iPad only some books in iBooks show content. They were fine before the upgrade. I made a new version in Pages and reinstalled them on the iPad. Still nothing. What is the fix?

    After upgrading to IOS 5 on my iPad only some books in iBooks show content. They were fine before the upgrade. I made a new version of the book in Pages and reinstalled them on the iPad. Still nothing. What is the fix?

    I just got the iBooks update and that fixed the problem, except the book covers look like they were done in a government printing office.

  • I created a 5x7 postcard document in Word with text boxes and graphics.  When I converted it to PDF, some of the items were missing, even though they were in the boundaries of the page and looked fine on the Word document.  What happened, and how do I fix

    I created a 5x7 postcard document in Word with text boxes and graphics.  When I converted it to PDF, some of the items were missing, even though they were in the boundaries of the page and looked fine on the Word document.  What happened, and how do I fix it?  I'm trying to upload the PDF version to Vistaprint.  Thanks.

    Reader doesn’t create pdf files. You can use Acrobat (ask in that forum) to create pdfs. You can subscribe to the Adobe PDF Pack which has a create pdf functionality (please ask in that forum), or you can use a third party utility such as ghostscript, cutepdf, or Microsoft’s own PDF creation capability. For third party pdf creation you will need to ask in a forum dedicated to that software as fellow users of Reader are unlikely to have the knowledge to help.

  • Wenn I've made changes on my private home-page and want to see the result, how do I get my Mac to load the new side instead of the "old" one?

    When I've worked on my private home-page and want to controll the results, how do I get my Mac to take the new version instead of the old one? I tried cmd R without any change! Who knows? Nina

    Try clearing the cache - command-option-e in Safari.

  • Stop the viewer having the ability to click/touch anywhere on the page and it going to the next page

    I have created a PDF with links to various pages so that it can be used on a touch screen. I need to be able to stop the viewer having the ability to click/touch anywhere on the page and it going to the next page. In Keynote you select a check box that says : "Hyperlinks only" is their something similar in PDF?

    You can upload it to a file-sharing website (Acrobat.com, DropBox, etc.)
    and post the link here, or you can send it to me privately at
    [email protected] .

  • Firefox won't load pages and says "Stopped" in the lower left corner of the screen.

    From last night "Latest FF and XP Pro. 2.4 Ghz Celeron, 1 gig RAM. FF will work for a while, then it will stop loading pages and say "Stopped" in the lower left corner of screen. Sometimes I can refresh and the page will load, but 95 out of 100 times I can keep refreshing and it will say "Stopped". Or, the page will partially load and then quit and say "Stopped". I have disabled IPv6 and DNS Prefetching and it is still doing it. IE is doing about the same thing. VERY frustrated. My last PC started doing this and I finally upgraded to a newer one and it was fine for a couple months, but started doing the same recently. Arghhh ... Thanks!"
    Thanks to you who replied last night/this morning. I hit the "solved" button apparently but this from last night-
    https://support.mozilla.com/en-US/forum/1/702910#threadId703008
    is not solved. I tried FF 3.5.9 and still have the same problem.
    Thanks again,
    Dave
    == This happened ==
    Every time Firefox opened
    == a while back

    You, me and many others (based on threads throughout the net) have this same problem. I've had some peeps at Mozilla take a look, they couldn't find a problem or a solution.
    Here's what I found does work - The problem popped up on me when I upgraded to Firefox 3.63. Uninstall FF 3.63, and install 3.59. You can still download it until end of June or July I think.
    My problems went away with 3.59. Seems to only affect Window users as Mac Firefox 3.63 works fine.
    Also found some threads pointing to ZoneAlarm Firewall, timeout handlers and some upload tools. I don't have ZoneAlarm so I don't think that was the cause, just another victim.
    I wish Mozilla would pull the plug on 3.63, re-package 3.59 as 3.64 and go back to the drawing board until they find out whats wrong.

  • I brought Pages, and it showed in the purchase history. But in my new Mac pro, It needs me to buy again. I register already, it didn't show "downloadable". How can I do?

    I brought Pages, and it showed in the purchase history. But in my new Mac pro, It needs me to buy again. I register already, it didn't show "downloadable". How can I do?

    Sorry, I bought the Pages App in March. Now I can't download.

  • Go to detail page and update record at the same time

    Hi guys,
    I`m very new to dreamweaver and have no coding skills, so
    please be gentle.
    I`m have created a mail box and it all works fine, the
    problem i`m having is that I want to be able to tag wether a
    message has been read or not.
    So the subject has to be a link so when someone clicks the
    subject you are redirected to the read message page and it displays
    the message in full.
    My question is there a way to go to detail page and update
    record at the same time?
    I`m using ASP and the mysql read or not field is a SET

    "mrmidjam" <[email protected]> wrote in
    message
    news:fghrpf$7s2$[email protected]..
    > Hi guys,
    >
    > I`m very new to dreamweaver and have no coding skills,
    so please be
    > gentle.
    >
    > I`m have created a mail box and it all works fine, the
    problem i`m having
    > is
    > that I want to be able to tag wether a message has been
    read or not.
    >
    > So the subject has to be a link so when someone clicks
    the subject you are
    > redirected to the read message page and it displays the
    message in full.
    >
    > My question is there a way to go to detail page and
    update record at the
    > same
    > time?
    You can use the Update Record ZerverBehavrior and then have
    it redirect to
    the detailpage.
    Joris

  • About report groups and read programs for the object EC_PCA_SUM

    Hi Friends,
    Hope every one is doing well..!
    I've an issue with the report groups and read programs for the object EC_PCA_SUM. As we know that the report groups and read programs available for this object in the application customizing are used to analys the archived data.
    That is these programs comes into picture after the archiving operation.
    For more information, you can visit the below web site:
    [http://help.sap.com/erp2005_ehp_03/helpdata/EN/e4/69f353b75a11d1b5850000e82debc6/frameset.htm]
    Now, my question is how would I check the code for these analysing programs available for this object. I can't see this in SE38.
    Thanks to reply for this..
    Full marks will be awarded.
    Regards,
    Shamim

    Hi Lakshman,
    Thanks for the reply.
    Hi Deiter,
    You're right.
    Your provided transaction "GR55" helped me to find out the program name for a particular group. However, these are just Write and Painter reports.
    But can you please let me know the functionality of these report groups ?? what are these used for ???
    Do we have these programs for other archiving objects like CO_ITEM,CO_ML_BEL,MM_MATBEL,CO_ORDER,
    PP_PLAN,PP_BKFLUSH ??
    More points will be awarded.
    Thanks a lot.
    Regards,
    Shamim
    Edited by: S H A M I M on Sep 19, 2008 3:19 PM

  • I can't get on secured websites like my bank or email. The login stays on a flash page and never goes to the content.

    When I try to log into my bank account, the login takes as usual, then the splash page comes up that says 'verifying your identity' and never goes away and I never get to my bank account. Other browsers, like IE and Chrome log in fine. I have an e-mail login that does the same thing at https://register.concentric.com/login.cgi
    It just has the circle going around on a "Logging In" splash page and never goes to the mail.
    Again, other browsers work fine.
    == URL of affected sites ==
    http://online.wellsfargo.com

    See if you can boot into the Safe Mode.
    Safe Mode - About
    Safe Mode

Maybe you are looking for

  • Illustrator CC 2014 18.1.0.430 crashes on startup (windows)

    I recently bought adobe CC2014 18.0 for my windows 7 64bit SP1. after a week or so i have got an update to 18.1.0.430 (I think he installed it automatically) and i am not quiet sure but i think after that Illustrator is crashing every time i am start

  • Files saved as JPG converting to Gray

    Strangest thing. A user is opening an RGB color image from Bridge CS4 into Photoshop CS4, then doing a simple Save As... to JPG format. In Bridge, the new file will show briefly in color, then convert to Grayscale. And when the new file is opened, it

  • More RAM needed?

    Hi there, I have an iMac (May 2009) with 2.66 GHz Intel Core Duo, 2 GB 1067 MHz, DD3. latterly the nefarious spinning wheel is appearing more and more often and I get Pageouts and swaps shortly after rebooting. At the moment swap 1.6Gb/2Gb Page outs

  • [SOLVED] Connect to an AP by MAC address & Change NM behavior

    Hello guys, Here is my situation: I'm currently connected to the Internet through public hotspots. The problem is that sometimes I can get a connection at the first try and sometimes I have to try for half an hour. Eventually I found out that it's be

  • Oracle 11g initialization parameters

    Hi, I have heard that our old friends, the init parameters BACKGROUND_DUMP_DEST, CORE_DUMP_DEST & USER_DUMP_DEST have been deprecated in Oracle 11g. Can anybody explain to me why? and are there any new parameters in their place? if so what are those?