Author Login
Post Reply
On Fri, 03 Sep 2010 11:49:05 -0300, Lothar Nieswandt <lothar_news@(protected)>
wrote:
>> Not just validation errors. You can get the ValidationTracker from the
>> Environment and use void recordError(String errorMessage) to record a
>> message.
>>
>> @Environmental
>> private ValidationTracker validationTracker;
>
> OK, thanks. But I do need a form, right? And this environmental variable
> is available as long as I am processing the form?
> Is it already available in onActivate()
If you don't have a form, just use the same HTML the Errors component
generates. It's quite simple, actually.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)