Perhaps the idea is something like this, but I'm not getting any data on the 
JSF (screen) for this dataTable.  The rendered attributes are evaluating to 
true after I click a run button on the JSF during the use case.

<h:dataTable var="myRole" value="#{myRoles}" 
rendered="#{userRoleSearch.displayViewRolesDataTable}"> 
  |                 <c:if test="#{userRoleSearch.displayViewRolesDataTable}">
  |                                                           <c:forEach 
items="#{myRole}" var="myVal">
  |                                                                             
  <h:column>
  |                                                                             
           #{myVal}
  |                                                                             
   </h:column>
  |                                                           </c:forEach>
  |                  </c:if>
  | </h:dataTable>

also, when userRoleSearch.displayViewRolesDataTable = true, the following JSF 
fragment does not output the "testing now!" string.  seems strange...


  | <h:dataTable var="myRole" value="#{myRoles}" 
rendered="#{userRoleSearch.displayViewRolesDataTable}"> 
  |     <c:if test="#
  | userRoleSearch.displayViewRolesDataTable}">                                 
                               <h:outputText value="testing now!"/>
  |     </c:if>
  | </h:dataTable>

also, does it matter if you're using JSF 1.1 or 1.2 regarding this problem???

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081901#4081901

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081901
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to