This is normal for forms (at least, w/o Ajax).  You upload a file, and
the response to the HTTP reaquest is a new rendering of the entire
page, so the data in the other form is lost.

Merge them into a single form if you want them to coordinate.

On Mon, Apr 30, 2012 at 12:12 AM, nazarhussain_s <nazar...@gmail.com> wrote:
> Hi ,
>         Currently I am using Tapestry 4 and I have a EditDetails page
> wherein I have two forms, One having all details related to data fields and
> another form having an Upload Document Component. If I upload a document in
> the second form and click on add document button,the doc gets added and gets
> shown in the page  but the values entered in the first form are getting
> cleared or resetted. If I include the UploadDocument component in the same
> form then I am getting page not found error If I click on submit button once
> I add the document in the UploadDocument component.
>
> Regards
> Nazar
>
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Issues-in-a-page-having-multiple-forms-in-tapestry-4-tp5675264.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

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

Reply via email to