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

    Resolution: Fixed

> <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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to