On Fri, Apr 02, 2004 at 11:02:12AM +0200, Denis wrote:
> Hi leszek,
>
> Could it be your loginValidator that in fact generates the NPE?
>
> //function header
> function loginValidator( form )
>
> and at line 62 you wrote
> form.validator = loginValidator;
> try:
> form.validator = loginValidator(form);
This is not a function call it is a function "pointer". It works no problem
when I use standard <map:call continuation="{1}"/> instead of trying to invoke
it from flow. See the "Custom Validator Sample" in form samples. I use a lot
of function pointers in flow, to get the inverse of control pattern running.
lg
--
__
| / \ | Leszek Gawron // \\
\_\\ //_/ [EMAIL PROTECTED] _\\()//_
.'/()\'. Phone: +48(501)720812 / // \\ \
\\ // recursive: adj; see recursive | \__/ |