[ 
https://issues.apache.org/struts/browse/WW-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42335
 ] 

Don Brown commented on WW-2149:
-------------------------------

Hmm... I don't know about this feature.  Would you really want a tag that 
generates your head and body tags?  Even Struts 1 didn't do that.  Could this 
be done as a plugin?  I like the general idea of tags being as intrusive as 
possible, as opposed to something like the JSF model where the whole page is 
composed of tags.

> Add new S2 tags for html, head and body
> ---------------------------------------
>
>                 Key: WW-2149
>                 URL: https://issues.apache.org/struts/browse/WW-2149
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Views
>            Reporter: Nils-Helge Garli
>            Assignee: Tom Schneider
>             Fix For: 2.0.12, 2.1.0
>
>
> Create new tags for html, head and body with support for different 
> "renderers", like the url and form tags. There main reasons for this is:
> - We can control what's output, such as styles, scripts, doctypes etc
> - Rendering can be overridden. The portlet plugin would for instance not 
> render the actual tags, since a portlet only should generate fragments. This 
> way, the same JSPs can be used both when the application runs as a webapp and 
> a portlet

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to