Call a portlet

Hi all,
How can i call a portlet from my portlet if they are in a different provider (because are different page).
Thank a lot
Fabio

Fabio,
Could you elaborate a little more on why you would want to call a portlet from a portlet? It seems that you might want to encapsulate the content you place in portlets in something like a JavaBean, that you can call from multiple places, and just reuse that component where necessary.

Similar Messages

  • Call a portlet in another provider

    Hi all,
    How can I call a portlet from my portlet if they are in a different provider (because are different page).
    I have 2 provider and some portlet. I would like to call a portlet that is in another provider.
    Es.:
    provider1 -> portlet1, portlet2, ...
    provider2 -> portlet4, portlet5, ...
    portlet2 has to call portlet5
    Thanks a lot
    Fabio
    null

    Fabio,
    Could you elaborate a little more on why you would want to call a portlet from a portlet? It seems that you might want to encapsulate the content you place in portlets in something like a JavaBean, that you can call from multiple places, and just reuse that component where necessary.

  • Sping Portlets - Calling Muliple portlets.

    Hi,
    I am working on Spring based Portlet Application on Weblogic Portal 10.2.
    I will be developing muliple (5) portlets 1. Sales, 2. Order 3. Mgmt 4.Search 5. Common Menu.
    It is a 2 column layout; the common Menu Portet is associated with left and all other portlets to right.
    The common menu portlets has menu's like below.
    Sales
    |------Add Sales
    |------Edit Sales
    Order
    |------Delete Order
    If one of the sub menu has chosen; the respective action of corresponding portlet should be called.
    Is it doable?
    If this best idea of organizing the portlets like this.
    Help me.
    Thanks.
    Lakshmi.

    Though i have never worked on spring portlets but i think they are JSR168 portlets.
    What you need to do is to associate your menu to the book, in the navigation properties. Then you have to add two pages for that book.
    if you are modifying some existing menu.jsp then you can see that all your need to do is to change the HTML code in that jsp, so that it renders the menu the way you want it to. Menu.jsp already has a code to change the page when you click on the menu, something like <render:pageUrl pageLabel="<%=pageCtx.getDefinitionLabel()%>"/>.
    The last thing would be to add your JSR168 portlets on the pages.
    At run time when you click op the menu, you page will get activated and hence your portlet will be called/shown by the WLP. So the idea is not to call the portlets but to call the respective pages which has the portlets. whatever page is selected the, portlet on that page will be displayed.

  • Stored Procedure Does Not Run Properly When Called From Portlet

    We have a simple Java portlet that calls a PL/SQL stored procedure which we wrote. The stored procedure sends a large number of emails to users in our corporation using the "utl_smtp" package. The stored procedure returns a count of the emails back to the Java portlet when it's finished. This number is displayed in the portlet.
    Our problem:
    The stored procedure functions as expected when run from a PL/SQL block in SQL*Plus, and the Java portlet calls the procedure properly when sending out a smaller number of emails (Less than 200 usually). When we get into a higher number of emails the procedure hangs when called from the portlet, but it STILL functions properly from SQL*Plus. It does not return the number of emails sent
    and the Java portlet is unable to return a SQLException. Also, we have noticed that emails are sent at a much slower pace from the stored procedure when it's called from the portlet.

    Any Ideas?

  • How to call the portlets in the unstructure User Interface template

    Hi,
    I am creating unstructure user interface template in which i want to add the portlet so how can i do that.The portlet which i want to add is page portlet, dhtml menu portlet and webclipping. pls tell me how can i do that

    i got the clue from the link How do I call database sequence in ODI thanks suthrith.

  • URL for calling favorite portlet (or other portlet)

    Is there any direct URL
    that can invoke the portlet directly
    w/o logging-in portal?
    null

    Not at this point. We are planning on this capability for future release.

  • Call Reports portlet in portal, error

    Hi all,
    I run report portlet. But it have error:
    "SQL-6550: ORA-06550: line 1, column 13:
    PLS-00201: identifier 'RW_SERVER.REMOVE_JOB' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    I don't know why, can you hep me? Thanks a lot!
    Trung

    Running a report that is stored in the database is not supported. You'll need to convert it from database storage to an rdf or rep before you'll be able to execure it.I suspected that.
    But the 5-th parameter must be DB / FILESYSTEM.
    DB is just an Oracle joke?
    GB

  • Can we call a pdk portlet from other pdk portlet

    Hi friends,
    Can i call a pdk portlet from other pdk portlet when an event happens.
    Scenario:
    I have a pdk portlet with 10 html links. When anyone clicks on a link then a new portlet should be displayed in the same page.
    Is it possible to call one portlet from others.
    Please help me out with ur ideas or any workarounds.
    Thanks & Rgds,
    Dhanu

    Neeraj,
    Let me state my requirements very clear to u.
    1)I have a search portlet at top right corner.
    2)Below there is a region with 3 tabs(say A, B, C).
    3)When anyone searches for anything in the search portlet then the results should be displayed in new search tab(say D).
    4)If any one navigates to other tab(ie A or B or C) then the search tab(ie D) should not be displayed.
    This is my requirement. Can u please suggest me with how this can be achieved. I am just a beginner to Oracle portals10.1.4 and i am using JPDK to create portlets.
    Please do reply ASAP.
    With thanks & Rgds,
    Dhanu

  • Calling portlet from a normal web application

    I have the following question:
    I would like to deploy portlets on Oracle Portal and "call" them programmatically from a home made web application running on the same Oracle Application Server where the portal runs.
    As I am running my web application on the same server I would like to avoid WSRP and SOAP calls.
    I am aware of the existence of the new Web Center and the possibility it gives to include portlets in web application ... but I cannot use the Web Center for now mainly because of licensing problems and application server versions.
    Is there an API (Java, PL/SQL or anything else) allowing to "call" a portlet deployed on Oracle Portal ?
    Thanks for the help.
    Nicolas

    Hi,
    Well, I did my JSP pages doing selects to OWF tables and OWF java APIs. I used owf pl/sql procedures as my reference. For example, I need to know how to create actions buttons. I looked at wfa_html procedure and looked for how it was doing that.
    Any doubts just ask,
    Regards,
    Luiz

  • Calling Portlets in Portal Pages

    Guys,
    Can anyone guide me , how can I call a portlet by clicking a link in another portlet?
    Please note that I dont want to call a JSP page , but a portlet.
    Thanks in advance,
    -Sarma.

    But can you call multiple portlets from one portlet, so for example
    clicking a link in portlet a updates portlet b and c and if so how?
    "David Anderson" <[email protected]> wrote in message
    news:[email protected]..
    If I understand correctly what you are wanting to accomplish, I think you
    should just use the Portlet tag createWebflowURL and specify the portletyou
    want to change the state of...as follows
    <portlet:createWebflowURL portletName="portletName" event="link.name"
    extraParams="<%= extraParams %>" namespace="portletNamespace" >
    hope this helps,
    Dave
    David R. Anderson
    Principal Consultant
    BEA Systems - Professional Services
    "Sarma" <[email protected]> wrote in message
    news:3cbd50af$[email protected]..
    Guys,
    Can anyone guide me , how can I call a portlet by clicking a link inanother portlet?
    Please note that I dont want to call a JSP page , but a portlet.
    Thanks in advance,
    -Sarma.

  • How to read the "Portlet Title"?

    Hi;
    this is the function taken from the portlets.collobaration.common.c11n.personalSecurityListener.java
    public boolean isEditAvailable()
         /*JOptionPane.showMessageDialog(null, "1",
    "isAvailable-2", JOptionPane.PLAIN_MESSAGE);*/
    return true;
    I want to edit this function in order to decide wether the user in the "entitlet users group" to edit the calendar entry.
    My Assumption : The title of calendar is equal to the group name, and the users (who will edit the calendar entry) added into that group.
    So,
    step-1: I am getting the username. *(THIS IS OK)*
    step-2: Reading the (caller) calendar portlet's title (this is the group name) *(This is the QUESTION)*
    step-3: checking the user is in the group or not?* (THIS IS OK)*
    I can not able to read the current calendar portlet's title. How can I read the calendar portlet's title at step 2?
    Thanks in advance.
    Here is my code...*
    public boolean isEditAvailable()
         /*Step-1: Obtain the username*/
         String userName = Myrequest.getUserPrincipal().getName();
         boolean recurse=true;
         boolean memberUser=false;
         AtnProviderDescription defaultAtnDesc = AtnSecurityMgmtHelper.getDefaultProvider();
         AtnManagerProxy proxy = new AtnManagerProxy(defaultAtnDesc);
    /*Step-2: Find the groupname*/
    string groupName="it should be the current calendar portlet's title which shown on the page"; //????????????????
    /*Step-3: test the user is in this group or not*/
         try {
              memberUser = proxy.isMemberUser(*groupName*, userName, recurse);
         } catch (OperationNotSupportedException e) {
              // TODO Auto-generated catch block
              //e.printStackTrace();
    return memberUser;
    Edited by: user8916149 on 07.Mar.2010 13:49

    This will work by getting the url query string and getting value from one of query parameters. But this is not recommended. Best approach is as mentioned earlier using APIs and Backing Contexts Files. Because in future just incase if WLP Framework implementation changes and if the url has some other different parameters, you may need to modify your code. So best is to use Backing contexts APIs.
    HTH
    Ravi Jegga

  • How to get the customize url of an portlet using PLSQL

    How to get the customize url of an portlet using PLSQL.

    Are you trying to call the portlet Customization form directly from the browser?

  • Using cookies in a JAVA portlet

    I made a Cookie using JAVA. It is made before user enter in the Oracle Portal (index.html call the java action) to get the
    user Country.
    Now I can take this cookie by PL-SQL, but I need to get it by JAVA too.
    When I call directly my portlet action the java code get the cookie ([http://portal_middle_tier_host:port/testeSession/testeSessionViewAction.do?countryId=BR]), but when I put this portlet on a page, this page can't get the cookies.
    this is de JAVA code to get the cookies.
    Cookie acheiCookie = null;
    Cookie[] meusCookies = request.getCookies();
    if(meusCookies != null){
         for (int i = 0; i < meusCookies.length; i++) {
         if (meusCookies.getName().equals("PORTAL_USER_COUNTRY_COOKIE")){
              acheiCookie = meusCookies[i];
         if (acheiCookie == null){ 
         out.println("There aren't your cookie");
         else{   
         out.println("PAIS: " + acheiCookie.getValue());
    }else{
         out.println("Thre aren't cookies in request");
    Why cna't I get the cookies when I call my portlet in a page and when I caal directly it's works?
    Edited by: user10609895 on Nov 25, 2008 10:36 AM

    Hi,
    1) Create the java dc.
    2) In the public part of this java dc create new public part. Include the package tree of the classes in this. e.g if your classes are in packages with root package as com. Include com in public part and as package tree.
    Now build the dc. (Must. Hope you are not missing this)
    3) Go to dc where you want to use the dc. And add the previous dc as used dc.
    Now build both dc's. (Must. Hope you are not missing this)
    Now access the classes in your using dc.
    Regards.
    Ashwani Kr Sharma

  • Pass parameter jspx page to portlet

    Hello guys, i have one question about portlet. Curently i have 2 application, 1 weblogic portal application and 1 portlet producer application. Both project was successfully setup. I already put 1 portlet created in the portlet producer into 1 page in the weblogic portal application. The problem is, how can i pass parameter from weblogic portal page (which i call the portlet) to the portlet. Thank you

    Which type of portlet you are using jsr 168 /286 or oracle pdk or others ?
    Why do you need to pass parameters from portal page to portlet ?
    You can very well use taskflow to achieve the same thing in a much easier way that portlet way.
    If you are using jsr 286 portlet then you have to try with WSRP Soap call to get the required parameter. but I am not sure on how to achieve the final goal.
    Regards,
    Hoque

  • Pass parameter to portlet from jspx page

    Hello guys, i have one question about portlet. Curently i have 2 application, 1 weblogic portal application and 1 portlet producer application. Both project was successfully setup. I already put 1 portlet created in the portlet producer into 1 page in the weblogic portal application. The problem is, how can i pass parameter from weblogic portal page (which i call the portlet) to the portlet. Thank you

    Hi,
    worth checking the WebCenter forum as both products seem to belong there: WebCenter Portal
    Frank

Maybe you are looking for