Is there a reason why submitType kills its component's listener? For example, whereas this listener works...

<input jwcid="@Submit" type="submit" value="Cancel" action="listener:doCancel">

... the listener in this one is ignored...

<input jwcid="@Submit" type="submit" value="Cancel" action="listener:doCancel" submitType="cancel"/>

...and the listener has to be specified on the Form instead...

        <form jwcid="@Form" cancel="listener:doCancel">

Why is this so? What if I want more than one button of type cancel, each one with its own listener, and possibly its own parameters? I think submitType="refresh" behaves this way, too.

Regards,

Geoff

Reply via email to