2007/12/18, maitri <[EMAIL PROTECTED]>:
>
>
> First of all thanks millions for your answer.
>
> I tried that but I had the following SAXParseException : Element type
> "put-attribute" must be declared.
> I tried it whit put element:
> <definition name="myHomePage" layout="/my/layout.jsp">
>   <put name="css_role1" value="/css/role1.css" role="role1" />
>   <put name="css_role2" value="/css/role1.css" role="role2" />
> </definition>
>
> But I got the following SAXParseException: Attribute "role" must be
> declared
> for element type "put".
> What am I doing wrong???



Err....  In fact if you are using Tiles 2, you have to use <put-attribute>
and the "role" attribute is present. What version of Tiles are you using?

Antonio

Reply via email to