• 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: Getting the form values from WOTable with Text Input fields?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting the form values from WOTable with Text Input fields?


  • Subject: Re: Getting the form values from WOTable with Text Input fields?
  • From: Kieran Kelleher <email@hidden>
  • Date: Wed, 24 Nov 2004 16:50:25 -0500

Hi Chuck, the bindings for list and item in the WOTable bind to my protected NSArray list (of Strings) and public String item in my WOComponent.

I have bound the WOTextField (wrapped by the WOTable) to item. Are you saying that if I put a setItem( anItem ) and item() attributes in my WOComponent that setItem will be called iteratively by takeValuesForRequest phase, hence allowing me to reconstruct the array?

-Kieran

On Nov 24, 2004, at 4:28 PM, Chuck Hill wrote:

I'm confused. As long as the WOTable is in a WOForm, why would you need to
do anything? WOTextField handles this for you. That's its job.



Chuck



At 04:10 PM 24/11/2004 -0500, Kieran Kelleher wrote:

I have a page that uses WOTable to display elements from an array of
strings in WOTextFields. Now how do I approach updating the array with the
user-edited values since WOTable (like WORepetition) _displays_ the items
in my list.


Would I be on the right track if I am thinking of wrapping the WOTable with
a WOGenericContainer since it supports a formValues binding? Any clues or
direction please?


-Kieran


________________________________________________________________
Dev Config = OS X 10.3.5 / Java 1.4.2_05 / WO 5.2.3 / XCode v1.5 / MySQL
4.0.20 / Connector-J 3.0.11
Deploy Config = OS X 10.3.5 Server / Java 1.4.2_05 / WO 5.2.3 / MySQL
4.0.20 / Connector-J 3.0.11
My Blog: http://webobjects.webhop.org/



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


This email sent to email@hidden<<<<


--

Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net



_______________________________________________ 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
  • Follow-Ups:
    • Re: Getting the form values from WOTable with Text Input fields?
      • From: Denis Stanton <email@hidden>
    • Re: Getting the form values from WOTable with Text Input fields?
      • From: Chuck Hill <email@hidden>
References: 
 >Re: Getting the form values from WOTable with Text Input fields? (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Getting the form values from WOTable with Text Input fields?
  • Next by Date: Re: Getting the form values from WOTable with Text Input fields?
  • Previous by thread: Re: Getting the form values from WOTable with Text Input fields?
  • Next by thread: Re: Getting the form values from WOTable with Text Input fields?
  • Index(es):
    • Date
    • Thread