I need to do some validations across fields (e.g comparing password and
retypePassword fields on server).
At the moment, I inject a validationTracker into form using @Environment
annotation.
And, then use it in onValidate method, to add errors using recordError
method.
Is this the correct way,
Right, I wasnt aware that the contribute methods need to be placed in
AppModule.java in order to be discovered by Tapestry. That seems to be the
issue.
Thanks.
rkalsi wrote:
>
> I have written a BigDecimal translator which converts String ->
> BigDecimal, but It doesnt seem to w
I have written a BigDecimal translator which converts String -> BigDecimal,
but It doesnt seem to work.
In my class, I have added the following:
public static void contributeTranslatorDefaultSource(
MappedConfiguration configuration) {
configuration.add(BigDecimal.class