struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlm...@gmail.com
Subject Re: Tiles problem : Error executing tag: Attribute 'title' not found.
Date Fri, 01 Apr 2011 09:40:31 GMT
Try setting cascade='true' in the definition of the attribute title.
Sent via BlackBerry from T-Mobile

-----Original Message-----
From: abhishek jain <abhishek.netjain@gmail.com>
Date: Fri, 1 Apr 2011 14:39:27 
To: Struts Users Mailing List<user@struts.apache.org>
Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
Subject: Tiles problem : Error executing tag: Attribute 'title' not found.

hi friends,
I am using struts 2.x and tiles framework. with hibernate 3.x and
development environment was Myeclipse.

I have the following in tiles.xml

<definition name="store.page" template="/layoutstore.jsp">
        <put-attribute name="body" value="/bodystore.jsp" />
        <put-attribute name="title" value="Title" type="string" />
        <put-attribute name="metakeyword" value="Keyword" type="string"/>
    </definition>


I have the following (relevant) in layoutstore.jsp
<tiles:insertTemplate template="seo.jsp"/>

and hte following in seo.jsp
<tiles:getAsString name="title" />

yet i get the following error:

 Error executing tag: Attribute 'title' not found.

Cannt understand why , pl. help.
Thanks a lot .


-- 
Thanks and kind Regards,
Abhishek jain

Mime
View raw message