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

Similar Messages

  • How to add linked button in grid?

    Hi,
    Does anyone know how to add linked button in a grid? I can't find it but i saw someone ask similar question but seems none of them works.
    Thanks a lot!
    P.S. For some reason, i can't use matrix because the data is from a SQL query.
    Lan

    Hi,
    as far as I know it is not possible, since this adjustment is made for the whole column. I have created a grid and I open the shown document by double clicking the row header. In the grid I can see if it is sales or purchase and so I use a workaround by opening the specific system form (e.g. sales invoice) in find mode and search the document by document number (also shown in the grid).
    Sample:
    oSBOapp.ActivateMenuItem("2053"); //sales invoice
    oForm = oSBOapp.Forms.ActiveForm;
    oForm.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE;
    oEdit = (SAPbouiCOM.EditText)oForm.Items.Item("8").Specific;
    oEdit.Value = Convert.ToString(dNum);
    oForm.Items.Item("1").Click(SAPbouiCOM.BoCellClickType.ct_Regular);
    By the click event, you get the specific row number. Hope it helps...
    Regards
    Sebastian

  • 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 a image to header of exporting pdf in devexpress gridview

    hi guys ;
    how to add a image to header of exporting pdf in devexpress gridview content

    Hi Aly14,
    I am not sure what the type of your project was, is it a C# project or an asp.net project?
    If would be helpful if you could share us more information about your issue.
    In addition, I made a research about your issue and I think the links below might be useful to you:
    # ASPxGridView insert an image for Header and Footer sections for pdf export
    https://www.devexpress.com/Support/Center/Question/Details/Q37155
    # Adding an "Export Header" to PDF export in MvcGridView
    https://www.devexpress.com/Support/Center/Question/Details/T141918
    Best Regards,
    Edward
    This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore,
    Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you
    completely understand the risk before retrieving any software from the Internet.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • How to add color only in header

    how to add color only in header and arrange a background color selected from desktop

    You can place rectangle in header section on master page which would be applied on sub pages and then fill rectangle with color.
    If you are after a specific color then simply use color code and fill.
    Thanks,
    Sanjit

  • How to add link and image in oaf iprocurement stores page?

    Hi Every1,
    I have requirement to in iprocurement stores page. Already there are certain links ( a meaning full image+link ), by click on image or link it will take you to the
    required page.
    I need to add one more like that.
    How can i do this ?
    I know thru personalizations we can add links to the page, but how can i add image to that link. so that click of anyone will take to the req page.
    Thanks,
    Arun Peddi

    Hi,
    Here is one way of putting an image in the header:
    <fo:layout-master-set>
        <fo:simple-page-master master-name="my-page">     
          <fo:region-body margin="1in"/>
          <fo:region-before extent="1in" background-color="silver" />
        </fo:simple-page-master>
      </fo:layout-master-set>
      <fo:page-sequence master-reference="my-page">
         <fo:static-content flow-name="xsl-region-before">
             <fo:block height="150px" width="1024px" background-color="white" >
                 <fo:external-graphic src="http://localhost:9000/web-determinations9000/images/Header.jpg">
                 </fo:external-graphic>
            </fo:block>
        </fo:static-content>
        <fo:flow flow-name="xsl-region-body">
        </fo:flow>
      </fo:page-sequence>One good XSL:FO refernce: http://www.learn-xsl-fo-tutorial.com
    Hope this helps.
    Thanks,
    Aakarsh
    Edited by: aakarsh on Apr 6, 2011 6:40 AM

  • How to add item in column header

    How can i add an messageStyled item(or any item) in column header? if so how can i do this

    Standard framework feature allows to add only a sortable header bean in a column header which holds some of the UI and runtime properties for that column.
    If you can explain your requirement, we can suggest the way to achieve that.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Hi Experts, oo hierarchical alv, how to add checkbox on every header?

    Hi Experts,
    I am working on oo hierarchical alv, how can I add checkbox on every header? thanks in advance!
    Kind regards
    Dawson

    Hi Dawson,
    Just refer the below program & pass the check box functionality (mentioned in bold) in REUSE_ALV_HIERSEQ_LIST_DISPLAY in your program.
    TYPE-POOLS : slis.
    Data
    DATA : BEGIN OF itab OCCURS 0.
    INCLUDE STRUCTURE t001.
    DATA : flag tyPE c,
    END OF itab.
    DATA : alvfc TYPE slis_t_fieldcat_alv.
    DATA : alvly TYPE slis_layout_alv.
    Select Data
    SELECT * FROM t001 INTO TABLE itab.
    *------- Field Catalogue
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    i_program_name = sy-repid
    i_internal_tabname = 'ITAB'
    i_inclname = sy-repid
    CHANGING
    ct_fieldcat = alvfc
    EXCEPTIONS
    inconsistent_interface = 1
    program_error = 2
    OTHERS = 3.
    Display
    alvly-box_fieldname = 'FLAG'.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    it_fieldcat = alvfc
    i_callback_program = sy-repid "<-------Important
    i_callback_user_command = 'ITAB_USER_COMMAND' "<------ Important
    is_layout = alvly
    TABLES
    t_outtab = itab
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    CALL BACK FORM
    FORM itab_user_command USING whatcomm TYPE sy-ucomm whatrow TYPE
    slis_selfield.
    LOOP AT itab.
    itab-flag = 'X'.
    MODIFY itab.
    ENDLOOP.
    IMPORTANT.
    WHATROW-REFRESH = 'X'.
    ENDFORM. "ITAB_user_command
    Regards
    Abhii...

  • How to add link button in Query generator

    Hi,
    I am trying to add link button in Query reports. While the query is for system table it automatically gives columns with link button  but how to do this for user Tables.

    Hi,
    Even by standard, this is not possible only when you using UDO.
    You can create your form with Matrix, and use FlushToDataSource Method to load large amount of data inside. Now you can program the linked button click (et_MATRIX_LINK_PRESSED) by columns.
    Regards,
    J.

  • How to add link in subtabLayout using OA Framework page personlization

    Hi,
    how to add new link in subTabLayout using OA Framework page personalization.

    Hi Sumit,
    I am also working similar kind of requirement. In my case I tried to add new tab subtab using personalization , how ever the add new item button is not enable.
    So I created new stacklayout and tried to add this to new tab in the existing subtablayout by using co process form request code:
    public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    super.processRequest(oapagecontext, oawebbean);
    OracleCallableStatement oraclecallablestatement = null;
    OracleConnection oracleconnection = (OracleConnection)oapagecontext.getApplicationModule(oawebbean).getOADBTransaction().getJdbcConnection();
    try{
    oracleconnection.setAutoCommit(true);
    oraclecallablestatement = (OracleCallableStatement)oracleconnection.prepareCall("begin GLO_TMPVIJ_PRCV(:1); end;");
    oraclecallablestatement.setString(1,"In the custom co process request");
    oraclecallablestatement.execute();
    }catch(SQLException sqlexception)
    throw OAException.wrapperException(sqlexception);
    OASubTabLayoutBean subTabLayout =
    (OASubTabLayoutBean)oawebbean.findChildRecursive("ApplicationDetsTabLayout");
    OASubTabBarBean subtabbar = (OASubTabBarBean)oawebbean.findIndexedChildRecursive("subTabBar");
    OALinkBean link = (OALinkBean)oapagecontext.getWebBeanFactory().createWebBean(oapagecontext,
    OAWebBeanConstants.LINK_BEAN, null,
    "link");
    OAStackLayoutBean commentsRN =
    (OAStackLayoutBean)oapagecontext.getWebBeanFactory().createWebBean(oapagecontext,
    "/xxhr/oracle/apps/irc/candidateManagement/webui/CommentsRn",
    "CommentsRn", // always specify name
    true); // region created in Oracle9i JDeveloper OA Extension
    subTabLayout.addIndexedChild(commentsRN);
    subTabLayout.addIndexedChild(link);
    in this I am not ale to add the new tab.
    Regards,
    Vijay Reddy.

  • How to add links and rollovers from an exported Edge Reflow HTML in Dreamweaver?

    Hi,
    Thanks to the very helpful community I have found the way to get my HTML file from Edge Reflow.
    Upon opening the HTML file in Dreamweaver, the CSS, Java scripts are wonderfully linked. However, I am not experienced enought to manipulate the divs to get a rollover or add links to the layout.
    Eg. Sticky Navigation bar on the top, how do you add rollovers and links?
    All help is very much appreciated.
    Thank you for your help in advance!

    Hi Chris,
    your plan for Reflow sounds good. Versioning is probably the most adaptable way to integrate it with the rest of the workflow.
    What I think is still missing, on the simple side, is link creation and management inside Reflow.
    Of course, considering you have just introduced multiple pages, this feature shouldn't be far...
    About Dreamweaver, I've been a faithful user for years but now it's definitely old for some uses.
    Just to say, if I open the responsive page I just created in Reflow with DWCC in Live View, something basic as background gradients are completely missing. Well, I'm not going to use it for this kind of work.
    Do you know for what DW is still a great tool? Email Newsletters, since they still have to respect old standards that no one else uses anymore.
    For all the rest I definitely prefer the editor/IDE way: SublimeText and other tools.
    They're faster, more apt to the task and, similarly to the Adobe Edge line of products, made with the same technologies they help to work with.
    In the future, who knows... Maybe, you should put in development a "Dreamweaver Edge" version and drop the old one, a little clunky even if recently revarnished  ;-)

  • How to add links in the detailed navigation area of the navigation panel

    hi everyone,
    I had developed 4 iviews. 2 of those iviews i added to 2 different pages. And the 2 pages added to workse and assigned a role. i assigned this role to user. and it is working fine.
    i want to add remaining to iviews as links.
    how to add the links in the detailed navigation area of the navigation panel.
    regards
    sunil kumar.ch

    Hi sunil,
       Create a JSPDynPage component(C) having 2 hbj:link whose hrefs point to these 2 iViews(A and B). U can get the href of the iView by previewing it(for A and B). Create an iview from the par component (C) and add it to the DLN so that it shows the links to ur iViews(A and B). U can make the Show Tray property of this iView (C) to false.
    Regards,
    Harini S

  • How to add link in full screen email Lion?

    Hi all
    I've been using the full-screen versions of most apps since istalling Lion. Not perfect but I like being able to swipe between screens. However the email function in full screen doesn't allow you to add a link to your message. When you hit compose new message the toolbar functions don't drop down. Am I missing something here?
    thanks
    WG
    Ps - I also have had the Wifi problem which was resolved by setting up network again. Time Machine does seem to take longer to backup with Lion. Finally, also have problems with email where it can't send emails sometimes. None of these dealbreakers for me but hopefully new release version will deal with them!

    You should have a limited toolbar, but the add link button isn't part of it.
    You can add a link using the Edit menu (or cmd-k), or select text and right-click (Link>Add Link…)

  • How to add new custom SOAP header when generate webservice?

    Hi
    When invoke an external webservice, SOA Gateway provide a method to add new customized SOAP Header, via extending seeded java function "WebServiceInvokerSubscription".
    And in case of generating a new webservice in EBS, is there some similar method to add new customized SOAP header in the webservice?
    Thanks
    James

    Look at your Payment Process Profile. THere should be a reporting subtab and within that subtab is a Separate Remittance Advice region. I believe that is where you specify the format for the remittance advice document (which is built in XML Publisher). Take a look at that.
    John Dickey

  • How to add month to dashboard header?

    Hi Experts,
    we have calmonth coming from a cube and that is supplied to a query and this query is the source for the dashboard. i need to add calmonth to dashboard header ? please give ur inputs..
    we are broadcasting to portal with bex broadcaster settings.
    points will be assigned.
    Thanks

    You can place rectangle in header section on master page which would be applied on sub pages and then fill rectangle with color.
    If you are after a specific color then simply use color code and fill.
    Thanks,
    Sanjit

