• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Multiple WOForm's and keeping information
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple WOForm's and keeping information


  • Subject: Re: Multiple WOForm's and keeping information
  • From: Sacha Michel Mallais <email@hidden>
  • Date: Mon, 26 Feb 2007 19:53:25 -0800

On Feb 26, 2007, at 7:16 PM, Baiss Eric Magnusson wrote:

I have 2 WOForm's on a WOComponent page, the 2nd has <enctype> set to "multipart/form-data", to support a file upload.

The file is selected using the sub-component <FileUploadInput> which has a <takeValuesFromRequest>. The user data is shown on the screen after the file is selected, but it does not exist in the source of the page if you look at the HTML, which means to me that it is stashed in the DOM?

The problem is I have no way to keep the data that has been entered on the top form by the user.

That is, WOTextField's on the top form get cleared out during the Submit of the file upload and thus the user has to re-enter the information in the top form and use it's Submit button. That's bad and I am getting complaints.

That's a limitation of HTML, so you'll need to make them a single form if that the functionality you need.



sacha


-- Sacha Michel Mallais Senior Developer / President Global Village Consulting Inc. http://www.global-village.net/ PGP Key ID: 7D757B65 AIM: smallais "Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws." -- Plato



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Multiple WOForm's and keeping information (From: Baiss Eric Magnusson <email@hidden>)

  • Prev by Date: Re: How-tos: Eclipse + WO
  • Next by Date: valid global ID could not be obtained for entity
  • Previous by thread: Multiple WOForm's and keeping information
  • Next by thread: valid global ID could not be obtained for entity
  • Index(es):
    • Date
    • Thread