Issue Details (XML | Word | Printable)

Key: WW-809
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Won't Fix
Priority: Major Major
Assignee: Patrick Lightbody
Reporter: WangZheng
Votes: 1
Watchers: 1
Operations

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

Expression Support Properteis Configuration

Created: 20/Jul/05 08:26 AM   Updated: 10/Feb/07 08:44 PM
Component/s: Configuration
Affects Version/s: 2.1.7
Fix Version/s: None

File Attachments: 1. Zip Archive webwork-properties-multisupport.zip (88 kB)

Environment: Webwork2.1.7

Flags: Patch


 Description  « Hide
ExpressionConfigurationSupport provide a strong and convenient solution for webwork's "webwork.custom.i18n.resources" and "webwork.custom.properties" 's config,
it can replace the default impl DefaultConfiguration, it has three strongpoints rather than the default impl :

* Wildcard Charachter Config Support (Later may be add Regex support).
* Resursion Support.
* White Space Support.

1. Designation all propertiy files in some package with a wildcard character
You can define the "webwork.custom.i18n.resources " or "webwork.custom.properties" like this :
webwork.custom.i18n.resources = ApplicationResources, org/summerfragrance/security/web/webwork/*
Then all ".properties" files will be added to webwork's configuration.

2. Resursion Support
If you set the resursion attribute to "true", all property files in the package you specified and all it's sub-package will be added to webwork's configuration.

3. White Space Support
As we know, the default impl DefaultConfiguration doesn't support white space between multi config files, so I add this :)

Please the zip file from http://www.hibernate.org.cn/download.php?id=1351


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Tom Schneider added a comment - 10/Feb/07 08:44 PM
Won't be fixed in webwork. Please submit a struts2 patch if you wish to have this functionality. (I know that wildcards are already supported)