0 Replies Latest reply on Aug 31, 2005 6:31 AM by mvoopentext

    Adding portlet mode including a new icon

    mvoopentext

      Hello

      My Portal extends the supported modes by a new mode CONFIG. This mode is shown as a normal link. The question is, what do i have to do, to replace the text link with an icon of my own?

      <?xml version="1.0" encoding="UTF-8" ?>
      <portal>
      <portal-name>LivelinkPortal</portal-name>
      <supported-modes>
      <mode>VIEW</mode>
      <mode>EDIT</mode>
      <mode>HELP</mode>
      <mode>CONFIG</mode>
      </supported-modes>


      Basically i found out that i could add the lines
      MODE_IMG_PATH[LEFT].put("config", "/nodesk/config.gif");
      MODE_IMG_PATH[CENTER].put("config", "/nodesk/config.gif");
      MODE_IMG_PATH[RIGHT].put("config", "/nodesk/config.gif");

      to the file decorations.jsp, but i would rather configure my deployed war than changing the portal installation.