[ 
https://issues.apache.org/struts/browse/STR-1927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antonio Petrelli updated STR-1927:
----------------------------------

    Component/s:     (was: Tiles 1 Plugin)
                 Tiles 2 Plugin
       Assignee:     (was: Struts Developers)

Moved to Tiles 2 plugin.

> [tiles] <put> element should be possible to specify type="page"
> ---------------------------------------------------------------
>
>                 Key: STR-1927
>                 URL: https://issues.apache.org/struts/browse/STR-1927
>             Project: Struts 1
>          Issue Type: Improvement
>          Components: Tiles 2 Plugin
>    Affects Versions: 1.1.0
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Firepica
>            Priority: Minor
>
> Hi, guys,
> I think that the following construction should be possible in tiles 
> definition 
> file (note new type="action" - now only "page", "definition" and "string" are 
> possible):
> <definition name="disclaimer.def" extends="rootLayout">
>  <put 
> name="header" value="header?contentPage=disclaimer" type="action"/>
>  <put 
> name="footer" value="footer?contentPage=disclaimer" type="action"/>
>  <put 
> name="content" value="/WEB-INF/jsp/disclaimer.jsp" 
> type="page"/>
> </definition>
> (kinda like we have "action" attribute in <html:link> tag, 
> which is expanded by that tag into fully qualified path to the action, 
> including ".do" of whatever 
> specified in config file).
> Now I have to do the following (note suffix ".do" in both header and 
> footer, also I need to specify context):
> <definition name="disclaimer.def" 
> extends="rootLayout">
>  <put name="header" value="/header.do?contentPage=disclaimer" 
> type="page"/>
>  <put name="footer" value="/footer.do?contentPage=disclaimer" 
> type="page"/>
>  <put name="content" value="/WEB-INF/jsp/disclaimer.jsp" 
> type="page"/>
> </definition>
> I frequently need to "put" actions, not just jsp, think 
> others need too.

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