[ http://issues.apache.org/struts/browse/SB-27?page=comments#action_37887 ] Greg Reddin commented on SB-27: -------------------------------
Just a note. I think your implementation is still valid. After all the tag changes I wonder, though if the patch will apply correctly. The "page" attribute type is now "template" just for consistency with other tags. Other than that I think what you've done here is the right thing. > tiles:insert tag does not try to guess the type of attribute > ------------------------------------------------------------ > > Key: SB-27 > URL: http://issues.apache.org/struts/browse/SB-27 > Project: Sandbox > Issue Type: Bug > Components: Tiles > Affects Versions: 2.0 > Environment: Windows 2000 and Linux (Ubuntu Breezy), JDK 1.5.0_06, > Tomcat 5.5.17 > Reporter: Antonio Petrelli > Assigned To: Antonio Petrelli > Priority: Minor > Attachments: it_patch.diff > > > The <tiles:insert> (i.e. its implementation InsertTag) does not try to guess > the type of an attribute if the type is not specified. > Therefore, if the type is not there, a null value is returned as the value of > the attribute, so that nothing is displayed. > I posted a patch to solve this issue, though I am not sure if "page" is a > good type for an attribute that has the form "/somewhere/somewhat.jsp". -- 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
