Quoting Olivier Billard <[EMAIL PROTECTED]>:

> Hi,
>
> If you're using the flow, don't forget to set a return after a
> cocoon.sendPage(). Otherwise, the flow continues and may meet a
> cocoon.sendPage again, causing this error.
>
> <wrong-code>
>      if (condition) {
>          cocoon.sendPage(page1);
>      }
>      // condition did not match
>      cocoon.sendPage(page2)
> <wrong-code>
>
> <good-code>
>      if (condition) {
>          cocoon.sendPage(page1);
>          // exit the function
>          return;
>      }
>      // condition did not match
>      cocoon.sendPage(page2)
> <good-code>
>
> HTH,

yes, it helped.
thanks.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to