2009/1/30 Ignacio de Córdoba <[email protected]>:
>
> Oh, no rude at all. I am using Tiles for all the page composition in my
> projects.

I feel better now :-D

> <tiles:insertDefinition name="breadcrumsTile">
>        <tiles:putListAttribute name="breadcrums">
>                <jsp:useBean id="item" 
> class="org.apache.tiles.beans.SimpleMenuItem"
> scope="page"/>
>                        <c:set var='folderName'><s:property 
> value="#folderName"/></c:set>
>                        <jsp:setProperty  name="item" property="link"
> value="Actions_folder.action?folderName=${folderName}"/>
>                        <jsp:setProperty name="item" property="value" 
> value="${folderName}"/>
>                        <tiles:addAttribute value="${item}"/>
>        </tiles:putListAttribute>
> </tiles:insertDefinition>
>
> I find this a bit complex and that is why I am looking for a way to get rid
> of jsp tags and EL and only use struts2 ONGL + Tiles2, but if Tiles2 only
> accepts EL to get an object (SimpleMenuItem) I guess what I want to do is
> not possible.

Why don't you use a preparer for your definition? I think you will get
a cleaner code:
http://tiles.apache.org/framework/tutorial/advanced/preparer.html

Antonio

Reply via email to