2009/1/30 Ignacio de Córdoba <[email protected]>: > you mean that if I replace <jsp:useProperty...> with: > > <s:bean name="org.apache.tiles.beans.SimpleMenuItem" var='item'> > <s:param name="link" value="%{folderName}" /> > <s:param name="value" > value="Actions_folder.action?portalid=%{userSession.portalid}&folderName=%{#parameters.folderName}" > /> > </s:bean>
Sorry, I don't understand your question, can you elaborate on this? > There is no way to insert objects in the ValueStack to a tile list with a > tiles:addAttribute tag or anyother way? > I hate mixing both "EL's" in the same page. I am using ONGL for the rest of > the code: as I am using struts2 now, I must use % ONGL syntax to access > Action properties, so it is tedious to make them visible to JSTL EL using > <s:property /> every time I have to add a Tile (in every page, as I use a > Tile for breadcrums!) Sorry to seem rude, but if you use Tiles *only* for breadcrumbs, you chose the wrong framework :-D Anyway, Tiles tags understand EL only because the container translates them. Struts, instead, uses OGNL internally. If you like, you can write an AttributeEvaluator that understands OGNL: http://tiles.apache.org/framework/apidocs/org/apache/tiles/evaluator/AttributeEvaluator.html Antonio
