tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Petrelli" <antonio.petre...@gmail.com>
Subject Re: Proper way to use a definition attribute as argument or parameter for an action?
Date Wed, 30 Apr 2008 13:54:38 GMT
2008/4/30 Lars Dam <larsdam@gmail.com>:
> I used the tiles:importAttribute, like:
>
>  <tiles:getAsString name="argument"/>
>  but i dont get anything when i try to access this, using s: tags,e.g:
>
>  <s:property value="argument.name"/>

IMO it is because it is not put inside the Struts value stack, but in
the page scope.
To be sure, try simple to output it:
${argument.name}

Antonio

Mime
View raw message