I have a managed SanityCheckBean which saves values in a GenericVO
object which is then placed into a HashMap.
SanityCheckBean.init():
messages = new HashMap();
GenericVO gvo = new GenericVO("database");
gvo.put("value1", "success");
gvo.put("value2", dbmeta.getDatabaseProductName());
messages.put("database", gvo);
SanityCheckBean.getMessages():
return messages;
I have a method GenericVO.getValue(String s) to retrieve these values.
Everything works great in unit tests etc but I just can't get the EL
right to access the values in my t:dataTable.
<h:dataTable id="messages" value="#{sanityCheckBean.messages}" var="message">
<h:column>
<h:outputText value="#{message.value('value1')}"/>
</h:column>
I've tried a few things but just can't get it.
Thanks for any help.
Wayne