remove the first } and second %{ On Fri, Jan 15, 2010 at 1:01 PM, RogerV <roger.var...@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-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Saeed Iqbal Independant Consultant J2EE - Application Architect / Developer