You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Struts Newsgroup (@Basebeans.com)" <st...@basebeans.com> on 2001/12/22 02:25:01 UTC

html:link tag bug???, Really need help!

Subject: html:link tag bug???, Really need help!
From: "Nicolas Paris�" <ni...@globetrotter.net>
 ===
Hi,

I work in a project now where I need to use the html:link tag
this way

<html:link page="/listProducts.do" linkName="lnkLstProducts">THe
link</html:link>

Every time the linkName param is present, the page tag is removed, so in the
previous
example, here is the rendered HTML

<a name="lnkLstProducts">THe link</a>

Where is my href="/listProducts.do" ???

I really need to use the anchor "name" tag, because I call this anchor from
a Javascript menu

please help me

Thank you!

Nicolas Parise



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: html:link tag bug???, Really need help!

Posted by Ted Husted <hu...@apache.org>.
You may have to put the anchor link in by hand

<a name="lnkLstProducts">THe link</a><html:link page="/listProducts.do"
linkName="lnkLstProducts">THe
link</html:link>

I agree that it should produce both. You might submit this as an
enhancement request to Bugzilla. 

http://nagoya.apache.org/bugzilla/



"Struts Newsgroup (@Basebeans.com)" wrote:
> 
> Subject: html:link tag bug???, Really need help!
> From: "Nicolas Parisé" <ni...@globetrotter.net>
>  ===
> Hi,
> 
> I work in a project now where I need to use the html:link tag
> this way
> 
> <html:link page="/listProducts.do" linkName="lnkLstProducts">THe
> link</html:link>
> 
> Every time the linkName param is present, the page tag is removed, so in the
> previous
> example, here is the rendered HTML
> 
> <a name="lnkLstProducts">THe link</a>
> 
> Where is my href="/listProducts.do" ???
> 
> I really need to use the anchor "name" tag, because I call this anchor from
> a Javascript menu
> 
> please help me
> 
> Thank you!
> 
> Nicolas Parise
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>