[ https://issues.apache.org/struts/browse/WW-809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Holmes updated WW-809: ---------------------------- Summary: Expression Support Properties Configuration (was: Expression Support Properteis Configuration) > Expression Support Properties Configuration > ------------------------------------------- > > Key: WW-809 > URL: https://issues.apache.org/struts/browse/WW-809 > Project: Struts 2 > Issue Type: Improvement > Components: XML Configuration > Affects Versions: WW 2.1.7 > Environment: Webwork2.1.7 > Reporter: WangZheng > Fix For: 2.2.x > > Attachments: webwork-properties-multisupport.zip > > > 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 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.