Hi,
I'm developing a web interface with seam/richfaces.
Alot of the components has something akin to
<h:panelGrid rendered="#{complexbean.heavyoperation()}">
...
</h:panelGrid>
<h:panelGrid rendered="#{!complexbean.heavyoperation()}">
...
</h:panelGrid>
In this case the #{!complexbean.heavyoperation()} gets evaluated twice.
My question is, is there anything similar to if-else statements I can use in the page to avoid these multiple evaluation of the same EL (and I would like to avoid any uses of JSP stuff, i.e. %<% if ... %>% )?
Thanks!