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/05/24 17:46:37 UTC
DO NOT REPLY [Bug 29181] New: -
Easier intra-page links to anchors with html:link
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: dev@struts.apache.org
ReportedBy: dieter@wimpi.net
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: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org