You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "David Evans (JIRA)" <ji...@apache.org> on 2006/04/24 18:03:10 UTC

[jira] Reopened: (STR-2358) enhancement

     [ http://issues.apache.org/struts/browse/STR-2358?page=all ]
     
David Evans reopened STR-2358:
------------------------------

    Assign To: David Evans  (was: Struts Developer Mailing List)

> <html:base /> enhancement
> -------------------------
>
>          Key: STR-2358
>          URL: http://issues.apache.org/struts/browse/STR-2358
>      Project: Struts Action 1
>         Type: Improvement

>   Components: Extras
>     Versions: Unknown
>  Environment: Operating System: Windows 2000
> Platform: PC
>     Reporter: Graham Reeds
>     Assignee: David Evans
>     Priority: Minor
>      Fix For: 1.3 Family
>  Attachments: BaseTag.java.diff, root.js, struts-html.tld
>
> This enhancement is to the <html:base> tag.  The reason for this enhancement
> request is that the base tag as it stands only points to the jsp file that it is
> contained in.  However the base tag is exceptionally useful when pointed at the
> root of the URL.
> My proposal is to add an optional attribute to the <html:base> tag. If the
> attribute is missing (or is set to false) then the tag acts as it normally does.
>  With the addition of the attribute being set to "true" then the tag points to
> the root of the URL (ie //www.mysite.com/ or //locahost/mysite/).
> Currently the only way of getting this is currently to have a block of
> JavaScript code in every webpage and still needs to be set for each site and
> copied into everypage.
> tag: base
> attributes:
>  * root : Optional. Boolean value that determines whether the base tag points at
> the root URL or the current page. The default is false.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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