This content has been marked as final.
Show 3 replies
-
1. Re: El Expression using AND or OR
keithnaas Mar 4, 2008 1:55 AM (in response to patrickmadden.patrickmadden.clooster.com)PVM, I think you might want to use this instead. The entire expression is evaluated to get the boolean.
<s:div rendered="#{not empty result.uncPathForMozilla and not requestBean.internetExplorerRequest)}"> ... </s:div>
Keith
-
2. Re: El Expression using AND or OR
patrickmadden.patrickmadden.clooster.com Mar 4, 2008 2:30 AM (in response to patrickmadden.patrickmadden.clooster.com)Thanks Keith!
That did the trick. I greatly appreciate it. I've been looking for that for a while.
Just one thing for others who may need this. I originally had () around the two expressions. In Keith's gracious fix for me he forgot to remove the one remaining bracket at the end so it didn't parse correctly. The actual working expression is as follows:
<s:div rendered="#{not empty result.uncPathForMozilla and not requestBean.internetExplorerRequest}"> ... </s:div>
Thanks again,
PVM
-
3. Re: El Expression using AND or OR
keithnaas Mar 4, 2008 5:58 PM (in response to patrickmadden.patrickmadden.clooster.com)Doh! Yet another example of paired programming saving the day ... haha
Keith