Maybe you are looking for

  • Album Art - some albums will not allow art to be added manually - help?

    I've searched the archive for an answer to this, but haven't found a solution. I'm importing many of my CD's into iTunes, some of which I have to add the album art manually. For the most part this works just fine, as I go to "Info," and drag the art

  • How do I get Adobe Acrobat to update automatically?

    When I open a pdf I get a message that says, "Adobe Acrobat Updater has not been able to update in a while". Then it gives me the option to click a link to search for a problem online. I end up with a million update options but have no idea which one

  • Need a fonction : start- and end-ID for reading musicfiles in keynote

    My english is not good, but I'm asking for a new fonction in keynote. I really need a fonction in keynotes for making music presentation : to be able to give a startpoint and an endpoint for playing music. To prepare the cuts in the music (to make so

  • Use mssql server in place of hsqldb

    Hi, If this is wrong forum then pl tellme. I am posting my problem. I used hsqldb server(default one,no need to install any server).Now I want to use mssql server 2000. I am posting for your convienience. Pl. look :: hibernate.cfg.xml This is one whe

  • Table that captures change history of Ownership of Tranport Requests.

    Hello Folks,                     I have been trying to locate a table that captures change in ownership of requests. I've tried Transport organizer transactions SE01 (extended view), tables E070 and E071 and SE03 but without success. Is there a table