I don't think I fully understand OGNL and I need some help with an
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
<s:if> tag, it never evaluates correctly.  The action parameter is as
I've tried the following expressions

<s:if test="%{selectedType == 'C'}">
        ... Do work

<s:if test="%{#selectedType == 'C'}">
        ... Do work

<s:if test="${selectedType == 'C'}">
        ... Do work

None of which seem to work.  Can someone clear this up?

Thanks in advance, 


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

Reply via email to