You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/09/15 01:00:51 UTC

DO NOT REPLY [Bug 31231] New: - DefinitionDispatcher cannot take full advantage of new wildcard mappings

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31231>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31231

DefinitionDispatcher cannot take full advantage of new wildcard mappings

           Summary: DefinitionDispatcher cannot take full advantage of new
                    wildcard mappings
           Product: Struts
           Version: 1.1RC2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Tiles framework
        AssignedTo: dev@struts.apache.org
        ReportedBy: news@schof.com


I have an ehancement idea for DefinitionDispatcher.  It would be nice to be 
able to user the parameter as either a name of a request parameter containing 
the name of the tile definition (current functionality) or have it use the 
parameter itself as the definition name (enhancement.)

My idea is to check the request for a value using the parameter value.  If no 
value is found then try using the parameter value itself.  This would allow 
someone to use the wildcard mappings of Struts 1.2 to map tiles definitions to 
the parameter attribute.

I'm happy to provide a patch if people are interestd.  Another option is to 
create a separate action (WildcardDefinitionDispatcher).

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org