Page/portlet parameters

Hi people,
Kan anyone tell me how to set a page parameter from a plsql portlet so that a java-portet can read/get the parameter value?
I'll be greatful for any reply!!!

Galina,
the portlet must trigger an event, and the only builtin portlet which is able to do that is the "simple parameter" portlet (which is not a plsql portlet, in fact).
The others ways (in PL/SQL) are:
.use dynamic component (but the form action tag will be hard coded)
.use PDK
.use Jpdk
Patrick

Similar Messages

  • Read parameters in a dynamic page portlet?

    Hi,
    Is it possible to read input parameters in a dynamic page portlet?
    Am I missing something if I want to read the input_parameter?
    <oracle>
    ftp.p(:input_paramter)
    </oracle>
    Thanks a lot.

    Hi,
    It is not possible to read the input parameters in the <oracle> tag. You can read it in the additional plsql code. If you have
    to access the parameter deptno then do this in the additional plsql code section.
    for i in 1..p_arg_names.count loop
    if p_arg_names(i) = 'deptno' then
    htp.p(p_arg_names(i));
    end if;
    end loop;
    Thanks,
    Sharmila

  • Calling portal v2 pages with parameters in a jsp

         Hello everybody,
         I'm currently trying to create, in a jsp, a link to a portal-v2 page with parameters.
    Practically :
    [JSP / Portlet 1]
         - a 1st jsp generates some links, all to the same page but each sets a different value to a parameter (for example a productId in a list).
    [JSP / Portlet 2]
         - a 2nd jsp gets this parameter and use it (for example it displays the details of the chosen product).
    So the 1st portlet would be jsp (coded by a portlet designer) and clicking a link would lead to another page (chosen by a page designer) which would hold the 2nd portlet (= 2nd jsp, coded by the same portlet designer).
         Writing the second jsp is easy : getting parameters is described in many examples and pdk articles.
         But I can't find the java methods to use to generate the link. More precisely I don't know how to call the portal page (which would then be a jsp1's parameter). Adding the parameter is well described in the jpdk API-Doc.
         I've tried to use portal events but they seem to work only in an html form. So I supposed it was a wrong way.
    As I've lost myself so many times in the API-Doc and I didn't find any jpdk sample about that, I would be really thankfull if someone has an idea (may I hope for a sample code ? :-)
    Thanks.
    Jean-Roch

    I'm having a similar problem!
    I have a JSP page which I have published as a portlet to Portal. The JSP portlet is placed on Portal a page. I need to call this Portal page with some parameters in the URL, which should get passed to the JSP portlet.
    In the JSP portlet I used this syntax in release 1 to retrieve the URL parameters:
    String p_itemID = request.getParameter("item_id");
    That worked great in release 1, but not in release 2.... I think the problem is that you need to define which parameters a portlet has, then map those portlet parameters to page parameters in the page properties. In dynamic page - portlets you define bind variables to accomplish this. But how do you do in JSP portlets? When you try to map Page Parameters to the JSP portlet you'll find that Portal doesn't think that the JSP portlet has any parameters. Hence the page parameters does not get passed to the portlet.
    (More info: JDBC----getImportedKeys() )
    I've looked at the Multipage example and the forminput example. But I don't see how pass a parameter in the URL to the very first JSP portlet from looking at those examples. I do see how you can pass parameters to the next JSP portlet, but that's not my problem. Maybe I'm missing something obvious...
    Any ideas?

  • Creating a new home page portlet in identity console in 11gR2

    Hi,
    I am in the process of creating a new home page portlet in self service UI. I created a new view controller project in j developer and created a bounded task flow and attached a jsff page to that. Now what are the next steps to be followed so that my custom page gets displayed with the other portlets when user clicks on Home in Identity console. I have some basic knowledge in ADF. Thanks in advance
    Regards,
    Durgaprasad
    Edited by: Durgaprasad on Dec 17, 2012 1:04 AM

    I am getting this error in the log..
    Element [MissedTerm] of resource catalog [catalogDefinition] has been excluded from the catalog due to error [null].
    My custom-catalog.xml file looks something like this
    <resource id="MissedTerm" name="MissedTerm" description="Hello World Taskflow Reference" repository="application.classpath" path="adflibcustomUI.jar/ADF_TaskFlow/WEB-INF+task-flow-definition.xml#task-flow-definition">
    - <attributes>
    <attribute value="coreDefault" attributeId="attr.background" isKey="false" />
    </attributes>
    </resource>
    Also i found some post similar to this issue but solution is not there
    Custom resource catalog

  • Passing parameter to a dynamic page portlet

    We need to create a drill-down report using pl/sql, but it's not working when we passed a parameter. We did the following:
    1. Create a package and a store procedure.
    2. The store procedure creates the report and the look-and-feel of the report.
    3. Create a dynamic page with the following code:
    <ORACLE>DECLARE
    BEGIN
    mvdata.interbay_ops_rpts_pkg.ops_detail_procssr_rpt(p_processor);
    END;
    </ORACLE>
    4. Set the parameter to "public" in the "customization form display option".
    5. Create a page group and a page.
    6. Clicked on properties of page and then clicked on the parameter tab.
    7. Added a parameter named "p_processor_code"
    8. We also added the portlet parameter under the "portlet parameter values" and set the parameter to be a page parameter and select the name of the parameter and click OK.
    9. Launch the URL: ttp://iasdev01.bftg.com:7782/pls/portal/url/page/PG_GRP_DEVELOPMENT/PG_OPS_DETAIL_PROCESSOR?p_processor_code=DUBOIS.
    10. When we tried to launch the application we get an empty report(doesn't execute the parameter).
    11. Edit the page and went into layout mode.
    12. Click on the "edit default" of the dynamic page portlet and put the value of the parameter and it works without any problems.
    I don't understand why it doesn't take the parameter with the page url. Any help is greatly appreciated.

    I had more luck with PL/SQL items. Try something like this:
    declare
    zip varchar2(10);
    begin
    zip := portal.wwpro_api_parameters.get_value('zip', 'a');
    if zip='94065' then
       ... do something ...
    end if;
    end;Peter

  • Color and Styles in Dynamic Page Portlets

    How do you control the colors and fonts of Dynamic Page Portlets.
    I am currently using simply syntax and let the Portlet do the rest.
    <ORACLE>Select * from Emp</ORACLE>

    Did you try to use something like:
    <head>
    <LINK rel="stylesheet" href="estilos.css">
    </head>
    before the oracle tags and inside the file include the colors and all that things?

  • Where the page portlet get stored

    Hi,
    Where the portlet and page portlet get stored in the machine and in which format.Similarly how the login.jsp is in 0C4J_Security.Where all the portlet page get stored.Pls tell me

    Hi,
    You need to understand the concept of a Portlet - it's simply a Web Component that can be reused. Hence, your "Web Component" can be stored anywhere - if it's a hosted Java Portlet, it could be stored in a EAR file sitting in a J2EE Server. If it's a DB Portlet, it could be sitting in your Metadata Repository ( or another Database ).
    Portal Pages are stored in the Metadata Repository.
    Regards,
    Sandeep

  • Page/Portlet Reload/Refresh

    I have two jsp page based portlet which host two application(Flash based application),i.e each page has one jsp portlet, but every time I switch around tabs the portlets reload, This process initializes the whole jsp portlet. I would like avoid this page/portlet reload behavior. I think the way to do is to use backing file at the page level or at the portlet level, but I am not sure which method to override since prerender completely stop rendering the page at all.
    Thanks

    I'm not sure I understand exactly what you mean by wanting to stop the "page/portlet reload behavior". Every time you switch tabs, the portal control tree is rendered with the new page and portlets that are "in view", and this means that the portlets on the page will get re-rendered, including running through the JSP again. If you want to stop the JSP render from happening again, and no state has changed on the portlet since you last viewed it, portlet caching may be what you are looking for. There is some information on portlet caching at http://edocs.bea.com/wlp/docs102/portlets/performance.html but unfortunately this points to a document on the BEA dev2dev site which has now been moved to http://www.oracle.com/technology/pub/articles/dev2arch/2005/01/portlet_caching.html
    By caching the content of the portlet, it should only be re-rendered (and have the JSP re-run) when the cache expires due to timeout or a state change in the portlet.
    Returning false from preRender in the backing file will abort rendering of the control (page or portlet) entirely, and you will see no content at all-- as you have already noted.
    If by "stopping the page / portlet reload behavior" you mean to stop the Flash-based initialization, I'm not the person to answer the question.
    Hope this helps!
    Kevin

  • Page Portlet Settings Not Propagating to User Pages

    Portal 9.0.2.6; Windows
    We upgraded to this version a few weeks ago, and we're still ironing out the kinks. We have quite a few pages that are exposed as portlets. I've edited (not customized) the page portlet settings, selecting specific regions of the page to display.
    When I spot check user's home pages, however, only the portlet headings show with no content. I've tried using the Reset to Defaults button in the customize form, but it doesn't work. Also, I imagine I'll have the same problems with any page-source portlets our users have added to their pages.
    Is there a sure-fire way to do the following:
    - Set the regions of a page to display when viewed in a portlet on a global level; and,
    - Propagate these regions throughout our entire user base
    Thank you for all the help!
    Mary

    I was able to figure out setting the global display on the default pages, but I'm still stymied at how to set the display for the page portlets for user customizations. In instances where users have added a page portlet, only the portlet header is displayed. I've done the following to try to fix the situation:
    - Deleted and regenerated the page portlets
    - Refreshed the repository
    - Refreshed the display for individual user pages
    Nothing seems to work. This is a major showstopper for us: we are scheduled to go "live" with the 9.0.2.6 version on Friday, and we do not want to ask users to recustomize their pages.
    Windows; 9.0.2.6
    Thanks for all the help!
    Mary

  • Page Portlet Settings Become Unchecked

    Hi all,
    Anyone know why when I edit the defaults on the My Page portlet it causes other users' customize settings for that portlet to become unchecked? This means users cannot see the portlet unless they go into customize and recheck the region boxes.
    I have recreated this problem a number of times:
    1)Create a blank page with public access
    2)Add to that page a 'Portlet Respository/content/My Page' portlet.
    3)Edit the defaults of the portlet. Uncheck top banner, check show edit link
    4)Logout, and back in as another user.
    5)None of the regions of that portlet are displayed and clicking on customize shows them all as unchecked.
    Any thoughts?
    Paul Goddard.

    I haven't seen this problem before. I followed your steps exactly with Portal 9.0.2 and I could not reproduce your problem.
    Please check again. If the problem persists, please log a TAR with Oracle Support.
    Regards,
    Jerry
    PortalPM

  • "Page Portlets"; no border or headers displaying

    I'm working with "Page Portlet" (published page as a portlet). The problem I'm faced with is when I go to place that "Page Portlet" on another Page, I am not seeing the Portlet header or border for that portlet even though the region itself is set to do so.
    Is this a limitation of a "portletized Page" or am I missing something?

    I'm having a similar problem. I've created a tab with three portlets displayed in it. One is a report, two are charts. Neither the portlet headers nor thier bodies display until I click on the customize page link and then the close button.

  • Could you tell me how to use the page parameters to portlet parameters?

    In the Page Group: Properties link , then to the Configure tab,
    then to Parameters and Events section & check the box to enable Parameters and Events.
    I did it. And I can see the Parameter tab on page properties.
    =====================provider.xml=================
    <inputParameter class="oracle.portal.provider.v2.DefaultParameterDefinition">
    <name>boardname</name>
    <displayName>boardname</displayName>
    <description>This is public portlet parameter #1</description>
    </inputParameter>
    <inputParameter class="oracle.portal.provider.v2.DefaultParameterDefinition">
    <name>boardid</name>
    <displayName>boardid</displayName>
    <description>This is public portlet parameter #2</description>
    </inputParameter>
    ==========================================
    Also I did write the above in provider.xml.
    But there is "portlet_name(no parameter)" in Portlet Parameter section.
    I did as the document
    (http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/ADDING.PARAMETERS.EVENTS.TO.PORTLETS.HTML).
    I don't know what is wrong.
    Experts~!,could you help me?
    With regards,
    eunjoo

    I did it!
    In my provider.xml,
    I deleted <passAllUrlParams>true</passAllUrlParams>
    tags. Then it works~!
    Thanks,
    eunjoo

  • Passing a portlet parameters on the Query String

    Hello,
    We have a portal page with a portlet on it and would like to be able to make this portlet dynamic by using additional parameters on the portal url query string.
    Back in version 5, I was told that this couldn't be done. Perhaps someone knows whether the G6 portal supports this?

    Yes, you can pass portal url into porlet in G6.
    1. You have to check box "HostPageURI" (don't remember exactly, but close to this one) on User Information page for Web Service.
    2.Use getHostPageURLQueryString() method (for IPortletRequest) to retrive QueryString value;
    3. Parse url value manualy to access parameters and values.
    But think twice before do this. This is because there are more effective ways to pass data and "make portlet dynamic":
    1) Portlet Settings (classic way, total page refresh);
    2) Adaptive portlets techology (inline refresh, passing data to other portlets on the same page);
    3) Portal Session object (for G6). Way to pass data to portlets placed on different page.
    Edited by Bryazgin at 01/18/2007 7:11 PM

  • Displaying header and border on a dynamic page passing parameters to a form

    I am using portals 10.1.4. and am trying to pass parameters to a form which appears as a portlet on a page.
    for this, dynamic page has been used to pass parameters to that desired form. my problem is this that when the form is displayed with parameters, the header and borders of the portlet disappear.
    The check-boxes for header and borders of the portlets on the page are checked. Yet, when for any reason, the parameters are not passed into the dynamic page, the header of the dynamic page and border are displayed. But when the parameters are passed and the form shows up, then the header and borders disappear.
    can anyone help me with the following:
    - is it the desired behavior?
    - how can i get the headers and borders reappear?
    thanks

    Any ideas fellows?
    how can we control the border and header of dynamic pages when a form or report is called from them with passed parameters?
    will appreciate any helpful experiences.

  • Header and border on a dynamic page passing parameters to a form

    I am using portals 10.1.4. I am trying to pass parameters to a form which appears as a portlet on a page.
    I am using the dynamic page to pass parameters to that desired form. My problem is this that when the form is displayed with parameters, the header and borders of the portlet disappear.
    The check-boxes for header and borders of the portlets on the page are checked. Yet, when for any reason, the parameters are not passed into the dynamic page, the header of the dynamic page and border are displayed. But when the parameters are passed and the form shows up, then the header and borders disappear.
    can anyone help me with the following:
    - is it the desired behavior?
    - how can i get the headers and borders reappear?
    thanks

    Hi AMN,
    I am not sure I follow what you are exactly attempting, can you post a set of steps to reproduce?
    Cheers,
    Mick.

Maybe you are looking for