Hi Antonio,
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>
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!)
Thanks for your help :-)
Ignacio
Antonio Petrelli-3 wrote:
>
> 2009/1/30 Nicolas LE BAS <[email protected]>:
>> But IMHO it won't work: <tiles:addAttribute> can only add strings,
>> definitions or templates.
>
> Nope, you can also add simple "objects". The only problem is that you
> have to import them, through <tiles:importAttribute>.
>
> Antonio
>
>
--
View this message in context:
http://www.nabble.com/How-to-include-a-SimpleMenuItem-bean-in-tiles%3AaddAttribute-in-struts2-tp21739816p21749231.html
Sent from the tiles users mailing list archive at Nabble.com.