• 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: Saving data from WOFileUpload in a sub-component
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Saving data from WOFileUpload in a sub-component


  • Subject: Re: Saving data from WOFileUpload in a sub-component
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 9 Aug 2007 11:56:32 -0700


On Aug 8, 2007, at 5:00 PM, David Holt wrote:

I have a sub-component inside a form that contains a WOFileUpload.

<form>
Name
Address
<uploadcomponent>
WOFileUpload
Date of upload
</uploadcomponent>
Submit
</form>

Normally I set the values in the database using a method that evaluates the bindings in the WOFileUpload when I submit the form. In this case I can't do that because the submit button is in the parent component. How can I programatically set attribute values in a sub-form when the parent form is submitted?

I don't think you can. Can you do it in takeValues after calling super? You will probably need / want to make the uploading component non-synchronizing.


Chuck


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects





_______________________________________________ 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: 
 >Saving data from WOFileUpload in a sub-component (From: David Holt <email@hidden>)

  • Prev by Date: Re: Missed the information about WWDC/Leopard/WO?
  • Next by Date: Newbie - Where/How to configure the connection to the database?
  • Previous by thread: Re: Saving data from WOFileUpload in a sub-component
  • Next by thread: Re: Webobjects Applications
  • Index(es):
    • Date
    • Thread