----- Original Message ----- From: "César Lesc" <[EMAIL PROTECTED]>
To: "Tapestry users" <users@tapestry.apache.org>
Sent: Friday, November 16, 2007 5:57 PM
Subject: Re: [T5.0.6] Is coercion MANDATORY for custom parameter classes?


You don't have to create a coercion for you custom class, how do you
declare the binding in the template?.

Just normally :

Start.tml :

<t:imagemessage t:model="imageMessageModel"/>

And of course, Start.java contains :

public ImageMessageModel getImageMessageModel() {
   return new ImageMessageModel(Type.ERROR, "some error");
}

Can this be a bug due to some classloading issue ?

Regards,
Vjeran


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to