0

How to conditionally display INPUTTEXT fields on the xhtml pages? i.e:

<tr>
  <td><label .../>
  <td><p:selectOneMenu>
       <f:selectItems>
      </p:selectOneMenu>
  </td>
</tr>
<tr>
  <ui:fragment rendered="#{aboveSelectOneMenu eq 'N'}">
    <td><label .../>
  </ui:fragment>
</tr>

Pl. suggest how to dynamically display the contents of the <ui:fragment> based on the <p:selectOneMenu> picklist, without REFRESHING the page. The code works if I Refresh the page.

0 Answers0