On Tue, Jun 15, 2010 at 2:26 PM, Alfred Campbell <[email protected]> wrote:
> Sorry was out and meant to comment on this one:
> http://list.sipfoundry.org/archive/sipx-dev/msg23702.html
>
> Couple comments:
> 1. Don't think removing the s/w information from the bottom of the admin
> pages is a good thing. This is beneficial to support folks. If it was to
> be removed I could see the User Portal being the place.
> 2. Looks like you have started a software inventory page in the About.
> This is a great feature however it needs to be something that is
> complete and not just list a couple components. This should be something
> that is automatic and queries RPM's/JAR files to obtain the relevant
> license and names. Otherwise what you have here is a static page that
> could potentially become out of date unless manually updated.

Based on people ideas/comments (thanks) I have created a new patch (
attached at XX-8546) that offers a dynamic/pluggable about page based
on Velocity template parsing mechanism
It consists in:

-An about dialog that contains the same information as in footer -
dinamically created:
-The dialog content is dinamically created using velocity engine
-A velocity template file (about.vm) with variables for dynamic content
-AboutContext java spring bean that uses a new classpath velocity
engine that retrieves the content that has to be displayed in the
dialog, retrieved from about.vm. It puts two objects in the velocity
template: an AboutBean for the current information
displayed in the about dialog and a plugin about bean (if available)
for any plugin extension we may want to add
-AboutBean java bean with properties like version or copyright that
are displayed in the about dialog
-about dialog .css class

Benefits:

- There is no static text displayed: if a different, more complicated
AboutPage needs to be implemented, simply only the about.vm template
and AboutBean has to be changed to get new wanted data (dinamically)

-Plugin capabilities:
  1. create plugin specific about.vm template that simply overwrites
the original about.vm (overwrite the about.vm path in the
sipxplugin.beans.xml spring configuration file - can be automatically
picked up by the newly created velocity engine that reads resources
from classpath)
  2. create a plugin specific About Bean (it is automatically added as
a variable in the about.vm by the AboutContext) that should have
properties to retrieve any dinamic data needed

-localization support (IPage object is available in the about.vm - can
be retrieved from the default AboutBean)

-specific dialog look&fell kept in a css class (in layout.css - can be
easily overwritten in a potential plugin)

Also, I can write more detailed wiki documentation.
Hope this meets everyone needs.

Thanks,
Mircea


>
> -1 from me on this in its current state
> _______________________________________________
> sipx-dev mailing list [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipx-dev
> Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
> sipXecs IP PBX -- http://www.sipfoundry.org/
>
_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to