• 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: problem with pop-up display
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with pop-up display


  • Subject: Re: problem with pop-up display
  • From: David LeBer <email@hidden>
  • Date: Sat, 20 Aug 2005 17:42:33 -0400

On 20-Aug-05, at 4:29 PM, TW wrote:

anybody point me in the right direction on this?

On Aug 19, 2005, at 6:10 PM, TW wrote:



~ not exactly a grizzled veteran so be gentle:-) ~

I have a form designed to capture time reporting information. On this form are popup lists for selecting the "type" of time, hours, and minutes that a user is reporting. Those items are wrapped in a WORepetition so that additional rows with the same data items can be created and committed to the database. All of my code to create additional rows and save these to the database is working at this point. Here's what I'm describing:

http://thetimmy.com/wo/timeentry.png

For hours and minutes popup lists I'm creating arrays of Number objects and then making NSArrays from those. Accessor methods all return and set Number objects.

The difficulty I'm having is presented when I try to retrieve my rows from the database. The rows are retrieved but the minute and hour popups aren't populated with the values saved in the database. The "selection" bindings for both are detailRowItem.selectedHours and detailRowItem.selectedMinutes respectively AND both of those methods DO have the proper values (you can see the strings printed to the right of the popups in the image I referenced).

I don't understand why, if the methods referenced in the bindings are returning values, that those values aren't displayed by the popups. Any enlightenment would be greatly appreciated.


Can we see some code and a pertinent snippet of your .wod file?

Numbers are abstract types. What concrete type are you using to create your array? Are you sure it is the same concrete type that is being returned by EOF. What does your model say for those attributes.

Oh, and your talking crazy database talk again... rows? what are those? Y'all better talk Objects round these parts. :-)

--
;david

--
David LeBer
Codebase Software Systems
site:   http://www.codebase.ca
blog: http://david.codebase.ca


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

  • Follow-Ups:
    • Re: problem with pop-up display
      • From: Arturo PĂ©rez <email@hidden>
References: 
 >[Newbie] -> how to reference static files (css, images, etc)? (From: Miguel Arroz <email@hidden>)
 >Re: [Newbie] -> how to reference static files (css, images, etc)? (From: John Bruce <email@hidden>)
 >Unicode trouble (From: Jim Kuo <email@hidden>)
 >Re: Unicode trouble (From: Kushnir Gennady <email@hidden>)
 >Re: Unicode trouble (From: Jim Kuo <email@hidden>)
 >Re: Unicode trouble (From: Kushnir Gennady <email@hidden>)
 >Re: Unicode trouble (From: Jim Kuo <email@hidden>)
 >Re: Unicode trouble (From: Kushnir Gennady <email@hidden>)
 >Re: Unicode trouble (From: Jim Kuo <email@hidden>)
 >problem with pop-up display (From: TW <email@hidden>)
 >Re: problem with pop-up display (From: TW <email@hidden>)

  • Prev by Date: Re: problem with pop-up display
  • Next by Date: Re: problem with pop-up display
  • Previous by thread: Re: problem with pop-up display
  • Next by thread: Re: problem with pop-up display
  • Index(es):
    • Date
    • Thread