You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Jira)" <ji...@apache.org> on 2022/06/16 08:50:00 UTC

[jira] [Updated] (WW-809) Expression Support Properties Configuration

     [ https://issues.apache.org/jira/browse/WW-809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukasz Lenart updated WW-809:
-----------------------------
    Fix Version/s:     (was: 6.1.0)

> Expression Support Properties Configuration
> -------------------------------------------
>
>                 Key: WW-809
>                 URL: https://issues.apache.org/jira/browse/WW-809
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: XML Configuration
>    Affects Versions: WW 2.1.7
>         Environment: Webwork2.1.7
>            Reporter: WangZheng
>            Priority: Major
>         Attachments: ASF.LICENSE.NOT.GRANTED--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 was sent by Atlassian Jira
(v8.20.7#820007)