Parameter confusion in portlets

Hi
I was developed two Java portlets in JDeveloper 9.0.2, using JSP and BC4J.
Both portlets displays data in a browse form (Next, Prevous link).
These two portlets are displayed in the same portal page (Portal 9.0.2).
Scenario:
When I click the Next link, built by the DataScroller component, on the first portlet, the next record set isn't displayed in the first portlet (perhaps here is another problem), after the page was reloaded, but in the second portlet raises an error, which tells, that the view object doesn't exists (this view object is referenced only in first portlet).
I think the second portlet receives the first portlet parameters (jboEvent, jboEventVo).
how can avoid this??
thanks.

REDOLOG wrote:
Hi, thanks
exactly, that what get me confused, here is the link in the official documentation: http://docs.oracle.com/cd/B19306_01/server.102/b14239/create_ps.htm#i68626  please look at the
Example 3-4 Primary Database: Standby Role Initialization Parameters paragraph, and here is another link witch says a different  thing, please search for string:
alter system set db_file_name_convert='/oracle/oradata/standby','/oracle/oradata/primary' scope=spfile sid='*';
What are you confused about.
That doc shows you a COMPLETE example of the parameters, and their order, for both the primary and standby databases. See Example 3-5 for the standby settings.
You should do yours the same way and in the same order.

