I tried, and I think it's worse now: the form is displayed with a validation error right upon clicking the action button that invokes addRow() on the repeater. So now we're telling our user they did something wrong, when all they are doing is adding an entry :-(.
I don't think it did this before.
I thought that exactly this was the behaviour before? With the current code this does no longer happen here for the form1 sample at http://127.0.0.1:8888/samples/blocks/forms/form1.
One of the bad behaviors I'm seeing right now is that after I call setValidationError (null) in the flowscript, I get output something like this from <fi:valdatation-errors>:
Your form had the following errors: • null Please fix and resubmit
I debugged a bit, and it turns out that ScriptableWidget.jsFunction_setValidationError() is getting called with a value of (String) "null" for its 'message' parameter. It looks like the conversion of null to "null" is happening in org.mozilla.javascript.ScriptRuntime.call(), but I don't have that source (do I?) so I can't tell exactly what is going on. Anyway, if that is the case then I am probably hosed, right?
This might be related to v2 flow script that I don't use yet. Chris?
Joerg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
