Re: Some Basic Form Handling

2007-05-03 Thread William Keller

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  [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Some Basic Form Handling

2007-05-02 Thread Paul Stanton

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]