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

Automatic Alias ActionConfigs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 6.5.0
    • None
    • None

    Description

      Create ActionConfigs for Action class methods that do not already have aliases

      The initial "dynamic method invocation" implementation does not create an ActionConfig, but scans for a "!" and invokes the method directly. The implementation doesn't allow these alias methods to be browsed, overrridden with static actions, nor can they have their own validators, type convertors or resources.

      Rather than scan for dynamic method references at run time, an alternate approach would be to scan the configuration when it is first loaded and create ActionConfigs for all potential alias methods.

      See also http://www.mail-archive.com/dev%40struts.apache.org/msg25916.html

      Attachments

        Activity

          People

            Unassigned Unassigned
            husted Ted Husted
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: