Struts 2
  1. Struts 2
  2. WW-809

Expression Support Properties Configuration

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: WW 2.1.7
    • Fix Version/s: 3.0
    • Component/s: XML Configuration
    • Labels:
      None
    • Environment:

      Webwork2.1.7

    • Flags:
      Patch

      Description

      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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            WangZheng
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development