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 2005/01/11 16:30:36 UTC

DO NOT REPLY [Bug 33046] New: - Search current action forwards in TagUtils.computeURL

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=33046>.
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=33046

           Summary: Search current action forwards in TagUtils.computeURL
           Product: Struts
           Version: 1.2.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Custom Tags
        AssignedTo: dev@struts.apache.org
        ReportedBy: saleemshafi@gmail.com


I am using the html:rewrite tag, which delegates its work to TagUtils, with the
forward parameter.  Looking at the code, when the forward parameter is set, only
the global forwards defined for that module are examined.  What i had hoped for
was that the current action being processed would be able to expose its forwards
as well.  I imagine that this could be accomplished by extracting the
ActionConfig from the ServletRequest and checking its forwards first.  If the
forward name is not found there, then it could always fallback to the global
forwards.

The reason i would find this useful is in attempting to setup a fairly generic
menu/navigation tile would might be displayed on a view/detail page.  The links
on this menu tile could be defined to go to the "edit" or "delete" forward,
which could then be resolved relative to each view action.  This would make the
menu tile basically static and navigation of the site could be relegated to
configuration.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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