problem with pop-up display
problem with pop-up display
- Subject: problem with pop-up display
- From: TW <email@hidden>
- Date: Fri, 19 Aug 2005 18:10:16 -0700
~ 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