You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2007/08/20 07:23:34 UTC

[jira] Updated: (STR-2076) Easier intra-page links to anchors with html:link

     [ https://issues.apache.org/struts/browse/STR-2076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Benedict updated STR-2076:
-------------------------------

    Assignee:     (was: Struts Developers)
     Summary: Easier intra-page links to anchors with html:link  (was: [taglib] Easier intra-page links to anchors with html:link)

> Easier intra-page links to anchors with html:link
> -------------------------------------------------
>
>                 Key: STR-2076
>                 URL: https://issues.apache.org/struts/browse/STR-2076
>             Project: Struts 1
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.1.0
>         Environment: Operating System: All
> Platform: All
>            Reporter: Dieter Wimberger
>            Priority: Minor
>
> 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>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.