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: [email protected] ReportedBy: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
