Thanks hermod it worked, It was a silly mistake!! I thought that the problem was somewhere else

[EMAIL PROTECTED] wrote:

Hi

You need to surround your parameter with #{}

Hermod

-----Original Message-----
From: Kostas Karadamoglou [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 10:33 AM
To: MyFaces Discussion
Subject: Re: Problem: HtmlDataTable is no ValueHolder, cannot set value


What did you mean by that? I didn't understand it

Grigoras Cristinel wrote:



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







* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email.


This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *







Reply via email to