Changing look of Favorites portlet

Is there a way to adjust the space between and space around the items in the Favorites portlet? I want the spacing to match the spacing in rest of the portlets on the page.

An improved version of my previous example to list the properties. This one shows the keys in alphabetic sequence and the value types.
UIDefaults def = UIManager.getLookAndFeelDefaults();
TreeSet ts = new TreeSet(def.keySet());
Iterator iter = ts.iterator();
while (iter.hasNext()) {
    Object key = iter.next();
    System.out.print(key);
    try {
        System.out.println(" : " + def.get(key).getClass().getName());
    } catch (NullPointerException e) {
        System.out.println(" : null");
}Then you can can change the fonts (for example) for certain components like this
JPanel p = new JPanel();
Font font = new Font(getFont().getName(), Font.BOLD, 24);
UIManager.put("Button.font", font);
UIManager.put("TextField.font", font);
UIManager.put("Label.font", font);

Similar Messages

  • Changing the favorites portlet title according to selected language

    we have bilingual portal. i need the title of the favorites portlet to be changed according to selected language. for example when the user click english the title will be favorites and when he click spanish the title will be favoritos.

    You can use the FM GET_GLOBALS_FROM_SLVC_FULLSCR to get the ALV Grid object behind the FullScreen ALV. Then use the method GET_VARIANT to get the Selected Layout name.
    Something like this:
    FORM F_TOP_OF_PAGE.
      DATA: LO_GRID TYPE REF TO CL_GUI_ALV_GRID.
    * Get the ALV Object reference
      CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
        IMPORTING
          E_GRID = LO_GRID.
      if lo_grid is bound.
         lo_grid->get_variant( importing es_variant = lv_layout ).
      endif.
    ENDFORM.
    Some examples on where FM GET_GLOBALS_FROM_SLVC_FULLSCR can be used:
    [Moving Cursor to Next row by pressing Enter in Classical ALV|http://help-abap.zevolving.com/2008/09/moving-cursor-to-next-row-by-pressing-enter-in-classical-alv/]
    [Classical ALV: Disable DELETE key on Keyboard in Grid|http://help-abap.zevolving.com/2008/10/alv-disable-delete-key-on-keyboard-in-classical-alv-grid/]
    Regards,
    Naimesh Patel

  • Default favorites portlet for different groups in oid

    Hi,
    We are using Portal 10.1.4.
    I want to use the favorites portlet to have default favorites for different user groups (So different set of default favourites for diffrent portal group)
    Is this possible? Is the portlet cached at the system level? can this be changed?
    Also, How do I hide the help link and image from the 'personalize' wizard?
    Can the display in the wizards be modified in other ways?
    cheers
    Kev

    Vijay, that doesn't seem to work. What I need (and I think it is the same as the original poster ) is to have several different instances of the favorites portlet or one instance that can have its links access controlled. e.g. A favorites portlet for the students group with links that only that OID group can see, a favorites portlet for staff with links that only the staff OID group can see. I am using portal 10.1.4 and cannot see any way to access control the default favourites.
    Thanks,
    Steven.

  • Oracle portal Favorites portlet

    Has anyone found a way to default for other users the links in the favorites portlet? Or get rid of the oracle links? We would like to roll this out, but we will not if we cannot even put our default links in there. There are no edit_defaults links available.
    Any ideas?
    Thanks.
    null

    We've cheated and actually changed the data in the table WWPTL_FAVORITE$ ( schema PORTAL30) where the USER_ID = 'PUBLIC'. Just log on as the schema portal30 and you can then directly change the default values.

  • Saving a speed change as a favorite effect

    How do you Saving a speed change as a favorite effect? I've looked all over and cannot find a solution for this??

    I'm not at my Mac right now to check this, but I seem to recall (with an old and fading memory) that it could be saved as a "Motion Favorite." Do a search in the manual for that and let us know what you find out.
    -DH

  • Customizing Favorites portlet **PAGE**

    I would like to change the page style of the Favorites portlet but I don't see the needed pages in the Portlet Repository.
    Are they in a JSP or servlet somewhere?
    /d

    Doug,
    Styles will most likely meet your needs. You can apply them to an entire page group, page or page region. Templates are more useful when you are certain of your site's layout and want to enforce design standards for a large enterprise effort. Even then, since templates use styles, you'll want to define your styles first.
    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
    Best regards,
    Jay

  • How can we remove the space after changing look and feel to generic

    Hi
    I want to remove the space which left blank after changing look and feel to generic in formsweb.cfg file.
    Can anybody help me to remove this blank space.

    Hi,
    can you be more specific on teh space you mean?
    Frank

  • Losing Title Bar when changing Look and Feel on the fly

    Hello,
    I have an option in my Swing app for the user to change the Look & Feel on the fly by selecting from a radio button list. The look and feel is changed when the user make the selection, however the Windows Title Bar disappears. Any ideas what I'm missing?
    private void setLook(String mode)
    String lookAndFeelClassName = null;
    UIManager.LookAndFeelInfo looks[] = UIManager.getInstalledLookAndFeels();
    for (int i = 0; i < looks.length; i++)
    if (mode.equalsIgnoreCase(looks.getName()))
    lookAndFeelClassName = looks[i].getClassName();
    break;
    try
    m_view.dispose();
    UIManager.setLookAndFeel(lookAndFeelClassName);
    SwingUtilities.updateComponentTreeUI(m_view);
    m_view.setVisible(true);
    catch (Exception e)
    JOptionPane.showMessageDialog(m_view, "Can't change look and feel:" + lookAndFeelClassName, "Invalid PLAF", JOptionPane.ERROR_MESSAGE);

    You are disposing the view. My guess is that this is your problem. Try creating a new one instead of just showing the old disposed one

  • Event on changing Look and Feel

    I want to know what event is fired when I change Look and Feel.
    Thanks,
    Pati

    Ideally you'll be using the UIManager.setLookAndFeel() to change the installed LookAndFeel. In the UIManager, the installed LNF is bound to a JavaBeans property using the SwingPropertyChangeSupport with the key: "lookandfeel". Any time this changes, a PropertyChangeEvent will be fired to the PropertyChangeListeners registered with the UIManager. You can simply add a PropertyChangeListener to the UIManager and listen for events that are bound to that particular property, such as...
        UIManager.addPropertyChangeListener( new PropertyChangeListener() {
            public void propertyChange( PropertyChangeEvent e ) {
                if( "lookAndFeel".equals( e.getPropertyName() ) ) {
                    System.out.println( "look and feel changed" );
        });The event encapsulates the new value and the old value so you can do whatever you need with that information.
    I used an anonymous inner class mostly as an example - You may need to consider a cleaner design for your purposes.
    Hope this helps!
    Matt

  • Changing Look & Feel of Detailed Navigation

    Hi Gurus
    I want to change Look & feel (e.g. font size, font type, background color etc) of Detailed Navigation in portal.
    Please can anyone let me know which PAR file or files I need to modify for that?
    Thanks,
    Vaibhav Srivastava

    hi Vibhav,
    I think the below article will help you to get the exact par file, how to modify and see the changes in portal.
    -it is my own article:)
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60caa539-8e51-2a10-0e83-e0a68ab3f5aa|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60caa539-8e51-2a10-0e83-e0a68ab3f5aa]

  • How can I put "Favorites"portlets for various users in a page?

    How can i put in a page two "Favorites" portlets (one for each user that log on into the page and one for each group of users that logon into the page),so each
    user can customize (add favorites,delete favorites,..) it's own "Favorites" portlet and the other "Favorites" portlet is only customizable by a
    group of user,so if the user log on is not in that group can't customize the portlet.

    The favorites portlet is set up to work this way automatically. You put one version on a page, and the customizations are stored for each individual user. So the same portlet displays different favorites based on the logged in user. At this point, there is no way to define favorites for a group.

  • Single click to add "current page" to favorites portlet

    Hello all,
    Ok, I'd like to construct a hyperlink and have it on every page in our Portal. Clicking on it automatically adds the "current page" to the Favorites portlet.
    Anyone have any ideas? Does the Favorites portlet expose any interesting api solutions?
    Thanks

    Hi,
    A bit late for a response to the original posters though others may benefit.
    The Portal Smart Link "Favorites" performs this function. Add it to your template and you are done. Note, it is not Tab aware if your page has them.
    cheers
    John

  • "Favorites" Portlet customization

    Is it possible to modify the links in the Favorites (My Links) portlet to open in a new window? I don't want the user to leave the current portal session every time a favorites link is activated. I see that this functionality is available when adding a new link to a content area. This is something that should also be possible with the Favorites portlet.
    Any help would be greatly appreciated.
    Dan Tillotson

    Hi,
    The problem is somehow there is no default DAD entry in your DAD config files. Please do the following -
    1. Open the $IAS_HOME/Apache/modplsql/cfg/wdbsvr.app file. ($IAS_HOME would be where you have installed iAS).
    2. Verify whether you have any dad in your file. If not , add manually a dad named "sample".
    3. In the top section in this file, there would be a field called "default DAD". you need to provide some existing dad in that file.
    4. You need to restart your iAS server.
    Now, you can access this URL.
    Thanks,
    Ved

  • Changing look of Detailed Navigation

    Hallo,
    Can anybody tell me how to change look of Detailed Navigation globally for all pages or for certain page?
    Best regards,
    Josef Motl

    Hi Josef,
    lines between entries are not possible with the theme editor, I believe.
    On which SAP EP version are you?
    If applicable use the new navigation tag lib (SPS14) otherwise I would suggest to update to this version.
    You can achieve any design you want with this tag lib.
    Directly editing of the DetailedNavigation-iView is a nightmare (I tried it by myself). And you will have the problem of keeping everything compliante in new versions (which will be the next nigthmare).
    This is the link to the documentation of the tag lib:
    http://help.sap.com/saphelp_nw04/helpdata/en/42/f35146a7203255e10000000a1553f7/content.htm
    Please note, that the example of the DTN iView there has a bug. See this thread for a solution:
    Re: EFP - DTN - Null Pointer Exception
    Best regards,
    Stefan Brauneis

  • Changing the heading of portlets

    I was wondering if we can change the headings of portlets that we import into a page. We can change the font and colour of the headings but I want to include an image for the portlet heading. So if anyone who knows how to include an image for a portlet heading please reply regarding this matter

    Hi,
    You cannot add an image to the portlet header by editing the region. The only way you can do it is for hand coded portlets. If you creating your own portlet then you can add an image. You cannot do the same with the portlets available with Portal.
    Thanks,
    Sharmila

Maybe you are looking for

  • How to round unit price in XSL-FO Standard Purchase Order

    I have been trying to round the unit price of the Standard Purchase Order stylesheet that is written in XSL-FO. Please could someone suggest I how I could achieve this? As my attempt have been unsuccessful. In the stylesheet the following line of cod

  • How to eliminate default text in Photo Mail creations

    Every time I create a Photo Email in PSE 11 the email appears in my email client with this text added to it:  "Here are the files that I want to share with you".  I do not what this text and I have to select it and delete it for every email I create.

  • EMac Combo drive for a DVD burner ( superdrive)

    Hi . I have purchased a used eMac 1 ghz . it has a stock combo drive . i burn a lot of DVDs .I have a external plextor DVD burner ( super drive ) and i was woundering if it would fit in the eMac ? do i need to remove the little bezel at the end of th

  • Duplicate check for fb01

    here i have question provided the transaction A was contianed in the first batch file and posted into the system successfully , and also  contained in the second batch file by mistake, how the tcode fb01 treated it as the duplicate posting ? any resp

  • Best way to flatten colored art into line art?

    Hi All! Not sure how to properly explain this ... but if I have an illustration that I created where objects are overlapping eachother, what is the best way to get just the oulines with out a lot of copy/paste/knock out? It takes a while and to me it