anonymous wrote : It doesn't cache the result of a valuebinding.

.. then why


  | <h:dataTable id="regions" value="#{regions.resultList}" var="region">
  |     <h:column rendered="#{s:hasRole('Debug')}">
  |             <f:facet name="header">id</f:facet>
  |                 #{region.id}
  |     </h:column>
  |     <h:column>
  |             <f:facet name="header">#{messages.region_name_label}</f:facet>
  |                     #{region.name}
  |     </h:column>
  | </h:dataTable>
  | 

... does not make extra fetchs, even thou it uses region var, and


  | <h:dataTable id="regions" value="#{regions.resultList}" var="region">
  |     <h:column>
  |         <s:link />
  |     </h:column>
  | </h:dataTable>
  | 

... does them ?

If only s:link makes those extra fetchs, I don't believe that is default 
behavior.

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

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

Reply via email to