struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5566] - html:link bug
Date Thu, 03 Jan 2002 06:09:02 GMT
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=5566>.
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=5566

html:link bug

martinc@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From martinc@apache.org  2002-01-02 22:09 -------
What you are seeing is the intended behaviour. From the Struts documentation 
for <html:link>:

"Renders an HTML <a> element as an anchor definition (if "linkName" is 
specified) or as a hyperlink to the specified URL."

In other words, when the 'linkName' attribute is specified, the <html:link> tag 
generates what the HTML spec refers to as a "destination anchor".

I believe what you are looking for is a "source anchor", 
where "#lnkLstProducts" (in your example) would be appended to the URL. In this 
case, you need to specify the 'anchor' attribute instead of the 'linkName' 
attribute.

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


Mime
View raw message