I will be adding a special section on this to the main web site. (at least
covering what debugging options tapestry/dojo give you, and then what I use
myself after those methods fail)

Your form functions have finally been documented though,
http://tapestry.apache.org/tapestry4.1/javascript/form.html

On 7/26/06, Jun Tsai <[EMAIL PROTECTED]> wrote:

Thank you very much!

2006/7/26, Jesse Kuhnert <[EMAIL PROTECTED]>:
>
> I may have lead you astray in the other thread. tapestry.form.submit
(form,
> <submit name>) won't cause a specific listener type to be called, you
have
> to use:
>
> tapestry.form.cancel(form) OR tapestry.form.refresh(form)
>
>
> On 7/25/06, Jun Tsai <[EMAIL PROTECTED]> wrote:
> >
> > hi,all
> >   I hadn't did a cancel listener in a form.I want to debug js.But I
> > coudn't
> > find a way to debug?
> >
> > PS:
> > page:
> > <component type="Form" id="AForm">
> >     <binding value="ognl:beans.delegate" name="delegate"/>
> >     <binding value="ognl:true" name="clientValidationEnabled"/>
> >     <binding value="listener:doSaveEntityAction" name="success"/>
> >     <binding value="listener:doCancelEntityAction" name="cancel"/>
> >     <binding value="listener:false" name="focus"/>
> >   </component>
> > html:
> > <input jwcid="@Any" type="Button" value="message:button.Cancle"
> onClick="
> > tapestry.form.submit(this.form,'cancel')"/>
> >
> > When I click the button ,it will call doSaveEntityAction method.
> >
> > Thanks.
> > --
> > Welcome to China Java Users Group(CNJUG).
> > http://cnjug.dev.java.net
> >
> >
>
>
> --
> Jesse Kuhnert
> Tacos/Tapestry, team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind.
>
>


--
Welcome to China Java Users Group(CNJUG).
http://cnjug.dev.java.net




--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.

Reply via email to