You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Struts Two <st...@yahoo.ca> on 2008/06/09 21:41:28 UTC

Boolean expressions in struts 2 conditional tags

I was wondering if we want to combine multiple boolean expresion inside the "test=%{}", we should use JSTL "and" /"or" or java "&&" or "//". Unfortunately I was not able to find this in s:if tag reference. I also looked for it in the "Struts 2 Design and programming" as well as "Struts 2 in Action".


      __________________________________________________________________
Connect with friends from any web browser - no download required. Try the new Yahoo! Canada Messenger for the Web BETA at http://ca.messenger.yahoo.com/webmessengerpromo.php

Re: Boolean expressions in struts 2 conditional tags

Posted by Dave Newton <ne...@yahoo.com>.
Just out of curiosity, did you try either?

I'd also check out the OGNL site as noted in the docs.

Dave

--- On Mon, 6/9/08, Struts Two <st...@yahoo.ca> wrote:
> From: Struts Two <st...@yahoo.ca>
> Subject: Boolean expressions in struts 2 conditional tags
> To: "Struts Users Mailing List" <us...@struts.apache.org>
> Date: Monday, June 9, 2008, 3:41 PM
> I was wondering if we want to combine multiple boolean
> expresion inside the "test=%{}", we should use
> JSTL "and" /"or" or java
> "&&" or "//". Unfortunately I
> was not able to find this in s:if tag reference. I also
> looked for it in the "Struts 2 Design and
> programming" as well as "Struts 2 in
> Action".
> 
> 
>      
> __________________________________________________________________
> Connect with friends from any web browser - no download
> required. Try the new Yahoo! Canada Messenger for the Web
> BETA at http://ca.messenger.yahoo.com/webmessengerpromo.php

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org