Hi Kostas,

Maybe you want to use value="#{eventHandler.schedule}" for the bean property.

Cristi

Kostas Karadamoglou wrote:

Hi all,

I get the following error message:

21:36:29,728 ERROR UIComponentTagUtils:172 - Component javax.faces.component.html.HtmlDataTable is no ValueHolder, cannot set value.

when I use the following jsf tags:

<h:dataTable value="eventHandler.schedule" var="date" align="center">
<h:column>
<f:facet name="header">
<h:outputText value="Date"/>
</f:facet>
<h:outputText value="#{date.date}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Performances"/>
</f:facet>
<h:selectOneRadio converter="#{jsfPerformHourConverter}" value="#{date.selectedHour}">
<f:selectItems value="#{date.hours}"/>
</h:selectOneRadio>
</h:column>
<h:column>
<h:commandButton value="Book" action=""/>
</h:column>
</h:dataTable>


the only part of the code that I set data is in selectOneRadio with the value attribute.
What am I doing wrong?


Thank you in advance, kostas




Reply via email to