Show specific portlets dynamically

I would like to implement a page what shows a specific portlet based on a variable. So dynamically should be determined what portlet should be shown on a page.
My intention is to create a proxy portlet what based on some logic calls the render method of some other (dynamically determined) portlet what hopefully displays the content of the specific portlet in the proxy-portlet frame. Is there anyone who has done this before or knows how to tackle this?
I am not familiar with the render engine and do not know how to call the right functions to show content of the portlet object.
The reason for doing this is to overcome a performance issue what occurs when you put a large number of portlets on a page and use security for showing only one of the portlets. It results in a lot of individual calls to the OID en chokes the system in our configuration.
Any help is appreciated.
Kind Regards, Dennis Deursen

Hi Patrick,
Thanks for your reply. The portlets we would like to dynamically determine and show are all page-portlets. This implies that we cannot use PL/SQL in these portlets. Maybe there is a way to use a PL/SQL portlet showing the content of a specific page, but I don't know how. Maybe that is something I can investigate. You solution is quite straightforward but sadly only applies to PL/SQL portlets.
Another way to solve our problem is to use a PL-SQL portlet what defines an i-frame what shows the content a the page and let PL/SQL define dynamically what page to show in the i-frame. The drawback here is that you get nested pages when the page as shown in the i-frame has links. I am trying to add the tag <base target="_top"> to the header of the pages to show in the i-frame but i can't find a way how to change / add html code the the <header>-part of the pages...
(nice puzzle). Anyhow, there must be a way to solve this on way or the other.
Dennis Deursen

