Hi
I finally was able to make it work.
I cant' believe how simple it was, and how long it took me to figure it out.
The solutions is to provide a ValueEncoder to the BeanBlock (so simple!)
Here is my code:
then:
public ValueEncoder getValueEncoderForProperty()
{
On Fri, Jun 6, 2008 at 10:58 PM, Alejandro Scandroli
<[EMAIL PROTECTED]> wrote:
> Hi Massimo
>
> I'm experiencing the same thing. I'm trying to create an editor for
> properties annotated with "@ManyToOne"
> The BeanBlockContribution renders ok, but when I submit the form I get
> an exception:
>
>
Hi Massimo
I'm experiencing the same thing. I'm trying to create an editor for
properties annotated with "@ManyToOne"
The BeanBlockContribution renders ok, but when I submit the form I get
an exception:
org.apache.tapestry5.runtime.ComponentEventException
Failure writing parameter 'value' of comp
The HibernateEntityValueEncoder (very nice feature!) does not work
properly when needs to look up a property from a PropertyEditContext
from within a BeanBlock contributed to the main BeanBlockSource.
I mean i got an entity Customers which has a property Provinces which
is another entity. When it