Example code:

              <s:iterator value="%{drugClassPropsSrvc}" id="prop">
                <tr>
                  <th scope="row"><s:property value="#prop.key"/></th>
                  <s:if test="#prop.value eq 'Yes'">
                    <th scope="row"><s:property value="#prop.value"/></th>
                  </s:if>
                  <s:else>
                    <th scope="row" class="highlight"><s:property
value="#prop.value"/></th>
                  </s:else>
                </tr>
              </s:iterator>

On 9/21/07, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> --- j alex <[EMAIL PROTECTED]> wrote:
> > <s:if test='%{key} == "card"'>
>
> The entire expresion is OGNL, not just the "key" value
> from the stack.
>
> d.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to