I have used ModalWindow for similar use cases... and then do the actual work
on the ok button of a modal confirmation dialog. Is that approach fine for
your use case?

Regards,

Ernesto

On Tue, Nov 3, 2009 at 10:23 AM, Peter Arnulf Lustig <[email protected]>wrote:

> Hi,
>
> how can I achieve something like that:
>
>
> abschliessen = (SubmitLink) new SubmitLink("abschliessen", antwortForm) {
>            @Override
>            public void onSubmit() {
>                preQuestionInit();
>                Worker.ClosingTestprocedure(tp);
>                preQuestionInit();
>            }
>        }
>                .add(new SimpleAttributeModifier(
>                        "onclick",
>                        "return confirm('Information...');"));
>
> I detected, that the add Statement overwrites the "onclick" handler for the
> form submit! How can I have both: After click on the "Ok-Button" it should
> fire up the form.
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to