vendredi 28 juillet 2017

Issue with IF test on JSF xtml

sorry i tried a lot of others replies, but still i can't use it:

i want to check the value of a bean in order to print html code or not but all the time i have FALSE condition:

here the code:

<tbody>
<ui:repeat value="${wasJvmInvbean.listWasJvmInv()}" var="jvm">
    <tr>
        <td>${jvm.jvmStatus}</td>
        <td>${jvm.cellName}</td>
        <td>${jvm.serverBean.hostname}</td>
        <td>${jvm.jvmName}</td>
        <td>${jvm.type}</td>
        <td>${jvm.profilePath}</td>
        <td>${jvm.wasVersion}</td>

   <c:if test="${jvm.jvmName eq 'dmgr'}">
   <td>webconsole http://xxxx:8080</td>
  </c:if>
    <c:if test="${jvm.jvmName ne 'dmgr'}">
   <td>N.A.</td>
  </c:if>                       
<td>${jvm.fid}</td>
<td>${jvm.heapMin}</td>
<td>${jvm.heapMax}</td>
<td>${jvm.wcDefaultType}</td>
<td>${jvm.wcHost}</td>
<td>${jvm.wcPort}</td>
    </tr>
</ui:repeat>

Aucun commentaire:

Enregistrer un commentaire