Hi, It seems to be a parsing problem, can you put out your file xml definig the tiles defintions , this will help us
2011/4/4 abhishek jain <abhishek.netj...@gmail.com> > hi, > It didnt worked , > first the cascade="true" was not recognized by my IDE (Myeclipse). > Second on running, i got the following error: > > Caused by: org.xml.sax.SAXParseException: Attribute "cascade" must be > declared for element type "put-attribute". > > > Also this tiles definition is not extending anything, hence i couldnt > understand the error. > pl. help. > thanks > abhishek > > On Fri, Apr 1, 2011 at 3:10 PM, <jlm...@gmail.com> wrote: > > > Try setting cascade='true' in the definition of the attribute title. > > Sent via BlackBerry from T-Mobile > > > > -----Original Message----- > > From: abhishek jain <abhishek.netj...@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 > > > > > -- Cordialement Mohamed