Can <t:buffer> be used as variable to hold data to avoid multiple backing bean calls ?

 

<t:buffer into=#{value} >

  <h:outputText value="#{backBean.valueFromDB}"/>

</t:buffer>

<h:graphicImage url="" rendered="#{value=='a'}"/>

<h:graphicImage url="" rendered="#{value=='b'}"/>

 

It looks not very nice.

I tried it in dataTable, but the page becomes blank without any error message.


Yahoo! FareChase - Search multiple travel sites in one click.

Reply via email to