Hi Fabian,

Can you give as the code of the Action that is in the Value Stack?

Antonios


On 27 June 2013 09:16, Fabian Richter <[email protected]> wrote:

> Hey,
>
> so I tried to use the <s:if test=""> tag in one of my jsps and couldnt get
> neither working:
>
> <s:if test="!empty certificate.status">isTrue</s:**if>
> <s:if test="certificate.status == 1">isTrue</s:if>
> <s:if test="%{certificate.status == 1}">isTrue</s:if>
> <s:if test="%{#certificate.status == 1}">isTrue</s:if>
>
> but
>
> ${certificate.status}
>
> outputs a 1. Using ${certificate.status}  within test="" throws a JSP
> exception that "attribute test does not accept any expressions"
>
> The only thing that works is:
>
> <s:if test="%{true}">isTrue</s:if>
>
> What am I missing?
>
> TIA and best
> Fabian
>
>

Reply via email to