EODataSource and objects
EODataSource and objects
- Subject: EODataSource and objects
- From: "Steve Sharman" <email@hidden>
- Date: Fri, 12 Nov 2004 00:15:08 +0000 GMT
- Importance: Normal
Dear all,
I'm trying to add a “select all” function to a D2W frozen component. At the moment it's a simple relationship edit component where the results of a D2W Query component are displayed in a D2W Select component, in which a button is displayed against each result row. When clicked, this adds the selected object into an appropriate relationship.
The results of the Query appear to be supplied to the Select by an EODataSource called selectDataSource. My initial impression of what I needed to do therefore was simply to interate through the objects referred to by this data source and add them into the appropriate relationship, just as is done when a single object is added. My problem at this stage is that there doesn't appear to be a way of doing this. I'm assuming that because the D2W Select component can refer to the set of objects referenced by the EODataSource, it's possible to do this - I just can't see how, looking at the components and the Javadocs.
Is this the right way to approach the task, and if so, how could I programmatically access the set of objects referred to in an EODataSource?
If this is a pathetically stupid way to think about doing this - any advice on what is the right way?!
Best regards, -- Steve
_______________________________________________
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