DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7289>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

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

Using Tiles, <html:base/> resolves to location of layout JSP

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2002-06-25 13:27 -------
As Cedric indicates, the <html:base> tag is provided so you can make relative to 
the physical JSP file. If you leave the <html:base> tag out, then the default 
references will be to the actual URL, which may be a logical reference to an 
ActionMapping. So I believe to get the behavior the reporter wants, just don't 
use <html:base> at all =:0)

Meanwhile, if someone wants to enter an enhancement request for the <html:base> 
tag, I can see uses for that. But the way it behaves with Tiles is consistent 
with the way it behaves without Tiles, so I'll cut to the chase and close 7289 
as INVALID.

Cedric Dumoulin wrote:
> 
>   It is not a bug, as the tag behaves as its documentation says. But maybe we 
can
> improve / enhance the tag to be able to use it in the context of included 
pages
> (like tiles).
> 
>    An idea is to add an optional attribute "path". If this attribute is 
specified,
> <base> output the root URL of current web application context, concatenated 
with
> the specified path. If path is set to "" or "/", the <base> output the root 
URL of
> current web application.
> 
>   This behavior is interesting when using template, tiles or include. It 
allows
> to specify in a layout the base URL to be used by browsers, independently of
> tiles jsp (or layout) locations.
> 
>   Any comments ?
> 
>      Cedric

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to