Hello,
I want to make a cancel action. On Wiki pagaes I found fallowing method:

"After pressing an action button, the form will normally always be redisplayed, unless the event handling code explicitely disables this (*by using the endFormProcessing method on the form object*)."

So I did fallowing widget:

    <wd:action id="cancel" action-command="cancel">
      <wd:label>cancel</wd:label>
      <wd:on-action>
        <javascript>
          event.source.form.endFormProcessing();
        </javascript>
      </wd:on-action>
    </wd:action>

but unfortunately I receive fallowing error:

TypeError: endFormProcessing is not a function.

I couldn't also find "endFormProcessing" in Woody2.js.

How to use it or is there any other way to finish flow without Validating form?

Regards,
Marcin Okraszwski


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



Reply via email to