hello,
i wonder if it is possible in jsf:
i would like to give out the messages in the datatable, stored in messages.properties.
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<f:loadBundle basename="myPackage.messages" var="myMsg"/>
<h:dataTable value="#{myBean.myList}" var="my">
<h:outputText value="#{myMsg.msg}"/>
<:/h:dataTable>
and in my messages.properties i would have something like an array of string:
msg = {first, second, third}
so supposed myList has 3 elements i would like to get table with 3 rows with values: first, second, third.
could be sth. like that realized and how to do this exactly?