Re: [Tapestry-developer] Can't understand what is form rewinding.
Brought to you by:
hship
From: Adam G. <ag...@nb...> - 2003-02-22 03:49:10
|
The basic idea of form rewinding is this: During the regular running of a page, the page is rendered with all of its fields in the form. You fill out the field and submit the form. Upon submission, Tapestry rewinds the page, which means that it takes the values that you filled out in the field and stores those values in their appropriate spot (into the Java Bean Property that you attached to the value binding) and then calls the form listener. During a rewind cycle the page is not rendered into HTML. The analogy is this: You unwind a page when you lay out the forms in HTML, when you submit, you rewind the page and pull back the values in the fields, removing the page from view and replacing it with the next page (which, technically, can be the same page that you just saw). ----- Original Message ----- From: "Elankath, Tarun (Cognizant)" <ET...@bl...> To: <tap...@li...> Sent: Friday, February 21, 2003 3:54 AM Subject: [Tapestry-developer] Can't understand what is form rewinding. > Hi list, > > Sorry for this newbie-style question. I have read the tutorial and the user > manual. I understand the advantages that Tapestry offers, but its complexity > is mind-boggling. I have been just totally unable to understand what is form > rewinding/rewind cycle and its principle. > > Could someone please explain what rewind is ? > > All help/pointers gratefully appreciated, > Tarun > > |