[
https://issues.apache.org/jira/browse/GERONIMO-3562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648495#action_12648495
]
viola.lu commented on GERONIMO-3562:
------------------------------------
Verify it in geronimo 2.1.3, it just can refer to images under
$g_install_dir\org\apache\geronimo\plugins\console-tomcat\2.1.3\console-tomcat-2.1.3.car\portal-driver.war\images,
not in your application images folder, so you can use your custom image like
below:
<gbean name="MyConsoleExtension"
class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
...
<attribute name="icon">/images/myicon.png</attribute> <!--- new
attribute for icon -->
....
</gbean>
Pls notice that images/myicon.png should be /images/myicon.png.
> customizable navigator icons for admin console extensions
> ---------------------------------------------------------
>
> Key: GERONIMO-3562
> URL: https://issues.apache.org/jira/browse/GERONIMO-3562
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: console
> Affects Versions: 2.1
> Reporter: Paul McMahan
> Assignee: Jarek Gawor
> Fix For: 2.1.2, 2.2
>
>
> The extensible admin console console should support customizable icons for
> the navigator items. One way to implement this would be to enhance the
> gbean definition like:
> {code:xml}
> <gbean name="MyConsoleExtension"
> class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
> <attribute name="pageTitle">Applications/My Console
> Extension</attribute>
> <attribute name="portletContext">/my-console-extension</attribute>
> <attribute name="portletList">[MyPortlet]</attribute>
> <attribute name="icon">images/myicon.png</attribute> <!--- new
> attribute for icon -->
> </gbean>
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.