hi,

I have done that, but seems like useless. even i press cancel. it will still
post is it applicable for actionLink( i mean this tutorial) also?

if(! confirm(this.message))
      e.stop();

THank you.

Tan





2008/12/23 ningdh <ningd...@gmail.com>

>
> I am afraid you must stop the event as
> http://wiki.apache.org/tapestry/Tapestry5AndJavaScriptExplained does, or
> else the request is still posted.
>
> > hi 滕训华 ,
> >
> > do you might to share out your coding about
> > @Component(parameters = {"onClick=literal:return confirm(\"do you want to
> > delete this record?\");"})  ?
> >
> > i have a problem on prompt a confirmation box before submit. but when i
> even
> > press cancel. it also do  the submit post back.
> >
> > Thank you.
> >
> > Regards,
> > Tan
> >
> >
> > 2008/6/27 滕训华 <ten...@magic-sw.com.cn>
> >
> >> Hi,everyone
> >>
> >>
> >>
> >> @Component(parameters = {"onClick=literal:return confirm(\"do you want
> to
> >> delete this record?\");"})
> >>
> >>
> >>
> >> The string "do you want to delete this record?" that I want to read it
> >> from the properties file,how to do it?
> >>
> >>
> >>
> >> I am using the t5
> >>
> >>
> >
>

Reply via email to