WOPopUpButton in WORepetition
WOPopUpButton in WORepetition
- Subject: WOPopUpButton in WORepetition
- From: email@hidden
- Date: Fri, 2 Dec 2005 14:14:46 -0500
Hi All -
I am learning WebObjects and seem to have hit a brick wall with my app.
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
Here is the problem:
When the user adds a row, the popup in each row changes to the
selected choice of the popup in the first row.
It seems that each row (segment) is unique because there are
additional wotextfields within the repetition that do not change when the
popup changes.
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
Just wondering if it is possible to have a popup within a repetition and if
so, how do we maintain each row as unique?
Thanks.
Cord
_______________________________________________
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