Passing parameters in jsp

Hi friends,
I am very new to oracle pdk. But unfortunately i was assigned to a small pdk development using jsp.
How can i send parameters in the Oracle jpdk multipage sample portlet .
The first.jsp says ,
<%
PortletRenderRequest prr = (PortletRenderRequest) request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
NameValuePair[] linkParams = new NameValuePair[1];
linkParams[0] = new NameValuePair(HttpPortletRendererUtil.portletParameter(request, "next_page"), "/htdocs/multipage/second.jsp");
%>
<center>
Hello, this is the first page<p>
<%=UrlUtils.constructHTMLLink(prr, UrlUtils.PAGE_LINK, "second page", "", linkParams, true, true)%>
</center>
Now where should i add the parameter which i have to send to the second page named second.jsp.
In the same way how to receive the parameter values in the second.jsp file, the second.jsp is listed here as below.
<%
PortletRenderRequest prr = (PortletRenderRequest) request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
NameValuePair[] linkParams = new NameValuePair[1];
linkParams[0] = new NameValuePair(HttpPortletRendererUtil.portletParameter(request, "next_page"), "/htdocs/multipage/first.jsp");
linkParams[1] ="a=hello";
%>
<center>
Hello, this is the second page<p>
<%=UrlUtils.constructHTMLLink(prr, UrlUtils.PAGE_LINK,
"first page", "", linkParams, true, true)%>
</center>
Please write to me an example in detail.
Matter is very urgent.

I just recently put a set of helper classes on my knowledge exchange site specifically to help with passing parameters via the url.
http://portalstudio.oracle.com/servlet/page?_pageid=2106&_dad=ops&_schema=OPSTUDIO&_type=site&_fsiteid=233&_fid=433232&_fnavbarid=180376&_fnavbarsiteid=233&_fedit=0&_fmode=2&_fdisplaymode=1&_fcalledfrom=1&_fdisplayurl=
I called it Portal Tools. It includes usage documentation.
but, to stick with the code example you provided,
Technically, you can pass parameters at least three different ways:
-Using portal's parameter-event processing (portlets interact with portal for parameters)
-Using qualified parameter names (portlets only see "their" parameters)
-Using unqualified parameter names (portlets are responsible for unique names, name collisions, etc)
I would generally shy away from the unqualified parameter method; it was put in to support older versions of portal.
The example you provided currently uses qualified parameters, so I will answer with that method.
To add a parameter "a" with a value of "hello",
change the setup of the link parameters in first.jsp to this:
NameValuePair[] linkParams = new NameValuePair[2];
linkParams[0] = new NameValuePair(HttpPortletRendererUtil.portletParameter(request, "next_page"), "/htdocs/multipage/second.jsp");
linkParams[1] = new NameValuePair(HttpPortletRendererUtil.portletParameter(request, "a"), "hello");
note that in the definition line, you must allocate space for EXACTLY how many parameters you are using (2 now, rather than 1). Then in the assignment lines, it is using java standard ZERO based indexing, so the new second parameter is at index 1.
to get (and display) the parameter in the second.jsp page, you would include something such as this:
Parameter "A" contains a value of <%= prr.getParameter("a") %>.
note how you just ask the PRR for the parameter with the unqualified name.
The "next_page" parameter is defined (in the provider.xml) to be used by portal to manage page flow and display. That is why you only have to set the "next_page" parameter.
I hope this helps.
Craig

