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
  • 49,761
  • 33
  • 66
  • 176
ReyAnthonyRenacia
  • 17,219
  • 5
  • 37
  • 56

0 Answers0