DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18111>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18111 contextRelative enhancement to <html:rewrite...> tag Summary: contextRelative enhancement to <html:rewrite...> tag Product: Struts Version: 1.1 RC1 Platform: Other URL: http://www.tragus.org/~jcej/ContextRelative.patch OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: Custom Tags AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] This is an addition to my enhancement request in bug 18107. The above patch includes those changes as well. Similar to my use of <html:img...> in that bug, I have a need for this kind of thing: <td background="<html:rewrite contextRelative="true" page="/images/header/stripes.gif"/>" ... Without the new contextRelative attribute, the <html:rewrite...> will insert the module's prefix which, of course, breaks the image links. Like the earlier change to <html:img...> the contextRelative prevents the module prefix being inserted into the output. In order to implement this, I had to modify RequestUtils.computeURL() which I really didn't want to do. However, it is handling all of the URL resolution for the RewriteTag and I didn't see a cleaner solution. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
