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

Easier intra-page links to anchors with html:link

           Summary: Easier intra-page links to anchors with html:link
           Product: Struts
           Version: 1.1 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Utilities
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When generating an anchor using:
<html:link linkName="top"/>

There seems to be no "easy" way for generating intra-page links to this anchor
when URL rewriting is required and a base URL is set. 
There is a solution that requires a scriptlet:
<html:link href="<%= ((HttpServletRequest)request).getRequestURI() %>" anchor="top">

However, a much more comfortable way to refer to the anchor would be:
<html:link anchor="top">To top</html:link>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to