Similar Messages

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

  • Passing Parameters from JSP with Drill Down Graphs

    Hello,
    I have 2 JSP's where when user clicks on the bar graph it drill down and goes to next JSP, it is hyperlink. How can I pass parameters using HttpPortletRendererUtil.portletParameter
    My JSP code is something like this which is pasted below.
    StandardCategoryURLGenerator("xy_chart.jsp","series","section")) is the function, I need to use for drill down.
    Kindly help me with this and any help is highly appreciable.
    Thanks
    ************ JSP**************
    CategoryAxis categoryAxis = new CategoryAxis("Site");
    ValueAxis valueAxis = new NumberAxis("Value");
    StackedBarRenderer3D rend = new StackedBarRenderer3D();
    StandardCategoryToolTipGenerator tt = new StandardCategoryToolTipGenerator();
    rend.setItemURLGenerator(new StandardCategoryURLGenerator("xy_chart.jsp","series","section"));

    Trenton,
    One way to pass parameters to other portlets on the page while using a form is to create a hidden form field and assign it the value that you need to pass to it. If the hidden field has an unqualified name (i.e. not created by using the portletParameter method) then it will be seen by all portlets on the page.
    Since all the form fields are passed on to the query string as part of the URL, you can then use request.getParameter(paramName) to take different actions in your portlets.
    You could use different techniques where based on the values you pass on to parameters of the portlets, some portlets make specific updates to themselves. Though the whole page would be refreshed, you could allow portlets to decide based on the incoming parameter value whether they need to change or not.
    So given the functionality you desire - here's something you might try.
    1) Create hidden form field that gets populated when you select values from the drop-down lookup.
    One way to do this would be to add a onChange ="populateMyHiddenParam(this.form)" to your form item that changes.
    And you could add a small JavaScript function that populates the parameter.
    e.g.
    function populateMyHiddenParam(thisForm){
    thisForm.myHiddenParam.value=thisForm.elements[4].value;
    2)In the other JSP portlet (on the same page) where you need to populate a table based on the value selected, just get the parameter value passed by using request.getParameter("myHiddenParam").
    Since you want this parameter to be read by other portlets, you need to create it as an unqualified parameter. So dont call the HTTPPortletRendererUtil.portletParameter while assigning the name to the form component for the hidden field.
    Hope this helps.

  • Passing parameters from JSP to JSP

    How can I pass parameters from one JSP to another JSP?
    JSP1 calls JSP2. I need to pass some values in JSP 1 to use in JSP 2.
    Please help.
    Thanks.

    use jsp:forward and param tags

  • Issue with passing parameters from JSP to Backing bean

    hi ,
    I have an issue in passing parameters from my JSP to backing bean. I want to fetch the parameter from my URL in backing bean .This is how i am coding it right now. But the parameter companyID returns me null.
    URL http://localhost:8080/admin/compadmin.jsp?companyID=B1234.
    In my backing bean
    FacesContext context = FacesContext.getCurrentInstance();
    String companyID = (String)context.getExternalContext().getRequestParameterMap().get("CompanyID");
         public void setCompanyID(String companyID)
              this.companyID=companyID;
         public String getCompanyID()
              return this.companyID;
    faces-config.xml :
       <managed-bean-name>admincontroller</managed-bean-name>
              <managed-bean-class>com.admin.controller.AdminController</managed-bean-class>
              <managed-bean-scope>request</managed-bean-scope>
              <managed-property>
                   <property-name>companyadminbean</property-name>
                   <property-class>com.admin.model.AdminBean</property-class>
                   <value>#{companyadminbean}</value>
                         </managed-property>
                        <managed-property>
                                 <property-name>companyID</property-name>
                              <value>#{param.companyID}</value>
                             </managed-property>Please let me know if iam missing something.Appreciate your help in advance
    Thanks

    Thanks very much for your input. I made changes to my bean accordingly. Actually the method getAdminType() is a not a getter of a property. It's just a method which iam calling in AdminController bean constructor to verify whether the person is System Admin or Client admin. So now the issue is inspite of making changes still the link "Copy Users" shows up for Client admin too which is incorrect.
    My Administrator bean:
    public class Administrator {
      boolean GSA=false;
      boolean SA=false;
      public Administrator(){}
    public boolean isGSA()
        return GSA;
      public boolean isSA()
        return SA;
      public void setGSA(boolean value)
        this.GSA=value;
      public void setSA(boolean value)
        this.SA=value;
    }My backing bean:
    public class AdminController {
    private AdminBean adminbean = new AdminBean();
    public AdminController(){
    int userID=1234;
    this.getAdminType(userID);           
    public void getAdminType(int userID)
             Administrator admin = new Administrator();
             if (userID<0) return;
             try{
                 if(Rc.isGlobalSystemAdmin(userID)){
                      admin.setGSA(true);
                              }else if(Rc.isClientSystemAdmin(userID)){
                      admin.setSA(true); // i could see these values setup correctly in the admin bean when i print them
                 adminbean.setAdmin(admin);
                  } catch (Exception e){ }
    Admin Bean:
    public class AdminBean {
    private Administrator admin; 
    public Administrator getAdmin()
                        return this.admin;
              public void setAdmin(Administrator admin)
                        this.admin = admin;
    faces-config.xml
    <managed-bean>
              <managed-bean-name>admincontroller</managed-bean-name>
              <managed-bean-class>com.controller.AdminController</managed-bean-class>
              <managed-bean-scope>request</managed-bean-scope>
              <managed-property>
                   <property-name>adminbean</property-name>
                   <property-class>com.model.AdminBean</property-class>
                   <value>#{adminbean}</value>
             </managed-property>
         </managed-bean>
         <managed-bean>
              <managed-bean-name>adminbean</managed-bean-name>
              <managed-bean-class>com.model.AdminBean</managed-bean-class>
              <managed-bean-scope>request</managed-bean-scope>
              <managed-property>
                   <managed-property>
                   <property-name>admin</property-name>
                   <property-class>com.model.Administrator</property-class>
                   <value>#{admin}</value>
                             </managed-property>
         </managed-bean>     My JSP:<h:outputLink id="ol1" value="/companyadmin/copyusers.jsp">
               <h:outputText id="ot1" value="Copy Users" rendered="#{adminbean.admin.isGSA}" /><f:verbatim><br/></f:verbatim>
               </h:outputLink>    so now the issue is thelink copy users is displayed even #{adminbean.admin.isGSA} is FALSE. please advise.
    Thanks
    Edited by: twisai on Oct 15, 2009 7:06 AM

  • Pass parameters from JSP Dyn Page to WDJ Application

    Hi,
    I am trying to pass parameters from my JSPDyn Page to WDJ Application.
    I am using NWDS 7.1 EHP1
    My code is :
    function to_WEBDYNHK()
          EPCM.relaxDocumentDomain();
          EPCM.doNavigate
        ('ROLES://pcd:portal_content/Himanshu.Himanshu/TestDynUIApp?DynamicParameter="hkparam%3Dqwertyuio"');
    This method is being called on click of a button.
    hkparam is the parameter in question.
    The JSPDyn page is an iView and the WDJ application is a page and both have been assigned to a role.
    In the properties of the WDJ Page, I have removed DymanicParameter from "Do not Forward These Parameters To Web Dynpro" property.
    However I am getting null as the value of hkparam in my WDJ application.
    The code used is :
    IWDRequest request = WDProtocolAdapter.getProtocolAdapter().getRequestObject();
           String param1= request.getParameter("hkparam");
    What seems to be missing here.
    Please help.
    I went through the documentation on SDN but it does not seem to help.
    TIA,
    Himanshu

    Hi Himanshu,
    Try this code.
    EPCM.doNavigate("ROLES:portal_content/Himanshu.Himanshu/TestDynUIApp?hkparam=Dmypass1123")
    if the parameter is hkparam and the value to be passed is Dmypass1123. You need not change any design time property of the WD page, and WDProtocolAdapter should retrive the parameter.
    Regards,
    Vishweshwara P.K.M.

  • Passing parameters from JSP to Batch file

    hi,
    i had a small problem regarding passing parameter from JSP to a batch file.
    My program is like this..........
    I wrote a batch file which opens and pings a remote system. Code looks like this......
    ping %1 -t
    which takes one argument and named this as "a.bat"
    The corresponding JSP page has lot of links which contains IP Addressess. From JSP page, i am calling "a.bat" so that it will open and start pinging corresponding IP Address. So i want to know how can i pass the corresponding IP from a JSP to batch file so that it start pinging remote machine........... can any body help me in this regard??
    Thanks in Advance.
    cheers,
    Sudhakar.

    it might be a permissions problem for the process itself. i once fought for some time with a java app that would mysteriously exit (no exceptions or any VM vomit) i finally discovered that the application was killed when the screen saver came on. just a regular screen saver mind you.
    at any rate i did see this issue and other strange ones like it reported here and there, i think i once say a bug report here on it but I can't seem to find it now. i believe this is fixed in 1.4.
    this of course may not be of much help to you.
    the two workarounds i found were 1) to turn off my screen-saver, 2) set up the program as an NT service. for the NT service i used this stuff http://www.kcmultimedia.com/
    so my suggestion for weird process permission problems on NT would be to try and make it into a service.

  • Passing parameters between JSP and Servlet

    The scenario is as follows:
    There is a JSP page that sends a string as a hidden parameter to a servlet:
    <input type="hidden" name=<%= Book.NAME %> value=<%= book.getName() %> >
    In the servlet there is a print statement that checks the parameter value:
    System.out.println("Book name: "+request.getParameter(Book.NAME));
    The problem is as follows: if the name of the book consists of more than one word
    such as "Servlets and JSP", the print statement will print only Servlet.
    If the JSP page passes a string directly as shown here:
    <input type="hidden" name="Test" value="Test String" >
    The servlet will print the complete string: Test String
    The same problem appears if the string is passed between two JSP pages.
    Any help is greatly appreciated.
    Regards,
    Basil Mahdi

    You might want to try
    <input type="hidden" name="<%= Book.NAME %>" value="<%=URLEncode.encode(book.getName(), "UTF-8")%>" >This will take care of any wierd un-url friendly charcters that might appear in the book titles such as the ' or " which may be the problem.

  • Pass Parameters from JSP to PL/SQL

    I have a JSP portlet which consists of a few pages.
    Meaning, I move from one page to the next by using the "next_page" param from the JPDK.
    In one of my JSP pages, in its <form> tag, I have the action set to call a PL/SQL procedure
    (in the form of "pls/portal30.portal30.myPackage.myProcedure").
    The procedure is called, and everything works just fine.
    However, now I want to recieve some of the parameters I set in the URL in my PL/SQL.
    Meaning, just like I can do in the JSP "myRequest.getAttribute('itemID')", I want to do the same in PL/SQL.
    The way I'm doing it right now is not too great: in my JSP form I have a hidden field which, using javascript ("location.href") contains the current URL.
    Then, when the JSP is submitted, I start parsing the URL for the parameters I need.
    There MUST be a better way!
    Oh, and also, a very similar question -- what I've asked above speaks about passing the params through a "get" request to the PL/SQL. Can I also pass params in a "post?" Meaning, get session variables that were set in JSP context, into a PL/SQL procedure?
    Thanks,
    Dan

    Dan,
    mod_plsql enables you to pass any number of parameters to a PL/SQL procedure. The procedure should 'expect' the parameters (by having the right signature). You can use both GET and POST methods to pass the parameters.
    I'd pass the plain portal page URL (pr.getRenderContext().getPageURL() or something like this) in a hidden field, just like you do (but wouldn't use the JavaScript). All the additional parameters (you have at the end of the page URL as a result of the JavaScript) can be passed through hidden (or not hidden) fields.
    I'm not sure about the last paragraph of your question... The only way you can pass any information to the PL/SQL procedure is using parameters. So the JSP should read the session store and put the values into hidden fields of your form.
    Hope this helps a bit,
    Peter

  • Passing parameters from jsp to xslt

    Hi all,
    I am trying to pass a variable string from a jsp to xslt .
    This is the code in the jsp which passes the variables .
    <c:set var="xsl">
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:import href="<%= "service_attribute.xsl" %>"/>
    <xsl:variable name="ItemId"><%= ItemId %></xsl:variable>
    <xsl:variable name="pos"><%= pos %></xsl:variable>
    <xsl:variable name="lineInfoTn"><%= lineInfoTn %></xsl:variable>
    </xsl:stylesheet>
    </c:set>
    <x:transform xmlSystemId="foo.xml" xslt="${xsl}">
    <%= FM.getOrderBean().getXml("ActivationRequest") %>
    </x:transform>
    In the service_attribute.xsl I would like to be able to check the lineInfoTn variable for content .
    something like this .
    <xsl:if test="$lineInfoTn='10pt'">
    <!-- Do something -->
    <xsl:value-of select="$lineInfoTn"/>
    </xsl:if>
    The first problem is that it complains that the $lineInfoTn is not declared .
    So I added the variable as a global variable .
    <xsl:param name="lineInfoTn">10pt</xsl:param>
    Note I have been switching between variables and parameters to try and get this working .
    I can use the itemId variable like this and I dont have a problem .
    <xsl:for-each select="q:RequestItem/q:ItemId[text() = $ItemId]/..">
    Any ideas on how to get this working .
    Thanks for your help

    Thanks for the input

  • Passing Parameters to a JSP

    Hello,
    I have the following problem and would highly appreciate any ideas or suggestions...
    I want to create an iView that contains contents of an external JSP. I have tried creating either a URL iView or an AppIntegrator iView that link to http://SomeServer:8080/Rental.jsp
    Now my problem is passing custom parameters to this jsp. For example I would like the user to select what Color car he/she wants to rent from a drop down list. This list will be a custom property created in the portalapp.xml file and I will set this property to be cuztomizable by the user. If the user chooses "Red" then I would like the iView to refresh pointing to http://SomeServer:8080/Rental.jsp?color=red
    I know how to define custom properties of an iView but I dont know how to set the URL of an iView based on the parameter chosen by the user.
    Thanks,
    Roaa

    You can pass parameters between JSP's using Enterprise Portal Client Framework(EPCF). The following link could be useful to you.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/771fa290-0201-0010-3d93-865e66cc6d7e
    Regards,
    Vijai Mohan

  • Html:link submit and passing parameters

    I need to submit the form when the <html:link ..... > is clicked/pressed and also need to pass parameters.
    <jsp:useBean id="mapParams" class="java.util.HashMap"/>
    <c:set target="${mapParams}" property="theKey" value="${theValue}"/>
    <c:set target="${mapParams}" property="theKey1" value="${theValue1}"/>
    <html:link href="javascript:document.myform.submit()" name="mapParams" >
    <c:out value="${custItr.empName}"/>
    </html:link>
    When i click on the link getting javascript error which says "syntax error". when I remove the "name" attribute in <html:link> there is no error but I need to have the name attribute to pass the parameters.
    How to do both the submit and passing of parameters using <html:link>? Your help is appreciated.
    Thanks.

    Parameters can only be passed like that to an actual URL. eg http://localhost:8080/myApp/showEmployee?id=123&dept=Sales
    In this case, you are using the link tag to invoke javascript - not a url. URL Parameters don't apply to this string
    If you are indeed submitting a form, I would suggest that you instead go with putting hidden fields on the form to submit the value.
    Use <html:hidden>

  • Passing parameters from a Java class to Jsp page

    Hi everybody. I'm newbie in using Java class in conjunction with JSP pages. Infact I have a problem. How can I pass the parameters used in a Java class (as UserName, Password, and so on..) to a JSP page? What methods (and classes) I have to use?
    Thank you in advance
    Have a nice day

    It still doesn't work. I write the code
    //my java class
    package channel_service;
    import java.util.Vector;
    * <p>Title: </p>
    * <p>Description: </p>
    * <p>Copyright: Copyright (c) 2002</p>
    * <p>Company: </p>
    * @author unascribed
    * @version 1.0
    public class CallMenu {
    private Vector parameters = new Vector();
    public void setParameters( String UserId ) {
    parameters.add(0, UserId);
    //parameters.add(2, Pin);
    //parameters.add(3, UserName);
    //parameters.add(4, Greeting);
    public Vector getParameters() {
    return parameters;
    //my jsp page
    <%@ page import="Channel_Service.src.channel_service.CallMenu" %>
    <%@ page import="java.util.Vector" %>
    <html>
    <head><title>User Menu Page</title></head>
    <body>
    <center><h1><i><b>This is your personal User Menu page</b></i></h1></center>
    <br>
    <br>
    <center><h2><i>In the list below you'll find all your personal information (as UserID, Password and so on...)
    and all the function you have the rights to use</i></h2></center>
    <br>
    <br>
    <table align=center>
    <tr>
    <%
    CallMenu cl = new CallMenu();
    cl.setParameters();
    Vector params = cl.getParameters();
    String UserId = (String)params.elementAt(0);
    String Pin = (String)params.elementAt(1);
    String UserName = (String)params.elementAt(2);
    String Greeting = (String)params.elementAt(3);
    %>
    <td><h2><b><i>User ID = <%= UserId %></td></tr>
    <tr><td><h2><b><i>PIN = <%= Pin %></td></tr>
    <tr><td><h2><b><i>User Name = <%= UserName %></td></tr>
    <tr><td><h2><b><i>The system says <%= Greeting %></td></tr>
    </table>
    </body>

  • Issue with passing parameters through Java-JSP in a report with cross tab

    Can anyone tell me, if there's a bug in Java SDK in passing the parameters to a report (rpt file) that has a cross tab in it ?
    I hava report that works perfectly fine
       with ODBC through IDE and also through browser (JSP page)
    (ii)    with JDBC in CR 2011 IDE
    the rpt file has a cross tab and accpts two parameters.
    When I run the JDBC report through JSP the parameters are never considered. The same report works fine when I remove the cross tab and make it a simple report.
    I have posted this to CR SDK forum and have not received any reply. This have become a blocker and because of this our delivery has been postponed. We are left with two choices,
       Re-Write the rpt files not to have cross-tabs - This would take significant effort
    OR
    (ii)  Abandon the crystal solution and try out any other java based solutions available.
    I have given the code here in this forum posting..
    CR 2011 - JDBC Report Issue in passing parameters
    TIA
    DRG
    TIA
    DRG

    Mr.James,
    Thank you for the reply.
    As I stated earlier, we have been using the latest service pack (12) when I generated the log file that is uploaded earlier.
    To confirm this further, I downloaded the complete eclipse bundle from sdn site and reran the rpt files. No change in the behaviour and the bug is reproducible.
    You are right about the parameters, we are using  {?@Direction} is: n(1.0)
    {?@BDate} is: dt(d(1973-01-01),t(00:00:00.453000000)) as parameters in JSP and we get 146 records when we directly execute the stored procedure. The date and the direction parameter values stored in design time are different. '1965-01-01' and Direction 1.
    When we run the JSP page, The parameter that is passed through the JSP page, is displayed correctly on the right top of the report view. But the data that is displayed in cross tab is not corresponding to the date and direction parameter. It corresponds to 1965-01-01 and direction 1 which are saved at design time.
    You can test this by modifying the parameter values in the JSP page that I sent earlier. You will see the displayed data will remain same irrespective of the parameter.
    Further to note, Before each trial run, I modify the parameters in JSP page, build them and redeploy so that caching does not affect the end result.
    This behaviour, we observe on all the reports that have cross-tabs. These reports work perfectly fine when rendered through ODBC-ActiveX viewer and the bug is observable only when ran through Java runtime library. We get this bug on view, export and print functionalities as well.
    Additionally we tested the same in
        With CR version 2008 instead of CR 2011.
    (ii)   Different browsers ranging from IE 7 through 9 and FF 7.
    The complete environment and various softwares that we used for this testing are,
    OS      : XP Latest updates as on Oct 2011.
    App Server: GlassFish Version 3 with Java version 1.6 and build 21
    Database server ; SQL Server 2005. SP 3 - Dev Ed.
    JTds JDBC type 4 driver version - 1.2.5  from source forge.
    Eclipse : Helios along with crystal libraries directly downloaded from SDN site.
    I am uploading the log file that is generated when rendering the rpt for view in IE 8
    Regards
    DRG

  • Composing a view with JSPs passing parameters (JSF 1.2)

    hi,
    I want to include a JSP in another twice. The two includes should work on different backing bean instances. (Of cource the include contains JSF components)
    Business case: An insurance policy has one reference to a person in the role insured person and another in the role policy owner. I would like to use the same JSP to present the two persons.
    Here is the question
    - Is it possible to pass parameters to an included JSP?
    - I tried it out (see code below) and it did not work using the reference implementaion 1_02-b08. Is there a mistake in the code or is this not supported? I checked the spec, but chapter 9.2.9 does not provide any information about the topic.
    - If this is not supported, how is this solved using standard jsp/jsf?
    (I know I can use facelets, but I expect a a solution in the standard)
    Kind regards
    Jan
    view.jsp:
    <f:view>
        <!-- the 'policy' is a managed bean with session scope  -->
        <jsp:include page="person.jsp>
            <jsp:param name="person" value="#{policy.insuredPerson}" />
        </jsp:include>
        <jsp:include page="person.jsp>
            <jsp:param name="person" value="#{policy.policyOwner}" />
        </jsp:include>
    </f:view>
    person.jsp (example displays the person's name)
    <h:outputText value="#{param.person.name}"></h:outputText>

    This is definitely supported in Apache Trinidad or Oracles ADF look at documentaion associated with Regions. I implemented this, in insurance policy, where we have each risk as a separate region that can be selectively included on a page.
    I know of no way of doing this in reference implemenation

Maybe you are looking for

  • Line Item in SapScripts

    Hello Experts, I'm trying to printing customer invoice line item in a form. But it is only printing 1st line of the line item. I'm trying to print all documents of the table BSEG. Please advice if I need any coding in SAP scripts. If I need any ABAP

  • INSERT into Oracle table as SELECT from MS Access table

    I'm trying to pull some data across from an MS Access database. I really need to pick and choose what is coming across, so migration isn't what I need. I can connect to the Access DB from SQL Developer, export data and so forth. However, I can't seem

  • Connecting a Mac Pro to an LCD HDTV

    It seems that LCD monitors don't come as big as LCD TV's, and I want to use my Mac Pro to watch movies and gaming. A Samsung 35T (30") costs around 1200$ where a 46" lcd HDTV costs about the same price. There is a card you can buy for the Mac Pro whi

  • Crackling Video???

    I'm need to burn around 20 DVD's for some people by Sunday-- but I'm having a big problem. The movie, which is in high-definition (I don't know if that makes a difference) fits on the DVD, but in random parts, the video breaks up into colored/pattern

  • Memory Manager counters, Please share your coments on below counters?

    Hi Folks,  I configured below counters, Could you please coment on below counters, I felt that   unused memory is 26 GB, There is any abnormal. Memory Manager\Free Memory :2  GB Memory Manager\Maximum Workspace Memory  :  38 Gb Memory Manager\Granted