geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gang Yin (JIRA)" <>
Subject [jira] Updated: (GERONIMO-4484) Extraction, localization and display of messages generated in portlets
Date Sun, 04 Jan 2009 01:57:44 GMT


Gang Yin updated GERONIMO-4484:

    Attachment: common-message-core.patch

This is the first patch, other patches will be submitted as soon as possible.
This patch added some necessary methods to the base portlet class to collect messages and
a custom tag to generate the jsp template to display messages according to their types.
All the portlet applications only need to use addXXXMessage() method in the portlet class
to add messages and two lines of code in their jsp pages to dispaly the added messages. The
localization of these messages is done together. The result is shown in the screenshot.
Now I'm working on the adaption of all the portlet applications to use the functionality in
the first patch. Once I finish one portlet application, I will submit a corresponding patch.
There will be 9 patches in all.

> Extraction, localization and display of messages generated in portlets
> ----------------------------------------------------------------------
>                 Key: GERONIMO-4484
>                 URL:
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: console
>    Affects Versions: 2.2
>            Reporter: Gang Yin
>            Assignee: Gang Yin
>             Fix For: 2.2
>         Attachments: common-message-core.patch, err_abbr.jpg, err_detail.jpg, info.jpg
> Currently in admin console, the messages generated from portlets are hard-coded and thus
cannot be localized, moreover, their manner of display in the admin console differs from each
> I am trying to extract all the hard coded messages from the portlets to resource bundle
and work on a unified way to display these messages in admin console. The styles of the messages
are according to their types: error messages, warning message or information messages ,etc.

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

View raw message