Portlet Header Color

Hi All,
I want to know , how to change the style of a page so that each Portlet can be displayed with his own Portlet Header color but not with the default
Portlet Header color of the page:
Is this possible?
Thanks in advance
null

The page style allows you to define only one color for the portlet header. You could try adding some HTML portlets to your page that override the style used for the portlet header.
Regards,
Jerry

Similar Messages

  • Portlet header vs Page header

    I'm working with a report that I have displayed in a portlet,
    actually, the customization form is displayed in a portlet. I
    want to display the resulting report in the same portlet, but
    since that looks to be pretty difficult, I'm willing to settle
    for showing it in a new page. But, I'd like to have the same
    type of header on the report results page. If I set the user
    interface for the report to have a header, the report
    cutomization form will also have that interface inside the
    portlet which just looks stupid. Can someone tell me how I can
    get a different interface, or at least a different header, or no
    header, on a report customization form in a portlet while having
    a header on the report itself in its own page?
    I'd appreciate any thoughts that someone has on this.
    Nate Baxley

    The page style allows you to define only one color for the portlet header. You could try adding some HTML portlets to your page that override the style used for the portlet header.
    Regards,
    Jerry

  • Portlet Header and Netscape

    I am having trouble rendering portlet headers in Netscape 4.7. The portlet header background color appears in an area above the actual portlet header. This does not happen when I view the page using IE. We are using Portal 3.0.6 on Linux.
    Is there a fix to this? Thanks for your help.

    This problem was caused by the page background color that I was using. When I removed the page background color, the problem disappeared. This problem did not occur with IE.

  • Portlet header worries

    Hi everybody!
    I have two regions side by side.
    In the left region i have a portlet.
    In the right region i have another portlet containing some images.
    When I edit the region for the left portlet, and take away the "show portlet headers", the left region jumps up above the right region - they are no longer side by side
    What can I do to keep my regions side by side while at the same time, taking away the portlet headers?
    Regards
    Joel Sobovitch

    Thanks for your help Christian.
    The two alternatives you provided didn't fix my problem.
    However, I changed the header color to white in my main style so the header is now invisible and I can keep the portlet header in the region which solves my problem (in the short term). I am wondering though, in the right region, it contains a number of tabs, which in turn contain images, and I wonder if the tabs maybe are causing the problem.
    regards
    Joel

  • Customize portlet header

    Hi everybody,
    i use Portal 902.
    i just customized the color header of my portlet, i chose a non preset color by specifying the hexdecimal value i need.
    I want now to define the rounded edge corner style for my portlet header. But of course the right and left images are not define so i created them and put it on the %ORACLE_HOME%/portal/images directory of my instance.
    It seems like my images doesn't exist.
    I think i must register my image but how?
    Is anybody know how to ?
    I will appreciate any help.
    Thanks
    bye
    Florent

    Hi,
    Please check the following article: http://technet.oracle.com:89/ubb/Forum70/HTML/000965.html
    Hope this helps.
    Regards,
    Jatinder

  • Removing customization link from portlet header.

    Hi,
    Could u suggest me out of the 2 ways to remove customization link from portlet header.I am using the default stock prices portlet in my page.
    Where and how should i change the provider.xml file.
    If not this how can I setShowEdit(False) which is one of the methods in MutablePortlet interface.How can i find this code related to Stock portlet.I mean where can we have access this code where the provider API's are used for some of the readymade portlets that oracle provides.
    I am using release 1 of oracle portal.
    Thanx
    Vipul

    Hi,
    I see two things that you could try :
    first try to set the security level at the portlet level, then allow users to display your portlet, not to customize it. I know it's possible with tabs, maybe it can apply to you.
    Else you also can modify the package of your portlet (or the provider.xml file if it's not the package). You should read the pl/sql code and find the variable concerning the customization link in the rendering part. It may be set to 'tru', just set it to 'false' and recompile.
    I've done it when installing some portlets and it works : that way I could translate the portlet in franch, remove the help link, remove the detail link, and so on...
    Hope this helps,
    Gael.

  • How to add links to portlet header ?

    I want to add a print link to the portlet header, along with Customize, Help, About etc
    Is there any way to do this ? (Using PDK, java or pl/sql)

    Andrew,
    From web providers' perspective, you should be able to do this. Constructing the portlet header involves constructing the title link & then adding the action parameter links for all the modes that have been enabled using the provider.xml. The title part is constructed by the method renderTitle() in oracle.portal.provider.v2.render.DefaultContainerRenderer while action parameters (i.e. "Customize","help" etc) are rendered by renderActions(). This method internally invokes renderAction() which by default would render the locale specific text for that mode. So to fulfil your requirement you will have to create your own Container Renderer by extending the DefaultContainerRenderer and overriding the method renderActions() to incorporate one more link on the header.
    Having said that, all the links on the portlet header are mapped to a unique mode. I don't think that you should be creating a new mode for this (would involve extending a lot of JPDK framework classes), but am not aware of how the flow will happen once the "print' is clicked by the user. Perhaps, JPDK gurus can throw some light on this.
    Regards,
    Abhinav

  • Portlet Header action Refresh

    I have created my first JSR-168 portlet and consumed it in the JSF page. Everything looks good with my AJAX stuff except my JavaScript does not get called when clicking on the "Refresh" action from the portlet header menu. My portlet calls the JavaScript when the page loads. It works correctly when I reload the entire page as well. However, when I use the portlet header to refresh, the script does not get called, and therfore, does not dispaly HTML content. What am I missing? Is there somewhere I need to tell in the code to call particular JavaSriipt for this action?

    I have JavaScript triggered by the onLoad event. Whatever the "Refresh" action triggers, I need to kick off my JavaScript the same way as onLoad event. I just do not know where to make the connection between refresh action and my JavaScript call to the onLoad event.

  • Portlet header

    I have created my first JSR-168 portlet and consumed it in the JSF page. Everything looks good with my AJAX stuff except my JavaScript does not get called when clicking on the "Refresh" action from the portlet header menu. My portlet calls the JavaScript when the page loads. It works correctly when I reload the entire page as well. However, when I use the portlet header to refresh, the script does not get called, and therfore, does not dispaly HTML content. What am I missing? Is there somewhere I need to tell in the code to call particular JavaSriipt for this action?

    I have JavaScript triggered by the onLoad event. Whatever the "Refresh" action triggers, I need to kick off my JavaScript the same way as onLoad event. I just do not know where to make the connection between refresh action and my JavaScript call to the onLoad event.

  • Changing Portlet header text dynamically

    I trying to change the Portlet header text depending on the value of a selected page parameter. e.g. I selected the FTSE 100 stocks link on a page and I want the portlet to display the list of stocks and the banner to say "FTSE 100" similarly if I pick the NASDAQ link I want the same portlet to list the NASDAQ stocks and the banner to say "NASDAQ". I have the stocks changing using dynamic pages and page parameters but I can't seem to get at the portlet banner title variable. I working on the latest portal release.

    Hi Lisa,
    It just so happens that the "Portlet Wizard" in JDeveloper creates the default edit view to modify the page title. Here is the code it created:
    <pre>
    // Get the PortletRenderRequest and Writer
    PortletRenderRequest pr = (PortletRenderRequest)request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    PrintWriter out = pr.getWriter();
    // Display a greeting
    String userName = pr.getUser().getName();
    out.println("<p>Hello " + userName + ".</p>");
    out.println("<p>This is the <b><i>Edit</b></i> render mode!</p>");
    // Customize the portlet title
    String actionParam = PortletRendererUtil.getEditFormParameter(pr);
    String action = request.getParameter(actionParam);
    String title = pr.getParameter("filebrowse_title");
    NameValuePersonalizationObject data = null;
    try
    data = (NameValuePersonalizationObject)PortletRendererUtil.getEditData(pr);
    catch(AccessControlException ae)
    throw new ServletException(ae);
    catch(PortletNotFoundException pnfe)
    throw new ServletException(pnfe);
    // Cancel automatically redirects to the page, so
    // will only recieve OK or APPLY
    if (action != null)
    data.setPortletTitle(title);
    try
    PortletRendererUtil.submitEditData(pr, data);
    catch(AccessControlException ae)
    throw new ServletException(ae);
    return;
    // Otherwise just render the form
    title = data.getPortletTitle();
    out.println("<table border='0'><td width='20%'>");
    out.println("<p align='right'>Title:</p></td><td width='80%'>");
    out.println("<input type='TEXT' name='filebrowse_title' value='" + title + "'>");
    out.println("</td></table>");
    </pre>
    I hope this helps!!!
    -Sean

  • Change column header color LV 8.20

    I am displaying tabular data and a graph. How do I change the table column heading color, so they match the colors assigned to the graph?
    Thanks,
    Jim Purdy
    LabVIEW 8.21 on WinXP

    Hi Jim,
    try yourself with this VI. Consider the "active cell" indices are I32, so they can be negative.
    Greets, Dave
    Greets, Dave
    Attachments:
    change Table Color.vi ‏12 KB

  • Portlet header title as a link

    Is it possible to make portlet headers title as a link and would be defined with my chosen URL?
    I've noticed that linking (whwn editing region) is used only for Customize, Help, About, Collapse/Restore...

    You can achieve this if you create portlets programmatically. When you draw the portlet header you can specify what links are available from that header (i.e. details/title, customize, help, and about).

  • Change Portlet Title Color

    Hi,
    This questions is for Weblogic Portal.
    How can i change the portlets title color dynamically based on java condition.
    Thanks

    There is a weblogic portal forum.
    I believe this would be a better place for your question(WebLogic Portal

  • How can I add an image above my portlet header ?

    Hi,
    Currently I am writing a portlet.I would like to add an image above the portlet header just like the standard portlets have.
    Does somebody know how I should realise this ?
    thanks
    Jerome

    Please take a look at FAQ at: http://technet.oracle.com:89/cgi-bin/ubbmisc.cgi?action=getannounce&ForumNumber=66&Start=2451891.99&End=2452276&Session=

  • How to make portlet header not clickable?

    Hi,
    I published a page as a portlet and placed it on another page. I enabled the region where the portlet resides in to show the portlet header. Now I found out that if I click the portlet header, the orignial page of the portlet is shown. I don't want to show it to my users, but do want to keep the portlet header and make it non-clickable. Is there a way to do that? Any help will be appreciated.
    I'm using version 10g.
    Thanks,
    Yaxu

    Hi,
    You have to disable the "Show Details Link on Portlet Header" box for the region where you display the page as portlet.
    It's at the end of the "Edit Region" Main page where you can set which links you want to display.
    Alex

Maybe you are looking for