Dunno.  If you file a bug report with a specific version && example it can
be looked in to.

On 7/20/07, Geoff Callender <[EMAIL PROTECTED]> wrote:

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




--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

Reply via email to