You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Don Heninger <dh...@gmail.com> on 2007/05/02 22:01:59 UTC

Some Basic Form Handling

I am a noob when it comes to tapestry but I am looking for some basic
instruction on Form handling (not the BeanEditForm) in Tapestry 5.

Can anyone point me in the right direction?

Thanks,
Don

Re: Some Basic Form Handling

Posted by William Keller <wi...@gmail.com>.
>From my understanding, T5 is much different in that there is an '@OnEvent'
annotation

e.g.

class Page
{

   @Component
   private Form form;

   @InjectPage
   NextPage nextPage;

   @OnEvent(value="submit")
   public Object submit()
   {
       return nextPage;
   }
}

and on your corresponding page:

<form t:type="Form" object="Registration">
 <!-- Fielsd go in here -->

</form>


Hope that helps somewhat


On 5/3/07, Paul Stanton < paul.stanton@gunnsoft.com.au> wrote:
>
> http://tapestry.apache.org/tapestry4.1/components/form/form.html
>
> in html:
> <form jwcid="@Form" success="listener:doSubmit">
>
> in java:
> public IPage doSubmit()
> {}
>
> Don Heninger wrote:
> > I am a noob when it comes to tapestry but I am looking for some basic
> > instruction on Form handling (not the BeanEditForm) in Tapestry 5.
> >
> > Can anyone point me in the right direction?
> >
> > Thanks,
> > Don
> >
>
> --
> Paul Stanton
> Gunn Software
> PH: (02) 9918 3666 (ext 503)
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: Some Basic Form Handling

Posted by Paul Stanton <pa...@gunnsoft.com.au>.
http://tapestry.apache.org/tapestry4.1/components/form/form.html

in html:
<form jwcid="@Form" success="listener:doSubmit">

in java:
public IPage doSubmit()
{}

Don Heninger wrote:
> I am a noob when it comes to tapestry but I am looking for some basic
> instruction on Form handling (not the BeanEditForm) in Tapestry 5.
>
> Can anyone point me in the right direction?
>
> Thanks,
> Don
>

-- 
Paul Stanton
Gunn Software
PH: (02) 9918 3666 (ext 503)




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org