[jboss-user] [JBoss Seam] - Re: seam s:link fetchs list multiple times. big error !

bulloncito do-not-reply at jboss.com
Sun Jul 8 13:27:20 EDT 2007


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



More information about the jboss-user mailing list