geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gang Yin (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GERONIMO-4484) Extraction, localization and display of messages generated in portlets
Date Wed, 31 Dec 2008 07:46:44 GMT

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

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 type.
All the portlet applications only have to use addXXXMessage() method in the portlet class
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.



> Extraction, localization and display of messages generated in portlets
> ----------------------------------------------------------------------
>
>                 Key: GERONIMO-4484
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4484
>             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
other.
> 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.


Mime
View raw message