You could also implement a small costum validator, set to it whatever
services it needs and use it on the component -
the validator can be created in the page, but can also be a hivemind
service, which you inject into your page/component and pass it to the
form-field's validators parameter.
Cheers,
Ron
Alan Chandler wrote:
On Sunday 05 March 2006 14:25, Inge Solvoll wrote:
I have struggled with the excact same problem, I just solved it by not
attaching the error to a specific component.
I think I have found the answer in Kent's book.
Instead of doing the update of the database at the end of the rewind cycle,
you can use the InvokeListener component to invoke a listener on each loop of
the @For loop
In that listener, you can inject the component
@InjectComponent("rolnam")
public abstract TextField getRoleNamField();
and then get the delegate and set the component
delegate.setFormComponent(getRoleNamField());
If it fails you record the failure there and then.
(I have another problem which I am just about to post about).
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]