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
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
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
: 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
4 matches
Mail list logo