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)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
>
>




-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to