• 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: WOPopUpButton in WORepetition
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOPopUpButton in WORepetition


  • Subject: Re: WOPopUpButton in WORepetition
  • From: David LeBer <email@hidden>
  • Date: Fri, 2 Dec 2005 14:23:25 -0500

On 2-Dec-05, at 2:14 PM, email@hidden wrote:


Hi All -

I am learning WebObjects and seem to have hit a brick wall with my app.

That must have hurt :-)


Here is some background info:
there is a WOPopUpButton that is wrapped in a WORepetition which is
wrapped in a WOForm
when user navigates to the page, there is one row in the repetition
automatically created
the popup is populated using a dictionary .plist file
a submit button creates a new row (segment) in the repetition

<snip>

I have looked at the webobjects examples and it seems my bindings are
correct:

item = type (NSDictionary) - located in the java file for the webpage
list = lookupDict.partIdSegmentTypes - from the LookupDict.plist
located in Web Server Resources
name = "partIDSegmentTypes"
displayString = type.name (String) - keys for popup are name and
value
selection = aSegment.segmentType (int) - attribute segmentType of
object Segment

This looks broken, the selection binding's Object type must match the item's Object type.


If you are trying to set an Integer, then the list should be an array of Integers and the item should be an Integer as well.

--
;david

--
David LeBer
Codeferous Software
'co-defer-ous' adj. producing or containing code
site:   http://www.codeferous.com
blog: http://david.codeferous.com




Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: 
 >WOPopUpButton in WORepetition (From: email@hidden)

  • Prev by Date: WOPopUpButton in WORepetition
  • Next by Date: Re: Stale data in EC
  • Previous by thread: WOPopUpButton in WORepetition
  • Next by thread: Search Tools
  • Index(es):
    • Date
    • Thread