| Code: |
|
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <html> <body> <f:view> <f:loadBundle var="msg"> <jsp:attribute name="basename" >test.bundle</jsp:attribute> </f:loadBundle> <h:outputText value="#{msg.bla}" /> </f:view> </body> </html> |
| Code: |
|
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <html> <body> <f:view> <f:loadBundle var="msg" basename="test.bundle" /> <h:outputText value="#{msg.bla}" /> </f:view> </body> </html> |