Re: Antwort: T5: @Persist form field or not?

2007-10-22 Thread Angelo Chen
Hi Kristian, Thanks for the explanation, now it's getting a little clearer. let me understand this and correct me if wrong: Tapestry renders a page to the browser, onActivate was called at this time. it generate another page or whatever you call it if a form is specified, , so this edit.form_nam

Antwort: T5: @Persist form field or not?

2007-10-22 Thread Kristian Marinkovic
hi angelo, edit1 does not throw an exception because it is a string. Tapestry will automatically coerce the input and convert it to a string. edit2 does not work without persist because after rendering the usr instance will be discarded and usr will reference null. on submit tapestry will try to