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

        WangZheng created issue -
        WangZheng made changes -
        Field Original Value New Value
        Attachment webwork-properties-multisupport.zip [ 11441 ]
        Patrick Lightbody made changes -
        Assignee Patrick Lightbody [ plightbo@gmail.com ]
        Flags [Patch]
        Fix Version/s 2.3 [ 21510 ]
        Don Brown made changes -
        Fix Version/s Future [ 21530 ]
        Fix Version/s 2.0.0 [ 21510 ]
        Don Brown made changes -
        Workflow jira [ 34211 ] Struts [ 39993 ]
        Jeff Turner made changes -
        Workflow Struts [ 39993 ] Struts - editable closed status [ 43623 ]
        Ted Husted made changes -
        Fix Version/s Future [ 21530 ]
        Fix Version/s 2.1.1 [ 21863 ]
        Ted Husted made changes -
        Assignee Patrick Lightbody [ plightbo@gmail.com ]
        Hide
        Ted Husted added a comment -

        If we decide that we want this, we should obtain a CLA first.

        Show
        Ted Husted added a comment - If we decide that we want this, we should obtain a CLA first.
        Hide
        Don Brown added a comment -

        Yeah, this will need more discussion and porting to Struts 2 besides. How does the fact that we are basically deprecating struts.properties affect this issue?

        Show
        Don Brown added a comment - Yeah, this will need more discussion and porting to Struts 2 besides. How does the fact that we are basically deprecating struts.properties affect this issue?
        Don Brown made changes -
        Fix Version/s 2.1.x [ 21743 ]
        Fix Version/s 2.1.1 [ 21863 ]
        Don Brown made changes -
        Fix Version/s 2.2.x [ 21892 ]
        Fix Version/s 2.1.x [ 21743 ]
        James Holmes made changes -
        Summary Expression Support Properteis Configuration Expression Support Properties Configuration
        Antonio Petrelli made changes -
        Workflow Struts - editable closed status [ 43623 ] Struts - editable closed status (temporary) [ 49158 ]
        Antonio Petrelli made changes -
        Workflow Struts - editable closed status (temporary) [ 49158 ] Struts - editable closed status [ 52261 ]
        Jeff Turner made changes -
        Project Import Mon Feb 01 01:17:42 UTC 2010 [ 1264987062082 ]
        Lukasz Lenart made changes -
        Fix Version/s 3.x [ 12319158 ]
        Fix Version/s 2.2.x [ 12314679 ]

          People

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

            Dates

            • Created:
              Updated:

              Development