venerdì 13 aprile 2012

Icefaces jsf dinamic data display

Some flexibility in showing data offered by JSF GUI technology.


Message resources
Solution for internazionalization and decoupling jspx code from shown label value
<
f:view xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ice="http://www.icesoft.com/icefaces/component">
<f:loadBundle basename="com.italtel.snodo.messageresource.MessageResources" var="msg" />



Rendered Attribute
Solution for conditional data visualization
Usage: rendered="boolean condition"
es:
rendered="#{!userDataBean.userLogged}"
<ice:outputText value="#{msg['root.logicalAggregation.logicalAggregationView.networkRepository']}" /> /

Nessun commento:

Posta un commento