Elimination of Portlet Header Customise Link

How to eliminate or hide the customise link
in the portlet header.Should not remove portlet header.Link only to be removed.
User should not customise the Porlet display name.What are the possibilities.
Thanks.
null

We plan on adding this ability moving forward, but the only way to remove it today is to not display the banner.

Similar Messages

  • Portlet header Links

    Seen many posts about removing the 'customise' link... is there a way to put one's own link into a portlet heading area ?

    Many thanks Jay,
    Thats close, but I'm actually looking at the portlet level. ie for a reporting portlet say at the bottom of the page I'd like (instead of the customise link) a "Create Entry" link which would take the user off to a form. I've tried putting a bit of HTML in the Display Name for the portlet, but that upsets things. I have seen a site where the actual portlet Display Name is a Link. Any ideas or am I hoping for too much without going to the PDK!?!
    regards

  • 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 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).

  • 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

  • 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

  • Need Portlets without Customize link in page

    hi Oracles,
    We have created set of Portlets which contains Forms and components.
    now, when we publish pages which contain portlets to the pubic users,it shows the
    Customize link in each portlet header area.
    we must disable or remove it.
    it is an urgent for us
    thanks for hearing us.
    regards,
    kathir S.
    null

    I have previously suggested a work around.
    - create a new application
    - Create/move your forms/reports in this application
    - Grant View privledge to Authenticated_users group
    You should be all set. Any forms/reports etc created in this application would not have customize on the Portlet title.
    Hope it helps.

  • Portlet Header Customization

    Is it possible to substitute icons for the text specified in the portlet header for help, about, etc.?
    If yes, how is this accomplished?

    Hi,
    Its possible to replace the default text items like "Customize", "help" etc. with images in the rendered portlet. The above texts are a part of the portlet header that gets constructed by the Portlet Container. 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 your requirement is to change the default behaviour of this method to render images as links for respective modes in place of the default text.
    You can achieve this by creating your own Container Renderer by extending the DefaultContainerRenderer and overriding the method renderAction(). While implementing the method, you can use a switch construct to add different images for different modes.

  • API to reference portlet header/title?

    I am wanting to know the pl/sql api to access the actual portlet header or title bar, whatever you choose to call it. I can access subheaders, but I cannot figure out how to access the actual top header. What pl/sql api will do this?

    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).

  • Customize on portlet header

    Hi all,
    Is there a way to not display the "customize" link on the portlet header? I am currently using the portlet header to display the name of the form that the user will work on, and there cannot remove the header.
    Thanks

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

  • Repost: suppressing portlet header

    All,
    Since my first post, I have learnt that the header (or has_title_region) can be suppressed by setting this in the provider.
    I would like the portlet to have a header when say the user is not logged in and not have a header when the user is logged in.
    Any tips
    Sanjay

    Sanjay,
    You can control this in the show procedure of your portlet.
    Add a call to check whether the user is logged in (if (wwctx_api.is_logged_on) then ... ) before calling the wwui_api_portlet.draw_portlet_header API.
    The typical template portlet that PDK provides (the STARTER sample) has a piece of code you need to modify in the show procedure. Added that for your convenience.
    if (p_portlet_record.exec_mode = wwpro_api_provider.MODE_SHOW) then
    if (p_portlet_record.has_title_region) then
    Draw the portlet header and specify what links are available
    from that header (i.e. details, customize, help, and about).
    The has_title property is set at the page region level.
    wwui_api_portlet.draw_portlet_header
    p_provider_id => p_portlet_record.provider_id
    ,p_portlet_id => p_portlet_record.portlet_id
    ,p_title => l_portlet.title
    ,p_has_details => true
    ,p_has_edit => true
    ,p_has_help => true
    ,p_has_about => true
    ,p_referencepath => p_portlet_record.reference_path
    ,p_back_url => p_portlet_record.page_url
    end if;
    -------

  • 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.

  • 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

Maybe you are looking for