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

James Holmes commented on WW-2149:
----------------------------------

It could be part of the portlet plugin in 2.1, however, putting it in a plugin 
sort of defeats the point. The point is that having these tags would allow you 
to easily switch between being a webapp or a portlet transparently. Nothing 
says that users need/have to use these tags, but if you do use them then you 
get the advantage of being able to move to portlets transparently. There would 
be no requirement or even (encouragement) to use them otherwise.

> 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