Hi there,

 

in struts tiles:

 

Is there an easy method to put a list of items to a nested tile:

 

Here is my tiles-def.xml:

 

      <definition name="base.definition"
path="/common/layouts/layout_with_servicecolumn.jsp">

            <put name="footer" value="/common/tiles/footer.jsp" />

            ...

            <putList name="footeritems">

                  <item link="information.do" value="Back"
icon="back.gif" />

                  <item link="information.do" value="next"
icon="next.gif" />

            </putList>

      </definition>

 

 

In my layout_with_servicecolumn.jsp I want to insert my tile footer, but
how to "forward" my attribute footeritems to this tile?

 

<tiles:insert name="footer">

      <put...????????????????????????????? />

</tiles:insert>

 

 

 

 

in my footer.jsp I want to use this attribute by

 

 

<tiles:useAttribute name="footeritems"  />

 

 

thanks

 


Jochen

Reply via email to