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).
--
Alan Chandler
http://www.chandlerfamily.org.uk
Open Source. It's the difference between trust and antitrust.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]