You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mark Benussi <ma...@hotmail.com> on 2005/02/27 17:41:24 UTC

Use of Tiles

I use tiles in my webapp but only to replace the deprecated struts template
methodology.

 

What I want to know is can I do define a tile.. Similar I suppose to a
taglib.

 

My jsp would look like the following

 

<tile action="/myoldstrutsaction.do">

<!-- Then place html and use beans exposed by the tile such as -->

<table>

            <for collection>

                        <tr>

                                    <td><%= Collection property %></td>

                        </tr>

            </for>

            </table>

</tile>

 

Would be interested to know what you guys and gals think.