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

Similar Messages

  • How to show modal window without popup in a web page using javascript

    Hi,
    How to show modal window without popup in a web page using javascript, means when the modalwindow is opened it should not ask for popup blocker alert......
    pls help me.....

    Thanx for ur reply,
    Actually the senario is when i click on a button, another jsp page should be displayed in a modal window without popup, but the functions alert() and confirm() will not accept the url path of the another jsp page...

  • How to apply different styles to Portlets on the same Portal page?

    How do you apply different styles to Portlets on the same Portal page?
    I'm new to this kind of thing, but understand that something called "cascading style sheets" can help here?
    What are these, how do you use them, and can you make different Portlets (all types - PL/SQL, Java, Applications, etc) on the same Portal page have different styles assigned?
    Thanks!

    Jeff,
    Apply Oracle Portal styles at the region level. Your portlets within each region will inherit the style defined for the region.
    You may want to check out Report #40050 at portalcenter.oracle.com, "Design an Attractive and Compelling Portal Interface" for a good overview of the various design features of Oracle Portal.
    Here is the link:
    http://portalcenter.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/OTN_CONTENT/MAINPAGE/OWSF_2003_PAPERS/40050_STOVER.PDF
    Regards,
    Jay

  • How to show or Hide Generic Column in a regular report

    Hi All,
    I have created report based on "SQL query (pl/sql function body returning sql query). It returns columns based on some conditions. I have total 60 generic columns like (COL1,COL2....COL60) but it returns 18 or 20 columns based on my conditions, how can I hide the columns that I don't needed. My column heading is based on function return by ':' separated. My function returns number of columns also. Is there any we I can show only those columns which contains data. My report is exactly similar to the default "SQL query (pl/sql function body returning sql query). I didn't find any logic how they are doing this show and hide. I appreciate any ones help.
    Thanks,

    Hi there,
    Somehow you need to find out how many columns your dynamic select will return (by what you said it seems that your procedure returns this information). Then store that number in a hidden page item, say Pnn_COUNT.
    Then, for the 19th and 20th columns in the report add these conditions:
    Column 19: :Pnn_COUNT >= 19
    Column 20: :Pnn_COUNT >= 20
    I hope this helps.
    Luis

  • How to show or hide a control in front panel

    Hi All, I am revising the code from someone else, and a control in front panel seems to be hidden until you click something to make it show. I tried to use right click in front panel and it did not work by clicking something related to show or hide. Since I don't quite familiar with property nodes, this hidden setting may be related to that.
    In the picture it shows the front panel and its two property nodes, could anyone advise me how to change the setting to show this control? Thank you!
    Solved!
    Go to Solution.

    If you right-click on the the control's terminal, you will see an option to "Hide Control" or "Show Control".  This is what you should use when editing the code.  The property nodes set to Visible are for when the application is running.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    change visible state.png ‏3 KB

  • MultiLookup items selected, show or hide fields dynamically

    Hi,
    In the New or Edit Form, I would like to show or hide fields based on the multiselect value selected.
    Is there a way to add javascript to achieve this and to get the selected values to show or hide the fields dynamically?
    Thanks for your help.

    Hi,
    According to your post, my understanding is that you want to show or hide fields based on the multiselect value selected.
    You can add the code below to the new form.
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <script type="text/javascript">
    function Test(){
    var object= $("select[title='Lookup selected values']");
    var object1=$("input[title='Test']");
    var text= object.find("option").text();
    alert(text);
    if(text.indexOf("A")>-1)
    object1.hide();
    </script>
    <button onclick="javascript:Test();" type="button">Test</button>
    Note: You need to change the title of the select and input tags.
    The result are as below:
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to show all the search result in a report page

    I have a report page which the user can enter first or last name to find the matched employees. The current report only show maximum of 15 matched results. How to show all of them in one page if more than 15.
    Also, the employee name on the report is a link, how to make the link to be conditional. ( I mean it can be a link or not based on another column)
    Thanks.
    Jen

    Hi, you can change the number of rows on the report definition page (15 is the default value)- that's also where you can change pagination and max. number of rows etc.
    About the second question - you will have to use Case or Decode in your report query and have the value as link or not based on the condition column, something like:
    Select Decode(condition_column, 'link_value', '<a href="f?p=YOUR_APP:PAGE_TO_LINK_TO:'  || :SESSION || ':::::">display_column</a>' , display_column) From .....
    Hope this helps.

  • How to Show Different set of  Blob images in every page

    Hi i am using Crystal Report Server XI RAS Embedded Edition to built Dynamic Reports.
    Now i  have two datasets
    1. Main query with imageid field
    2. list of image blobs.
    this two datasets are linked with imageid  field and binded to ReportClientDocument.
    i have to show different image fields in every page of the report.  this images are differ in width and heights.
    i am able to show a single constant image field object from blob database field.
    but i could not able to find the solution to show different set of multiple images in different pages of the report.
    is there any formulas can be written or kindy give me a solution to achieve this.
    Regards,
    Padmanaban V
    Edited by: Padmanaban Viswanathan on Mar 15, 2010 11:59 AM

    See RAS samples [here|https://wiki.sdn.sap.com/wiki/display/BOBJ/NETRASSDK+Samples]. Look for "NET-CS2003_RAS-Managed_BE115_Add_Image" or "NET-VB2003_RAS-Managed_BE115_Add_Image-From-File".
    Ludek

  • How to show description instead of code on a view page?

    I'm new so this is probably basic, but I didn't find an answer when I tried searching.
    I'm using JDeveloper 10.1.3.3, ADF Business Components, ADF Faces.
    In my application, I have both view pages and edit pages (some users will only have read access). Many of the fields will be populated from LOV and the code will be stored in the database.
    The edit page is no problem - I have read-only VO for the LOV and I use af:selectOneChoice and display the description. But how do I display the same description on the view page? By defaiult the code is displayed when the entity based VO is dropped as a ADF Read Only Form.
    I assume I need to do something in the BC, but I'm not sure how to get values from read-only VO into my entity based VO. Or do I have to make all my VO for LOVs entity based even though they will never be edited? Or is there something I can do in the view to get the description instead of the code?
    Thank you for your help.
    Karen Helt
    Sr IT Programmer/Analysit
    Hach Company

    So if I understand you properly, I need to create EOs for all my list of values (which are based on views of Oracle apps tables) and base my VO on those EOs. And then I setup associations between these EOs and the Item EO. Then I include the these EOs in my Items VO and add the description attributes to my list of attributes. I had done this for the list of users, but for the views of Oracle I had just created read only VO. Sounds like that won't work if I want to display the description. I know what to do - I guess I was hoping there was a way to use the read only VO.
    Thanks
    Karen

  • Order of execution of JPDK Portlets inside the same Portal Page

    We have 2 Sample JPDK Portlets from the same provider on our page
    - A LoginPortlet that accepts the username and Password
    - A Welcome Bin Portlet that shows the logged in user's details
    Once the user enters username and password in the LoginPortlet, we authenticate the user and set his username and other details in the 'ProviderSession'.
    Further, in the Welcome Bin Portlet, we access the username and other details of the user from the 'ProviderSession' and display.
    Though this solution seems to be working most of the time, we have an issue at times when the Welcome Bin Portlet executes before the LoginPortlet and hence is unable to fetch the userName and other details which are not yet set in the 'ProviderSession'. Hence, wanted to know if there is an execution order that we can enforce on the Portlets in a Portal Page, so that we can mandate that LoginPortlet Rendering shall happen before WelcomeBinPortlet Rendering.
    Further, had it been a JSR168 Portlet, I understand that we could set the details over to the 'ProviderSession' in the 'ProcessAction' method of the LoginPortlet, which for sure gets executed before the Rendering of all the portlets. Is there a similar way or a hack while using JPDK?

    The Private Event Submission sample portlet shows how to achieve this. It is part of the PDK download.
    Peter

  • Need to display dynamic content on portal page

    I have an htmldb application that a client can upload doctor profiles for the web users to lookup and find a doctor within a certain radius. When they click on the doctor's name, it shows a profile of the doctor. I need to be able to display this information directly on the oracle portal instead of iframing it because i need it to be searchable. I created an xml report in htmldb and linked it to the oracle portal with an omniportlet. The test page can be seen at [http://portal2.bynum.com/portal/page/portal/test/xml%20data%20test]
    I need the link on the go to a page in portal and display the information from the database like it does on htmldb. Is it possible to:
    1. Add a drop down box in the omniportlet that allows me to chose all doctors whose last name begins with the letter in the dropdown box.
    2. Point the link to oracle portal, pass the object_id to the page, and display the doctor profile all in the portal instead of iframing from htmldb.

    Ok, i found the solution. I created a page with the parameters that i want passed in order to display the datbase content. the parameters where created in the page properties section for the page. I created id, first_name, and last_name parameters. Then i created a dynamic pl/sql web page with the dynamic html portlet included with oracle and tied those parameters to the queries. Dynamic content is now displayed when the omniportlet links to the page.

  • Can you control the Discoverer Portlet Size on the Portal Page?

    I have a Portal Page and I need the ability to control the Portlet size. The width seems to take on the dimensions defined for the region, but how do you control the dimension for the depth/length. Thanks.

    The size of the container is controlled by the Portal Page author through Portal, not the Discoverer Portlet. Unfortunately, I don't know exactly how to control this and it may be different from 9.0.2 to 9.0.4 (not sure which version you are using). You can check on the Portal forum.
    Discoverer Product Management

  • How to load use an image library in the portal pages

    Hi,
    How to load an image library in the portal ? Do I need to load images in an Apache directory and access them via URLs, or do I need to upload images to a specific portal page, and access these images via specific URL ?
    Thanks for your help,
    Jean-Christophe

    Another easy method is to create a dedicated page in Portal and use it for the storage of images, flash objects.
    Load the images as item type FILE and use the 'direct access' method (HOST:PORT/pls/<DAD>/docs/PAGE/<PG NAME>/<PAGE_NAME>/IMAGE.GIF)to access the file from a URL command.
    This way all your images are protected in the database, easy to add and find (via search or by adding descriptions, categories etc) via role based security and in theory should be quicker to access (via the URL) due to the indexing capabilities of the database.
    Place the images in a location that is not going to cause a page navigation issue such as in its own Page Group or as sibling page to your top level parent page etc.
    Hope this helps.
    John

  • How to show and hide plots which are stacked and plotted on the one graph?

    I am currently designing a Logic Analyser with 8 channels. These are plotted on a graph, stacked on top of each other. The user is able to select which plots he/she wishes to examine (i.e 1,4,6). I need to figure out how to hide the plots not required and show the plots needed.

    Hi,
    Did u say stacked?? then you must be using a chart not a graph
    Nevertheless, as Unclebump has suggested, here is a Vi to give you an idea on how to use active plot and visible property nodes
    Build on it to hide/show plots
    Regards
    Dev
    Message Edited by devchander on 01-24-2006 06:09 AM
    Attachments:
    plot.vi ‏176 KB

  • How to show and hid the elments in WSDL using wscompile

    Hi Folks,
    I have web service interfce
    public interface DataObjectProcess extends Remote
    DataObject jobRequest(DataObject aDataObject) throws RemoteException, Exception;
    my DataObject is like this
    public class DataObject implements java.io.Serializable
    pivate Integer commandKey;
    private File outputFile;
    public DataObject(){}
    public void setCommandKey(Integer aKey)
    commandKey = aKey;
    public Integer getCommandKey()
    return commandKey;
    public void setOutputFile(File aFile)
    outputFile = aFile;
    public File getOutputFile()
    return outputFile;
    I use wscompile to generate WSDL file, but it can not show outputFile element in WSDL? How can I do that.
    For commandKey element. if I don't want to show this element in WSDL. How to do it? Thank you very much.
    Edgy

    Hi Folks,
    I have web service interfce
    public interface DataObjectProcess extends Remote
    DataObject jobRequest(DataObject aDataObject) throws RemoteException, Exception;
    my DataObject is like this
    public class DataObject implements java.io.Serializable
    pivate Integer commandKey;
    private File outputFile;
    public DataObject(){}
    public void setCommandKey(Integer aKey)
    commandKey = aKey;
    public Integer getCommandKey()
    return commandKey;
    public void setOutputFile(File aFile)
    outputFile = aFile;
    public File getOutputFile()
    return outputFile;
    I use wscompile to generate WSDL file, but it can not show outputFile element in WSDL? How can I do that.
    For commandKey element. if I don't want to show this element in WSDL. How to do it? Thank you very much.
    Edgy

Maybe you are looking for