Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Struts
OGNL fixing precedence with ()
Tudor Raneti
Ranch Hand
Posts: 145
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I need to do something like this:
<s:if test='#parameters.dataParams[0] == "show" and #parameters.data[0] == null or #parameters.data[0] == ""'>
except the OGNL expression doesn't seem to work, what is the proper syntax?
Ankit Garg
Sheriff
Posts: 9707
43
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I cant say about OGNL, but you can do this same thing using JSTL and EL
<c:if test='${paramValues.dataParams[0] == "show" and paramValues.data[0] == null}'>
SCJP 6 | SCWCD 5 |
Javaranch SCJP FAQ
|
SCWCD Links
Why does your bag say "bombs"? The reason I ask is that my bag says "tiny ads" and it has stuff like this:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Struts OGNL how to acces vector elements
Null Point Exception
Passing Action Variables to the Freemarker in ActionMessages through the properties file.
fieldValue not working after upgrade to Struts 2.0.11
Ognl problem
More...