Thanks a lot, Mr. Thiago

I've checked on TapestryModule and I've found out that
DefaultValidationDecorator becomes "ValidationDecorator".
So, now I'm replacing:
       configuration.override("DefaultValidationDecorator",
validationDecorator);
with
       configuration.add("ValidationDecorator", defaultValidationDecorator);


There have been so many questions on this mailing list answered by you. I
think you can write a great book about Tapestry :)
Thanks a lot..



On Wed, Jan 11, 2012 at 6:48 PM, Thiago H. de Paula Figueiredo <
[email protected]> wrote:

> On Wed, 11 Jan 2012 08:09:59 -0200, Yohan Yudanara <
> [email protected]> wrote:
>
>  It works great on Tapestry 5.2.6.
>> But when I'm upgrading to Tapestry 5.3.1.
>> I've got this exception when trying to open page:
>> "Override for object 'DefaultValidationDecorator' is invalid as it does
>> not
>> match an existing object."
>>
>
> It seems the default validation decorator is now added with other id.
> Check the source of TapestryModule and use the correct id to override it.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
>

Reply via email to