Hi,

In T4, I had a custom feedback component that acquired the
ValidationDelegate to do stuff with the errors recorded in a form. I
like to mimic this component in T5.

+ Feedback component
@Parameter private ValidationTracker validationTracker

+ AbstractBasePage
@Component(inheritInformalParameters=true,
parameters={"feedbackBean=feedbackHolder","validationTracker=validationTracker"})
private Feedback feedback;

public ValidationTracker getValidationTracker() {
   return null;
}

+ Concrete page
@Component
private Form loginForm;

@Override
protected ValidationTracker getValidationTracker() {
   return loginForm.getDefaultTracker();
}


This doesn't work - I must be missing something vital here?
I get: "Could not convert 'validationTracker' into a component parameter
binding: ..."

What should I be looking for?

-J.


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

Reply via email to