[ 
https://issues.apache.org/jira/browse/GERONIMO-3345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Larsen updated GERONIMO-3345:
------------------------------------

    Attachment: example_extension.war

This is an example WAR that shows how to extend the console.  It adds a 
HelloWorld portlet to the console.

There are two main things that you need to do in the geronimo-web.xml 
deployment plan:
1. Put a dependency on pluto-portal
<dependencies>
    ...
    <dependency>
        <groupId>org.apache.geronimo.portals</groupId>
        <artifactId>pluto-portal</artifactId>
     </dependency>
</dependencies>


2. add an ACEGBean declaration
<gbean name="ACETest" class="org.apache.geronimo.pluto.ACEGBean">
    <attribute name="pageTitle">Hello</attribute>
    <attribute name="portletContext">/HelloWorldPortlet</attribute>
    <attribute name="portletList">[HelloWorldPortlet]</attribute>
</gbean>



> Enhancements for Extensible Admin Console (Intended for sandbox/portals)
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-3345
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3345
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: console
>         Environment: WindowsXp, Maven 2.0.6, Java 1.5.0_12
>            Reporter: Ajay Panagariya
>            Assignee: Paul McMahan
>         Attachments: example_extension.war, Geronimo-3345.patch
>
>
> This is for sandbox/portals
> -This patch adds functionality to allow extensibility of the admin console. 
> Portlets can be dynamically added by starting an ACEGBean with the 
> appropriate parameters.
> -Security has been enabled
> -Look and feel has been updated to reflect the current Admin Console
> -Currently some of the links may not work (this will be fixed as soon as 
> Pluto updates thier snapshot to reflect PLUTO-396)
> After applying the patch, run the following from a linux commandline inside 
> of /portals to move the image resources to the proper location:
> ls geronimo-console/src/main/webapp/images | xargs -i svn move 
> geronimo-console/src/main/webapp/images/{} 
> pluto-portal/src/main/webapp/images/{}
> Thanks to Daniel Larsen, Becky Smith, and Viet Nguyen for their contribution. 
> EDIT: Can't forget Paul McMahan. Thanks Paul!
> -Ajay Panagariya

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to