You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Howard Moore <Ho...@Datapulse.com> on 2001/01/26 18:06:19 UTC
LinkTag
Another tag modification for consideration.
I've modified the LinkTag so that if both name and linkName are specified a
link to a target on a page is built. For example this;
<html:link href="/some/page.html" linkName="bottom">
now produces this;
<a href="/some/page.html#bottom">
-------------------------------------------
Howard Moore
Senior Software Engineer
Datapulse CTI
Tel : +44 (0)1491 418000
Fax : +44 (0)1491 411459
E-mail: Howard.Moore@datapulse.com
Re: LinkTag
Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
Howard Moore wrote:
> Another tag modification for consideration.
>
> I've modified the LinkTag so that if both name and linkName are specified a
> link to a target on a page is built. For example this;
>
> <html:link href="/some/page.html" linkName="bottom">
>
> now produces this;
>
> <a href="/some/page.html#bottom">
>
Is there a particular reason that doing it this way would be better than:
<html:link href="/some/page.html#bottom"/>
? I'm concerned about making it hard to understand what the linkName attribute
is for.
>
> -------------------------------------------
> Howard Moore
Craig