Similar Messages

  • Cycle Count Entries Form not showing specific employee name in "Counted By" LOV List

    Cycle Count Entries Form not showing specific employee name in "Counted By" LOV List.But the Employee is active . Is there any setup for this activity?

    Hi,
    This is because the query is excluding the current site you are trying to modify since it is actually in the report.
    You can include in your query:
    or site_id = :Pxx_SITE_ID
    Where Pxx_SITE_ID is the item holding the site_id value and xx is your page number.
    Thank you,
    Erick

  • Date Picker - show specific month of perticaular year

    Hi Experts,
    I am using sam.m.DatePicker control. By default date picker show current month-year when user open date picker. I want to show specific month of specific year when date picker is open.
    for eg: In my app, if student appearing for next year exam(say 2016) then when he click on date picker it should show April of 2016 instead of april of 2015. I don't want to set date by default. Student should select that date manually.
    Is it possible to show specific month and year for date picker when it open.
    Thanks in advanced.

    Hi,
    you can also give a default date of the first date of that month.
    Why you are not using that?
    var datePicker = new sap.m.DatePicker({
                                            valueFormat: "yyyy-MM-dd",
                                            displayFormat: "long",
                                                   value: "2014-03-26"
    Regards
    Dhananjay

  • Rendering Portlets Dynamically

    Hi
    I have been trying to look into how to render the portlets dynamically through the backing bean. I am working on Web Center 10gR3 and portlet rendering in static. What i mean is that we have to define the portlets on the jsp page. In this way we cannot rearrange the portlets, create them in tabular form and many things.
    Now i tried rendering the portlets via the Backing bean using the PortletBase Object but im having issues. The Portlet is binded to the pageDefinition in the jsp in this way:
    value="#{binding.OmniPortlet}"
    Now i cannot set this value in the Backing bean, even if i do i get an error. That binding is null. I am able to render the portlet container but get the error binding is null.
    Looking forward for a response.
    Thankyou in Advance
    Nauman Bashir

    Hi Kunel,
    Following two parameters you need to change in adf-config.xml file.
    parallelPoolSize: The number of threads to use for parallel execution of tasks. (Default value: 10)
    parallelQueueSize: The size of the queue of tasks waiting for parallel execution. Tasks are rejected once the queue size is exceeded. (Default value: 20)
    In case there are more parallel requests from a WebCenter page than this set queue size then some requests will be blocked.
    See more information in the documentation here:
    C.5.1 adf-config.xml
    of
    Oracle WebCenter Framework Developer's Guide
    10g (10.1.3.4)
    Part Number E12434-01
    at
    http://download.oracle.com/docs/cd/E12524_01/webcenter.1013/e12434/jpsdg_files.htm#CHDECFBC
    Regards,
    Imran Mirza

  • Legal requirements for showing specific ESS screens in local language

    Hi All,
    I would appreciate if you can let me know if there is any legal requirements for showing specific screens in local language? I would also like to know which countries and what SAP ESS screens.
    Thanks In Advance
    Sunny

    Good luck with that. I have never seen any "list of all countries" before like you are wanting. This will typically be part of your requirements gathering and blueprinting tasks.
    Just one question....what is your "global template" for implementation and what is your scope for localization? That will dictate much of your work.

  • How to show or hide portlets dynamically on a Portal Page

    Dear All
    1. I have a Portal Page with One Portlet in the top having like 5 Buttons. Each button click should display a separate portlet in the bottom on this same page.
    2. I have Top Portlet. For bottom I have 5 Portlets P1, P2, P3, P4 and P5. On my .portal file, I dragged and dropped top portlet and all these 5 Portlets one below each other.
    3. Now, I am trying to use BackingFile approach at PageLevel/Portlet level, to get the details of button clicked in top portlet (like name etc), and then show only one portlet at a time in the bottom section (using portlet backingcontext show/hide APIs). I do need to compare the bottom portlets defintion_label etc. which is fine for now.
    Is this the right approach...?
    Or do I have to use Portlet Custom Event approach. So top portlet will trigger event everytime button is clicked with some payload. And bottom 5 portlets listen to that event and show/hide accordingly. But in this approach, I have to attach backingfile to all the bottom portlets to listen to them.
    All the portlets are Pageflow based Portlets. Any ideas or any other simpler approaches, are highly appreciated.
    Thanks
    Ravi Jegga

    Hi Kevin
    1. Thanks a lot for the pointers. I will go with Events. So for bottom Portlets, I will use the same BackingFile. But still it is going to be custom Event. Because only one portlet will be shown. So its like my payload will be portlet def label. In Backing File, I will compare this payload with actual dynamic value and if same, show or hide that portlet. Please let me know if this is correct approach.
    2. Now each one of the Bottom Portlets is a complex pageflow portlet with many buttons of their own. So everytime a button is clicked or action is invoked, the Backing File gets called. And I had to somehow know that the same portlet has to be shown or the show/hide logic should not be called. Is there any way, where backing file gets called or just listen for Events triggered only from main top portlet.
    Thanks for the other message, where looks like you already gave lots of pointers. I will go through them.
    I will design and test this out and will keep you posted with my results.
    Thanks a lot again
    Ravi Jegga

  • Hide and show portlet dynamically

    i have two pages each page contains one one portlets. in this scenario i can hide/show
    the respective pages.
    Is there any other ways to hide/show porltets dynamically from portal.
    thanks in advance.
    shashi

    put a backing file on the portlet and from the backing file (probably pre render
    method)
    set the visibile to false
    PortletBackingContext portletBackingContext = PortletBackingContext.getPortletBackingContext(request);
    portletBackingContext.setVisible(false);
    If that doesn't work for some reason you can set the state to "delete" wil need
    to do this from
    the init method on the backing file
    PortletBackingContext portletBackingContext = PortletBackingContext.getPortletBackingContext(request);
    portletBackingContext.setupStateChangeEvent(WindowCapabilities.DELETE.getName());
    You can also use entitlements if this is a security thing.
    "shashishekar" <[email protected]> wrote:
    >
    i have two pages each page contains one one portlets. in this scenario
    i can hide/show
    the respective pages.
    Is there any other ways to hide/show porltets dynamically from portal.
    thanks in advance.
    shashi

  • Hide/show portlet dynamically at runtime

    Hi All,
    I am working on WL 8.1
    I have been trying to hide a portlet at runtime using
    portletBackingContext.setVisible(false);
    in preRender() method. But still that portlet is visible.
    I tried backingContext.setupStateChangeEvent(WindowCapabilities.DELETE.getName());
    in init() method. It is also not working that means that portlet is not getting deleted in display.
    I can hide page using
    pageBackingContext.setVisible(false); but cant hide portlet.
    Any one can help me on this.
    Thanks in advance.

    Hi All,
    The problem is solved. The method setVisible(false) is working fine.
    I never tried to returning false from the method preRender() before. Now i tried as a try, its working fine.
    When you want to hide a portlet then return false and you want to show return true.
    Thanks,

  • Showing forms in dynamic page

    Hello,
    I tried to create a form whic will be shown to user specific number of times with different default values. Let's say for example for every employee he will see a form where he should change employee's salary.
    I create dynamic page and add the following code between ORACLE tags:
    DECLARE
    NUMBER_OF_EMP NUMBER;
    I NUMBER;
    BEGIN
    I := 1;
    select count(*) INTO NUMBER_OF_EMP from EMP;
    FOR I IN 1..NUMBER_OF_EMP LOOP
    PORTAL30.wwa_app_module.link (
    p_arg_names => PORTAL30.wwv_standard_util.string_to_table2('_moduleid:_show_header'),
    p_arg_values => PORTAL30.wwv_standard_util.string_to_table2('1746811401:NO'));
    END LOOP;
    END;
    The problem is how can I make the form after user preses th SUBMIT (Insert) button on a form return control to the LOOP in the dynamic page and after this show form again with other default parameters?
    Thanks in advance,
    Egor.
    null

    Hi,
    You cannot have a dynamic table selection but if you want to use a select statement then you can use oracle tags in the html code like this
    <html>
    <title>
    new page
    </title>
    <body>
    <oracle>
    select * from scott.emp
    </oracle>
    </body>
    </html>
    Thanks,
    Sharmila

  • Can a portlet dynamically create / programmatically create another portlet?

    Hello. This is my first time posting a question, so please let me know if I'm posting to the wrong newsgroup.
    I'm new to WebLogic Portal, and I downloaded and installed WebLogic Portal 10. I'm working on a portal proof of concept, and my business analyst is asking some tricky questions. One thing he would like to see is when a user clicks a link in one portlet, he would like that portlet to dynamically create/open another portlet on the same portal page. In addition, he wants it to dynamically create a new book so that every time a user clicks on a different link, it dynamically creates a new page in the new book and creates a new portlet on that page.
    After reading through/searching many of the 27 PDFs that came with the download of WebLogic Portal 10, I have not seen anything that refers to dynamic creation of portal artifacts. Does anyone know if this is possible? To me, it doesn't seem like the portal was designed to dynamically create these artifacts. But maybe someone out there knows a way to do this. I'm wondering if I might have to resort to trying to hack my way through a request like that, which is probably not a good idea.
    If anyone can comment on this, I would really appreciate it. Thank you.
    --Steve
    Edited by StevenDHitlin2 at 10/24/2007 6:44 AM

    It's very likely portal backing files can be used.
    They can respond to
    various stages in the portal lifecycle and events to
    manipulate the
    portal structure or perform other business logic.
    http://e-docs.bea.com/wlp/docs100/portals/intro_to_por
    tal_dev.html#wp1028008Gregory,
    Thank you for your reply and for your backing file idea. I read the section you pointed out regarding backing files. In the first paragraph, it states, 'the portlet backing context can be used to specify whether the portlet is visible or hidden'. I noticed that some portal artifacts (books, pages,etc) have a 'hidden' property that can be set to true or false. I didn't really think about it until now, but I suppose I could have my 'dynamic' pages set as hidden=true at first and only make them visible when someone clicks a link in another portlet. The only thing is that my portal would be limited to showing only as many pages as I set up as hidden. For example, if I place three pages in a book and I set them all hidden, then my user can only 'unhide' at most three pages. If he wants more, I have to add more hidden pages to the desktop. It's not the best solution, but I think it would work for now.
    I just have to figure out how to use a backing file to make a portlet tell another portlet or a page to change its hidden property to false. I read a little bit about IPC, and I tried to fiddle around with it a little, but it's still unclear to me how to create a custom event. Does anyone have any advice for me on this topic? Any help would be greatly appreciated. Thank you.
    Steve

  • How to show specific data for user on redirected page once they logged in

    I and fairly new, but have a general understanding of Dreamweaver. Using CS3 or CS4, how do you get the redirected page after the user logges in to show only the data for that user? I have creater the login page and it works fine but i dont know what needs to be on the redirected page for it to show only the data for the user that just logged in.
    I am not very good with the coding part so if it requires it any help with that would also be helpful.
    thank all.

    I should be able to get the understanding if explained.
    As for scripting i believe its PHP. at lease thats the page i created the login page with.
    As for user-specific information: basiclly there account information.
    As for database i have dreamweaver linked to a MySQL database. it pulls from 2) tables
    1st table has the following: ID - User Names - Password  - account number
    2nd table has the following: ID - account number - names - address - ect
    So basiclly i want when a user loges in for it to redirect them to a page which then only shows the data for that users. if i can link the data the pulls up by the account number that would be ideal
    Thank you Murry

  • How to make an opion to add and remove portlets dynamically from GUI?

    Hi,
    I have a requirment to provide option for the users to remove some section (basically portlets) from the page and add it later based on preferences .I think currenlty we have this option in iGoogle website. please give me some pointers towards the solution.?
    Thanks Jazz

    Hello Jazz,
    If the "preferences" you are referring to are the users' preferences (and not "portlet preferences"), I think the Dynamic Visitor Tools are what you want. There is a demonstration of the dynamic visitor tools at:
    http://wlp.oracle.com/dvt/appmanager/demo/dvt
    Kevin

  • SQL Subscription field shows * only with Dynamic Text Label in SQL query

    We are using Hyperion Analyzer 7.2.x for showing budget and actual data. I have to show this financial data based on the security e.g. person in IT can see only IT dept. data. Hence I want to use dynamic text label <<userid>> for the security based on the person logging in to Analyzer.
    But when I use dynamic text label <<userid>> in the SQL query in SQL Spreadsheet, SQL Subscription field shows * only selection option. Does anyone have idea how to solve this problem?
    Thanks in advance for your help.
    -SV

    Hi
    Okay i know this is a bit crazy way.....but i think this is the solution for your issue.
    Create a report without the where clause (<<useris>>) then add a filter (sql subscription) then you can find all the values that are there in the SQL field (try to increase the query limit it is set to 250 as default) then edit the spreadsheet and add the where clause (<<userid>>).
    This will help you having the filter and the dynamic text label. I think there is an issue when you try to filter it with a where clause.
    Hope it helps.
    CK

  • Showing filter in dynamic list by default

    I have a form using the ADDT dynamic list behaviour. What I'd like to do is show the filter items automatically when that form opens rather than have the user click on the Filter button.
    Does anyone know how to do that?
    Thanks in advance for any advice.

    Further searching, and I discovered this has already been answered.
    See http://forums.adobe.com/message/1075032#1075032

  • SpryTabbedPanels2 - how to show specific tab

    I have got SpryTabbedPanels 2 on a product web page, and the panels consist of:
    Product details (tab 1) -- Default --
    Product Specs (tab 2)
    Product Accessories (tab 3)
    Product Downloads (tab 4)
    Currently, I have it set to default so that it shows the tab 1 on loading the page, however, I would like to be able to have tab 4 display on page load if they navigate to this page from another specific page. I assume I have to create a link that passes via the URL which will be something like:
    product_detail.php?prodid=7&tab4
    But I don't quite know how to handle it... could you please advise?
    The page in question is:
    http://www.matthewstuartdesign.co.uk/tandr/product_detail.php?prodid=7
    Thanks
    Mat

    First off I just need to state the documentation for Spry 2.0 is referred to as Spry UI by Adobe, why I don't know.  Below is the link:
    http://labs.adobe.com/technologies/spry/ui/
    Your answer is on this page:
    http://labs.adobe.com/technologies/spry/ui/docs/tabbedpanels2/index.html
    Basically what you need to do is insert the following javascript:
    <script type="text/javascript">
        var TabbedPanels2 = new Spry.Widget.TabbedPanels2("TabbedPanels2", { defaultTab: 2 });
    </script>
    Then using your PHP script write something that will change the defaultTab value based on what variable is passed through the browser.  I believe you should be able to call the global $_GET variable in that script like: defaultTab: <?php echo $_GET['tab']; ?> in that statement.

Maybe you are looking for

  • GL Open Item does not appear in F-03

    Hi Friends, I am trying to clear the GL open items thru F-03, while I see all the open items that appear in Line item display through FBL3N (total 25), out of them only 24 appear in F-03, I can not see the 25th item. I have checked the document in BS

  • Error while initializing CRS in Oracle Commerce 11.1

    I did a ./initialize_services.sh --force after reading from a few other posts. And i get this error. Removing existing crawl configuration for crawl CRS-last-mile-crawl (ignore errors if crawl doesn't exist) Removing Record Store CRS-data (ignore err

  • What the heck is iTunes uploading?

    After a frustrating week trying to use iTunes match, I've finally gotten a good chunk of my library in the cloud. The problem is the remaining 10 gigs: all live DJ sets that are roughly 2 hours long. They hover around 180 mb each, so under the limit.

  • Map HttpRequest parameters to anytype of object

    Hi, I am working on an old project and at the moment the only method they have to map the parameters of an HttpRequest to that of a custom object is by actually getting the value from the request and put it in the custom object one parameter at a tim

  • Duplicate alarm e-mails

    Hello again: I have setup ZfS to generate e-mail for major and critical alarms. The alarms are generating e-mail notifications as designed, however, I am getting duplicate e-mail for each alarm. Can someone enlighten me? Thanks, Chris.