Use facelets. Then you can use the JSTL if & choose/when/otherwise tags

On 9/28/05, Dave <[EMAIL PROTECTED] > wrote:
<h:outputTex value="ABC" render="#{bean.booleanFunction }" />
<h:outputTex value="EFG" render="#{!bean.booleanFunction}"/>
 
If JSF supports If-else tags, it wll improve performance, and code readability. The booleanFunction should be called only once instead of twice. Any plan to add IF-ELSE? or other nice tag libraries going well with JSF? Thanks. Dave


Yahoo! for Good
Click here to donate to the Hurricane Katrina relief effort.


Reply via email to