Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-2277

Using wildcards on validation field names

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Future
    • Fix Version/s: Future
    • Component/s: XML Validators
    • Labels:
      None

      Description

      It would be nice if I can use wildcards in validation field names

      <field name="*name">

      This would resolve the issue of validating collection attributes

      <field name="collection[*].attribute">

      Even collection inside collection attributes

      <field name="collection[*].collection[*].attribute">

      and other complicated model objects

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nestorjb Nestor Boscan
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: