You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by James Mitchell <jm...@apache.org> on 2003/02/14 20:49:39 UTC

IncludeTag

Perhaps this dang cold/flu is affecting my brain.  

Why is there an anchor attribute for the IncludeTag?
This makes no sense to me, and I'm trying figure out if I should bother
setting up cactus tests for it.

I'm guessing that enough people asked for it, so it got included.



--
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org/

"The man who does not read good books has no advantage over the man who
cannot read them."
	- Mark Twain (1835-1910)







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


Re: IncludeTag

Posted by Rob Leland <rl...@apache.org>.
James Mitchell wrote:

>Hmmm...no takers on this one eh?
>
Here is a guess...
It looks like to name an anchor point for items that are included
when a hyperlink is generated, possably using JavaScript..

It was added May 09 2001 By Craig, In version 1.13 of the Tag.
In that version the RequestUtils.computeURL() method was created
and a bunch of code removed, that I assume became computeURL()

The log reads as follows:
Refactor the hyperlink-generation code used in the <bean:include>,
<html:link>, <html:rewrite>, and <logic:redirect> tags to use common
utility methods based on URLs rather than Strings.This will ensure
consistency in implementation, and make it easy to provide full
URL-processing functionality to other tags as necessary.

 <p>Optional anchor tag ("#xxx") to be added to the generated
  +      hyperlink.  Specify this value <strong>without</strong> any
  +      "#" character.</p>

Here is Buzilla request that caused the addition


http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1644

That's all I have.

-Rob









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


RE: IncludeTag

Posted by James Mitchell <jm...@earthlink.net>.
Hmmm...no takers on this one eh?



--
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org/

"The man who does not read good books has no advantage over the man who
cannot read them."
	- Mark Twain (1835-1910)



> -----Original Message-----
> From: James Mitchell [mailto:jmitchell@apache.org] 
> Sent: Friday, February 14, 2003 2:50 PM
> To: Struts Developers List
> Subject: IncludeTag
> 
> 
> 
> Perhaps this dang cold/flu is affecting my brain.  
> 
> Why is there an anchor attribute for the IncludeTag?
> This makes no sense to me, and I'm trying figure out if I 
> should bother
> setting up cactus tests for it.
> 
> I'm guessing that enough people asked for it, so it got included.
> 
> 
> 
> --
> James Mitchell
> Software Engineer/Struts Evangelist
> http://www.open-tools.org/
> 
> "The man who does not read good books has no advantage over 
> the man who
> cannot read them."
> 	- Mark Twain (1835-1910)
> 
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-dev-help@jakarta.apache.org
> 


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