struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saeed Iqbal <saee...@gmail.com>
Subject Re: Struts 2 <s:if test syntax
Date Fri, 15 Jan 2010 08:02:39 GMT
remove the first } and second %{

On Fri, Jan 15, 2010 at 1:01 PM, RogerV <roger.varley@googlemail.com> wrote:

>
> Hi
>
> I'm having a problem trying to get the correct syntax for an OR test.
>
> <s:if test="%{typeAsString=='BOOL'} || %{typeAsString=='ENUM'}"> selects
> nothing, whereas
> <s:if test="%{typeAsString=='BOOL'}"> selects values as expected as does
> <s:if test="%{typeAsString=='ENUM'}">
>
> Regards
> --
> View this message in context:
> http://old.nabble.com/Struts-2-%3Cs%3Aif-test-syntax-tp27173346p27173346.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
Saeed Iqbal
Independant Consultant
J2EE - Application Architect / Developer

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message