1

I have this code:

<display:column sortable="true" headerClass="sortable"
         titleKey="form.procedure" property="procedure.procedureName" >
          <c:choose>
                    <c:when test="${procedure.procedureName == 'Injection'}">
                        You are using Injection.
                    </c:when>
                    <c:otherwise>
                          <c:out value="${procedure.procedureName}"/>
                        <c:set target="Procedure" property="procedure.proProcedureName" value="${procedure.proProcedureName}" >

                    </c:otherwise>
          </c:choose>                
    </display:column>

however I get errors. Can someone help me write this properly: Pseudo code is "When the procedureName is not equal to "Injection" display that procedureName instead." I don't know if Im even writing my IF/WHEN conditions properly.

BTW I have a POJO class named "Procedure.java" if that's not obvious.

Roman C
  • 48,723
  • 33
  • 63
  • 158
noogui
  • 16,300
  • 4
  • 25
  • 51

0 Answers0