[ 
http://issues.apache.org/struts/browse/STR-2197?page=comments#action_38046 ] 
            
Michael Jouravlev commented on STR-2197:
----------------------------------------

I suggest using predefined constants like webapproot, actionroot, jsproot, 
cssroot, etc as well as user-defined parameters in web.xml. These constants 
(actually, variables) can be used in standard HTML tags with the help of 
JSTL1.1 or Struts-EL like <base href="${jsproot}"> instead of creating custom 
tags that do nothing more than stick a webapp-related path into an HTML tag.

> [taglib] new tag to handle relation (html <link>)
> -------------------------------------------------
>
>                 Key: STR-2197
>                 URL: http://issues.apache.org/struts/browse/STR-2197
>             Project: Struts 1
>          Issue Type: Improvement
>          Components: Taglibs
>    Affects Versions: Nightly Build
>         Environment: Operating System: other
> Platform: Other
>            Reporter: nicolas de loof
>         Assigned To: Struts Developers
>            Priority: Minor
>         Attachments: patch1.txt, patch2.txt, patch3.txt
>
>
> Patch contains code for a new html tag to handle html "link" tag. It can be 
> used
> to render CSS relation a cleaner way that by using html:rewrite.

-- 
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

        

Reply via email to