DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26134>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26134

Tiles <put> element must be possible to specify type="page"

           Summary: Tiles <put> element must be possible to specify
                    type="page"
           Product: Struts
           Version: 1.1 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Tiles framework
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to