Re: problem with pop-up display
Re: problem with pop-up display
- Subject: Re: problem with pop-up display
- From: TW <email@hidden>
- Date: Sat, 20 Aug 2005 13:29:47 -0700
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.
Tim
_______________________________________________
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
_______________________________________________
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