On Sun, 2003-11-16 at 21:49, Marcin Okraszewski wrote:
> Hello,
> I have a problem again :-( I can't make form validation function
> working. If I do such expression:
>
> form.show("admin/entry-form.xml.html", function(form) {
> model.importance++;
> return false;
> });
>
> doesn't change value of "importance" widget in web form. On the other
> hand, the fallowing does change:
>
> while (true) {
> form.show("admin/entry-form.xml.html");
> model.importance++;
> }
>
> Shouldn't both approaches give the same result? What am I doing wrong?
Seems like you're still using the old woody.js flowscript integration. I
recommend switching to woody2.js. All samples use woody2.js now. See
also the source of woody2.js for some API docs.
--
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED] [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]