Issue Details (XML | Word | Printable)

Key: XW-475
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Rainer Hermanns
Reporter: Oleg Gorobets
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
XWork

Make TextProvider configurable

Created: 02/Feb/07 05:31 AM   Updated: 27/Mar/07 07:51 AM
Component/s: Configuration
Affects Version/s: 2.0
Fix Version/s: 2.0.1, 2.1

File Attachments: 1. Text File xwork_TextProvider.patch (5 kB)

Issue Links:
Related
 


 Description  « Hide
It will be rather convenient to have TextProvider to be configurable from outside XWork, e.g. from Struts2, especially when using sophisticated translation mechanisms involving database, not only *.properties file. The patch I submitted allows creation of TextProviders from factory, not simply instantiating TextProviderSupport class. Factory should be configured through setInstance() method much like ObjectTypeDeterminerFactory.


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Oleg Gorobets added a comment - 02/Feb/07 05:38 AM
Patch added

Rainer Hermanns added a comment - 16/Feb/07 03:40 AM
Thanks for the patch, applied for 2.0.1/2.1