Similar Messages

  • Unable to pass the parameter to other portlet

    Hi,
    I am trying to pass the parameter from one portlet to other portlet using the convention below...
    Example say you have two reports on a page dept and employee. You want to refresh employee report by clicking on
    the dept in the department report in the same page.
    (1) Create the first report based on the query
    SELECT htf.anchor('http://domain/servlet/page?&_pageid=97&_dad=portal_dad&_schema=portal_schema&_mode=3&dept_code='||DEPTNO,DEPTNO) Department,
    dname FROM scott.dept;
    (2) Create a 2nd report
    select * from EMP where DEPTNO = :dept_code
    (3) In the the additional pl/sql code section before display page on the 2nd report do this
    portal30.wwv_name_value.replace_value(
    l_arg_names, l_arg_values,
    p_reference_path||'.dept_code',portal30.wwv_standard_util.string_to_table2(nvl(get_value('dept_code'),10)));
    (4) Created a page and added these reports as portlets.
    In point (4) I am not getting the value of selected deptno in 'dept_code'. It is always taking the default value as '10'...
    I like to have the quick solution for this so that I can show the demo to my client...
    Thanks in Advance
    Sudheer

    Hi Ali,
    We can add parameterized queries to any TableAdapter (and controls to accept parameter values and execute the query) using the
    Search Criteria Builder Dialog Box. 
    For detail information, please refer to the following article to create a Windows Form to Search Data:
    http://technet.microsoft.com/en-us/library/hbsty6z7.aspx
    In addition, this issue is more related to Windows Form. I would suggest open a new thread in Windows Form forum if you have any more qestions:
    http://social.msdn.microsoft.com/Forums/windows/en-US/home?forum=winforms
    Regards, 
    Elvis Long
    TechNet Community Support

  • How do I pass a parameter to a portlet on the URL?

    I have a portlet on one tab that searches for parts. (This portlet is written and maintained by someone else.) When a user clicks on a part number in the result set on this portlet they need to be taken to another tab (different portlet on the same page) with that part number as a parameter. The second portlet then dynamically writes an
    <iframe src="http://someurl?partnumber=xyz" />
    to call an external application passing the part number as a URL parameter to the external application.
    Writing the <iframe /> dynamically is no problem. The problem is passing the part number from one portlet to another. We planned to do this by using hrefs in the part search portal using URLs like
    http://hostname:port/pls/portal/url/page/test1/portlet2?partnumber=xyz
    for each part number. The problem is that the URL parameter doesn't get passed to the second portlet. Here is the code in the second portlet:
    <%
    PortletRenderRequest portletRenderRequest =
    (PortletRenderRequest)request.getAttribute("oracle.portal.PortletRenderRequest");
    String partnumber = portletRenderRequest.getQualifiedParameter("partnumber");
    %>
    It always sees null for the partnumber parameter.
    I also have <passAllUrlParams>true</passAllUrlParams> in provider.xml.
    I've tried checking this by calling the URL of the second portlet directly from a browser. The portlet sees the partnumber parameter as null, but the URL window in the browser returns the modified URL from the portal with the partnumber parameter set properly. Portal is seeing the parameter but not passing it to the portlet.
    I haven't tried actually setting the in the first portlet and seeing if it all works when called from inside the portal, but I don't see why it shouldn't work by calling the second portlet URL directly with a parameter.
    Am I missing some step in order to pass a parameter from one portlet to another? The parameters I have to pass are dynamic, based on the result set returned by a search in the first portlet.

    My second to last paragraph should have been:
    "I haven't tried actually setting the hrefs in the first portlet and seeing if it all works when called from inside the portal, but I don't see why it shouldn't work by calling the second portlet URL directly with a parameter."

  • How do I pass parameter to different portlet regions from another page?

    How do I pass parameter to different portlet regions from
    another page?
    I have a page that with two regions. Each region has a report
    that uses the same information to generate its report.
    Individually running the reports, I can use p_arg_names and
    p_arg_values to get what I want. However, when I run the page
    that has both portlets, my .show is gone and I cannot get it to
    use the p_arg_names, etc. Do you have any idea how to overcome
    this? Thanks for any help.

    How do I pass parameter to different portlet regions from
    another page?
    I have a page that with two regions. Each region has a report
    that uses the same information to generate its report.
    Individually running the reports, I can use p_arg_names and
    p_arg_values to get what I want. However, when I run the page
    that has both portlets, my .show is gone and I cannot get it to
    use the p_arg_names, etc. Do you have any idea how to overcome
    this? Thanks for any help.

  • A sample question about parameter passing between portlets

    How can I pass parameter between portlets in one page using pdk API. Please give a demo. Thx

    In one portlet I send parameter using form: actionn="<%= UrlUtils.htmlFormActionLink(prr, UrlUtils.PAGE_LINK) %>"
    <input type="text" size="20" name="textname" value="">...
    Then I want to receive the parameter in another portlet. My code is:PortletRenderRequest prr = (PortletRenderRequest)
    request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    out.println( prr.getParameter("textname") );
    But why I can't receive the parameter successfully.
    Thanks for any help!!!

  • How to pass page parameter to report portlet ?

    Portal: 9.0.4
    RDBMS: 9.0.1.5.0
    OS: Windows
    REF: How to pass page parameter to report portlet ?
    Hi,
    I create a Oracle Report as a Portlet in Portal (create Report Definition File Access and check on the option "Publish As Portlet" in the on the last step). My report has an "Additional User Parameter" and I has let it "Visible to user".
    When I put this portlet in my Portal page, I can see this parameter in the property/parameters of this page. However I cannot transfer my page parameter to this portlet parameter. Other portlets in this page (non-Oracle-Report portlets) are working fine with my page parameter.
    Please advice.

    I want to make sure we are talking about the same thing:
    After you add the portlet to the page, you go to the page properties, then the parameters tab, then there is a section at the bottom called "Portlet Parameter Values" where you can click and expand your portlet to see your portlet parameters.
    Is it here where your parameters just don't show up?
    If it is, try the following:
    - Add the portlet to another page and see if it still behaves the same.
    - Mark the parameters in the portlet as being non-public, re-generate portlet (on manage tab), then mark them as being public, re-generate and then try the above again (add to another page).

  • Passing session parameter to a portlet from webcenter spaces page

    How do you pass a parameter to a portlet on a WebCenter Spaces page? For example, I have the user's company ID in the session, I need to pass that company ID to the portlet defined to accept a company ID parameter so that the returned data can be filtered.

    You can for example add the companyID to the url of the page and then pass that parameter to the parameter of your portlet.
    Have you created your portlet to enable inter portlet communication? You should first do that and create a navigation-parameter in the oracle.xml. If you don't know what i'm talking about, i'll explain a bit more.
    Their is another way, which is easier i think, is to set the value of your portlet parameter to an expression language refering to a session variabel.
    In you portlet parameter set the companyId (if you have created a navigation-parameter companyID) to following value:
    #{sessionScope.company}You will have to set the value of that session variable from within your webcenter spaces.
    How are you doing that? Are you planning on setting that variable using another portlet, taskflow,... This can be very important on how webcenter reactt on parameters and it can also give you additional ways on passing the parameters.

  • Parameter Pass Between Portlets

    Hi,
    I'm trying to get a parameter pass between two portlets on the same page, I've looked at the PDK samples but have not been able to get either working, I'm on 9iAS R2 (9.0.2.0.1.). I've installed the PDK and loaded up the various samples. Any information or guidance appreciated. In a nut shell I'd ideally like to pass a parameter from a report (java or pl/sql) in one portlet to a portlet next to it on the same page which can then run a second report (java or pl/sql).
    Regards
    Stephen

    Hi Peter,
    We have an omniportlet that displays a graph, we want the user to be able to pick a value from this graph and pass it as a parameter to another page containing another omniportlet which would select values based on the parameter value.
    We have 9ias version 9.0.2.6.2. Your help will be greatly appreciated.
    thanks,
    Saranya

  • Passing parameter between two portlets which are in two diffrent pages

    hi,
    This is query regaring passing the parameters from one java portlets to another. Or Receiving parameter from Portlets.
    The Secanrio is like :
    I have two portlets shown in the two different pages. Now while running the application i want to send the all the data is entered by user in the next page.
    1. How to pass the value of all the parameter in the second portlet ?
    2. how to name the url of the second page in action of first page

    We need to use portlet events for sending parameters across different pages.
    Following documents can give you insight on this :
    1. http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/PRIMER.PORTLET.PARAMETERS.EVENTS.HTML
    2. http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/DESIGNING.PAGES.USING.PDKJAVA.SAMPLE.EVENT.WEB.PROVIDER.HTML
    -AMJAD.

  • Pass page parameter to discoverer portlet

    Hi All,
    iAS Version 10g(9.0.4)
    I created worksheet(graph) using Discoverer plus having 4 parameters. I published the
    discoverer graphs as discoverer portlet in Oracle portal. However for this worksheet it shows
    (No parameters) in Page --> Properties --> parameter. I created simple parameter portlet with
    4 items, this entry I need to pass to this discoverer portlet/Worksheet.
    Any suggestion would help.
    Thanks

    Hi,
    Thank for your reply.
    We are using discoverer plus for relational data (Oracle 10g (Ias 9.0.4)).
    Appreciate your feedback.
    Raj
    Hi, are you using discoverer plus for relational/OLAP
    data?

  • Accessing the Query String parameter from a portlet

    Hi!
    I have developed a PDK portlet in Jdev 10.1.3.3 for Web Center (Just for testing, later it'll go on Oracle Portal 10.1.4). I am trying to access the query string parameter coming in the URL but not successfull at all. Following are the options that I have tried in vain :
    In MyPDkPortletShowPage.jsp with *<passAllUrlParams>true</passAllUrlParams>*
    1.) PortletRenderRequest pReq = (PortletRenderRequest) request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    pReq.getParameter("data");
    2.) request.getParameter("data");
    3.) request.getAttribute("data")
    This makes me ask that is there any other way to access the parameter or is it simply not possible?
    Please suggest!
    Regards,
    Neeraj.

    Hi Neeraj:
    I didn't deal with web center before i am working on Oracle Portal 10.1.4 so if you done that on oracle portal and got the same problem check for this?
    - add the parameter in the page parameter then you will get the value from either preq.getParameter or from request.getParameter,just go to page properties and add a page
    parameter called data
    - did you publish your page containing your portlet as portlet and included it in other page or it is just a page containing this portlet?

  • Rule for parameter values when portlet defined?

    Am I missing something?
    In Plus:
    --I make a sheet in Plus that is parameterized.
    --The parameter for an item whose item class has a LOV.
    --I define a default value.
    --I save the sheet.
    In the portal:
    --I define a Disco portlet.
    --I edit the defaults.
    --I set the parameters.
    Now, here's the weird thing: The only parameter value offered is the one saved as a default value in Plus?
    This certainly makes no sense at all.
    This is on 9.0.2.53.12
    Anyone?

    Dear Ashi,
    Your question falls into the paid support category which requires a more in-depth level of support. Please visit the below link to see the various paid support options that are available to better meet your needs.
    http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone
    Please refer to the below articles:
    1) How to Handle Typed Fault Contracts in Orchestrations
    http://technet.microsoft.com/en-us/library/bb246117.aspx>
    2) A sample provided at:
    http://msdn2.microsoft.com/en-us/biztalk/bb608378.aspx
    Thanks,
    Belinda

  • Urgent: Parameter problem for portlet displaying jsp running inside tomcat

    Following jsp when run with portal 9.0.2 displays value of Name and Age but value of Telephone parameter is displayed as Null. Can anybody tell me the reason?
    Running this jsp on IBM WebSphere.
    <%@ page contentType="text/html;charset=UTF-8" %>
    <%@page import="java.util.*, oracle.portal.provider.v2.*" %>
    <%@page import="oracle.portal.provider.v2.http.HttpCommonConstants" %>
    <%@page import="oracle.portal.provider.v2.render.PortletRendererUtil" %>
    <%@page import="oracle.portal.provider.v2.render.PortletRenderRequest" %>
    <%@page import="oracle.portal.provider.v2.render.http.HttpPortletRendererUtil" %>
    <%@page import="oracle.portal.provider.v2.url.UrlUtils" %>
    <%
    // The form submit URL refers to the current Portal page. All portlets
    // on this page share this URL. This means that the per portlet parameters
    // are in the same request. Portlets must ensure that its paramerters don't
    // collide either with other portlets or other instances of itself. This
    // is generally accomplished by using "fully-qualified" parameter names. A
    // fully-qualified parameter name prepends the (unique) portlet reference to
    // the parameter. The JPDK provides a utility to accomplish this.
    String portletParamName = "mName";
    String portletParamAge = "mAge";
    String portletParamSubmit = "mSubmit";
    String fName = HttpPortletRendererUtil.portletParameter(request, portletParamName);
    String fAge = HttpPortletRendererUtil.portletParameter(request, portletParamAge);
    String fSubmit = HttpPortletRendererUtil.portletParameter(request, portletParamSubmit);
    // These are the session attribute names used to store the current values.
    // Because all instances of this portlet share the same user session we must
    // also fully-qualify these names to avoid collisions.
    String sName = HttpPortletRendererUtil.portletParameter(request, "sName");
    String sAge = HttpPortletRendererUtil.portletParameter(request, "sAge");
    String sTelephone = request.getParameter("TELEPHONE");
    PortletRenderRequest pRequest = (PortletRenderRequest)
    request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    String formName = UrlUtils.htmlFormName(pRequest,null);
    ProviderUser user = pRequest.getUser();
    ProviderSession providerSession = user.getSession();
    if (providerSession == null)
    %>
    Your provider session has been terminated or has timed out
    and you need to logout and then login to re-establish the session.
    <%
    else
    // Record, in session storage, the last values submitted.
    if (pRequest.getQualifiedParameter(portletParamSubmit) != null)
    providerSession.setAttribute(sName, pRequest.getQualifiedParameter(portletParamName));
    providerSession.setAttribute(sAge, pRequest.getQualifiedParameter(portletParamAge));
    %>
    <!-- Output the HTML content -->
    <center>
    <table width="70%">
    <tr>
    <td>
    <b>This portlet shows how to post and process information from HTML forms.</b>
    </td>
    </tr>
    </table>
    <form name="<%= formName %>" method="POST"
    action="<%= UrlUtils.htmlFormActionLink(pRequest,UrlUtils.PAGE_LINK) %>">
    <%= UrlUtils.htmlFormHiddenFields(pRequest,UrlUtils.PAGE_LINK, formName) %>
    <table>
    <tr>
    <td>
    <b>Name :</b>
    </td>
    <td>
    <input type="text" size="20" name="<%= fName %>" value="">
    </td>
    </tr>
    <tr>
    <td>
    <b>Age : </b>
    </td>
    <td>
    <input type="text" size="3" name="<%= fAge %>" value="">
    </td>
    </tr>
    <tr>
    <td>
    <b>Telephone : </b>
    </td>
    <td>
    <input type="text" size="3" name="TELEPHONE" value="">
    </td>
    </tr>
    </table>
    <br>
    <INPUT TYPE=submit name="<%= fSubmit %>" Value="Submit">
    </form>
    <%
    if ((providerSession.getAttribute(sName) == null)&& (providerSession.getAttribute(sAge) == null)) {
    %>
    <b>No values have been submitted yet.</b>
    <%
    } else {
    %>
    <b> Last submitted values:</b><br>
    <table>
    <tr>
    <td>
    <b>Name: </b>
    </td>
    <td>
    <b><%= providerSession.getAttribute(sName) %></b>
    </td>
    </tr>
    <tr>
    <td>
    <b>Age: </b>
    </td>
    <td>
    <b><%= providerSession.getAttribute(sAge) %></b>
    </td>
    </tr>
    <tr>
    <td>
    <b>Telephone: </b>
    </td>
    <td>
    <b><%= sTelephone %></b>
    </td>
    </tr>
    </table>
    <%
    %>
    </center>
    <%
    %>
    <!-- End output the HTML content -->
    Can somebody please help me on this?
    Thanks

    Hello,
    Let me know if the answer that I made Help needed: JSP and portal parameter problem.
    Regards
    Tugdual Grall

  • CheckBandwidth()'s result parameter confusion

    Hi everybody,
    Please help me on a confusion, which is:
    1) I am calling the checkBandwidth() method of FMS for a client.
    2) It calls back the onBWDone method client side with four parameters, first parameter as bandwidth, second and third not used and fourth as latency
    My request is that the Bandwidth value recieved is what kind of bandwidth:
    Is it the total bandwidth available to the client and includes upBW as well as downBW
    or
    is it just the Down bandwidth available of the client
    Regards,
    Sahil.

    Hi TanujM,
    Thanks a lot for replying, that solves one of the problems i am facing!!!
    I studied the link you have given as well as other links.
    I wish to publish videos based on user/client bandwidth. So I am working on an assumption that there is an UP bandwidth and there is a DOWN bandwidth ie ClientToServer and ServerToClient bandwidth respectively.
    Now the bandwidth that i get using checkBandwidth() is total of both up and down.
    So my next request is that:
    Is this assumption correct, that there are different up and different down bandwidths between user and FMS.
    I see it as having a total BW-pipe that contains two smaller pipes UpBW-pipe and DownBW-pipe and both are independent of each other. I feel I am wrong on this assumption.
    Does consuming one pipe effects the other?
    Thanks and Regards,
    Sahil

  • Can not pass Number type parameter to a portlet.

    I created a portal applicaiton with a jspx page.
    when click on a row of the table , a portlet will get the id of the row, and portlet will be refreshed.
    The id type is Number.
    when running, logs contains a error:
    "PortletModelImpl> <setParameterValue> Cannot set parameter Param1 on PortletBinding OmniPortlet4_1 with a value that is not a String or String Array."
    if you change the id type to String, everything will be OK.
    but the id type should be number, how to solve this problem.

    You should pass the value as a string to your portal and in your portlet convert it back to a number.
    If you really want to pass the Number object instead of a string, you can always use events instead of just passing parameters. When you use events, you can attach a payload to the event which can be any type as long as it is serializable.

Maybe you are looking for

  • Open a form from a 3rd party Java/Web based application

    Hi All, I am working for a client who has a 3rd party web application built in Java. For one of his requirements, he wants to open a form, an apps standard form on the click of a button/url in their application. This appears like a normal form openin

  • Mountain Lion and CS4?

    Does OS X Mountain Lion support Adobe Creative Suite CS4 programs?

  • Function module modification(z_hr_read_quali_texte)

    when i execute the function module the result is a table with 10 lines(example) i donot want these lines having in the exported table LINES of the function module H2Notiz angelegt von daniela Schwaiger (sgd) am 14.07.2005 um 17:45:11     (cet) H2Noti

  • Converting from NUMC field in R/3 into  CHAR field on BW

    Hi all,    We have a field (COST) which is defined as NUMC 6 with DECIMAL 2 like12.50 in R/3. I want to receive it into CHAR field on BW side.   What is the simplest way to convert it, please. What should be the CHAR length in BW? Thanks in advance.

  • Illustrator - Window - Libraries?  .....  there is no such item on mine

    I'm watching a video "CC Libraries in Illustrator" which directs me to select "Libraries" from the "Window" menu.  There's no such item.   There are four specific libraries at the bottom but nothing there follows the video's example of how to create