click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Schellink (JIRA)" <>
Subject [jira] Commented: (CLK-655) Provide a pluggable MessagesMap service
Date Mon, 21 Jun 2010 15:51:25 GMT


Bob Schellink commented on CLK-655:

This looks great, exactly what I had in mind. Just to expand a little on the use cases where
a custom messages map is useful:

- Plug in a MessageMap that conditionally caches properties
- Use an alternative algorithm to load property files. For example at work we have a central
code base that is customized for different clients. While each client uses English property
files some clients want alternative labels for fields. Currently we use a hacked MessagesMap
to provide "context sensitive" lookups, but with this service we could simply plug in our
custom version.

I'm not sure MessageMapService is the right name but can't think of something better at the
moment. We can refactor it at a later stage so feel free to commit.

Kind regards


> Provide a pluggable MessagesMap service
> ---------------------------------------
>                 Key: CLK-655
>                 URL:
>             Project: Click
>          Issue Type: New Feature
>          Components: core
>            Reporter: Bob Schellink
>            Assignee: Bob Schellink
>             Fix For: 2.3.0-M1
>         Attachments: messagesMapService.patch
> Provide feature to plug custom MessageMap implementations into Click.

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

View raw message