You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Oleg V Alexeev <go...@penza.net> on 2000/12/05 01:08:58 UTC
Re[2]: question about new behavior of link tag...
Hello Jim,
I think it needs to be additional parameter to link tag. Specify
target of the link in page.
But I speak about 'true' link, such as:
<a href="somepage.jsp">
When it's needed to make link from page to itself there is exists one
good way now - to retrieve URI by .getRequestURI() and use this string
by the way:
<form:link href="<%= URI %>">
But this can resolved with more elegance - link tag must write current
page as href if href parameter not specified.
Tuesday, December 12, 2000, 2:57:38 AM, you wrote:
JR> Oleg V Alexeev wrote:
>> Now of three parameters - href, page or forward must be defined in
>> link tag. I suggest some addition to this behavior - treate link
>> without any of listed above parameters as link to the current page.
>> How are you about it?
JR> It needs to have a name, as in
JR> <a href="index.html#section1">
JR> links to
JR> <a name="section1">
--
Best regards,
Oleg mailto:gonza@penza.net