I am using struts with tails and I define a tile as follows:

<definition name=".welcome" extends=".page">
        <put-attribute name="autocomplete" value="/jsp/ajaxListRelations.jsp"/>
        <put-attribute name="content" value="/jsp/welcomeContent.jsp"/>
</definition>


Here is my template page (page.jsp): 

<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles"; %>
...
<tiles:insertAttribute name="autocomplete"/>
<tiles:insertAttribute name="content"/>

In struts.xml, I have defined the action: 

<action name="main" class="web.Main">
      <result name="success_welcome" type="tiles">.welcome</result>
</action>


The "content" tile is showing up correctly. However, the "autocomplete" tile
gives an error in the apache console:
 
org.apache.tiles.TilesException: Attribute 'autocomplete' not found. 


Do you have any idea why this could be??? 
thanks!!!
-- 
View this message in context: 
http://www.nabble.com/Tiles-Exception---Attribute-not-found...-tp20639050p20639050.html
Sent from the tiles users mailing list archive at Nabble.com.

Reply via email to