What's the correct expression syntax?

2009-02-06 Thread Griffith, Michael *
Hi, I don't think I fully understand OGNL and I need some help with an expression... I have a param that I am passing to an action. the parameter is called selectedType, and it has a getter and setter on the action. It is getting set correctly. When I try to evaluate the expression using the

Re: What's the correct expression syntax?

2009-02-06 Thread Dale Newfield
Griffith, Michael * wrote: s:if test=%{selectedType == 'C'} ... Do work /s:if Is the correct one, except for the one-character-string gotcha: http://struts.apache.org/2.1.6/docs/why-wont-the-if-tag-evaluate-a-one-char-string.html -Dale

RE: What's the correct expression syntax?

2009-02-06 Thread Richard Gundersen
myself right now) -Original Message- From: Griffith, Michael * [mailto:michael.griff...@fda.hhs.gov] Sent: Fri 06/02/2009 19:27 To: Struts Users Mailing List Subject: What's the correct expression syntax? Hi, I don't think I fully understand OGNL and I need some help

RE: What's the correct expression syntax?

2009-02-06 Thread Griffith, Michael *
: What's the correct expression syntax? Griffith, Michael * wrote: s:if test=%{selectedType == 'C'} ... Do work /s:if Is the correct one, except for the one-character-string gotcha: http://struts.apache.org/2.1.6/docs/why-wont-the-if-tag-evaluate-a-one-c har-string.html -Dale