tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Petrelli <antonio.petre...@gmail.com>
Subject Re: Put-list-attribute inheritance
Date Tue, 09 Aug 2011 06:19:35 GMT
Please do not hijack others' thread, especially the ones of 2 years ago.
Please start a new thread.

Antonio

2011/8/8 mikecg <mike@celerityglobal.com>

> Ok..maybe you could help me.. I'm trying to use the inherit on a
> put-list-attribute using 2.2.2, but I'm getting the error *Attribute
> "inherit" must be declared for element type "put-list- attribute"*. See my
> code below--thanks to anyone who can help!
>
> <?xml version="1.0" encoding="UTF-8" ?>
>        &lt;!DOCTYPE tiles-definitions PUBLIC
>                &quot;-//Apache Software Foundation//DTD Tiles Configuration
> 2.0//EN&quot;
>                &quot;
> http://tiles.apache.org/dtds/tiles-config_2_0.dtd&quot;&gt;
>
>
>              <definition name="base.js" template="/WEB-INF/jsp/js/js.jsp">
>                  <put-list-attribute name="js">
>                    <add-attribute value="/js/jquery.js" type="string" />
>                    <add-attribute value="/js/jquery-ui.js" type="string" />
>                  </put-list-attribute>
>                </definition>
>
>                <definition name="arbor.js" extends="base.js">
>                  <put-list-attribute name="js" inherit="true" >
>                    <add-attribute value="/js/arbor.js" type="string" />
>                  </put-list-attribute>
>                </definition>
>
>
>
> --
> View this message in context:
> http://struts.1045723.n5.nabble.com/Put-list-attribute-inheritance-tp3554106p4678736.html
> Sent from the tiles users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message