Message:

   The following issue has been resolved as FIXED.

   Resolver: fabrizio giustina
       Date: Sat, 9 Oct 2004 5:39 AM

i18n support for column title is now more flexible.
See DISPL-53 for details
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/DISPL-51

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: DISPL-51
    Summary: column title decorator
       Type: Improvement

     Status: Resolved
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: DisplayTag
 Components: 
             I18N
   Fix Fors:
             1.0 RC2
   Versions:
             1.0 RC1

   Assignee: fabrizio giustina
   Reporter: fabrizio giustina

    Created: Wed, 6 Oct 2004 5:16 AM
    Updated: Sat, 9 Oct 2004 5:39 AM

Description:
====
imported from sf tracker
id 959659 
submitted by greg - moinsmoins
http://sourceforge.net/support/tracker.php?aid=959659 
==== 


Hi,

Following this thread on the user-mailing list:
https://sourceforge.net/mailarchive/forum.php?thread_id=4581497&forum_id=28703
https://sourceforge.net/mailarchive/forum.php?thread_id=4581498&forum_id=28703

, I am still not convinced by the proposed solutions,
because these imply usage of jstl and/or struts, which
we don't use in our application.

So what I propose would be a simple ColumnTitleDecorator.
It could have an interface as simple as:
public interface ColumnTitleDecorator {
public String getColumnTitle(String title);
}

where the title string passed to the method would be
the one set as blah in <display:column title="blah">.
This could also extend TableDecorator, as far as i'm
concerned. (since all our decorator classes extend from
a custom base one)

This would allow people to plug in whatever i18n system
they use, very easily.


If you guys like this but have no time to implement it,
I could probably find some time later this month or
somewhere in june to provide a patch for this.

Cheers,




---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to