qualifying my user list
qualifying my user list
- Subject: qualifying my user list
- From: Theodore Petrosky <email@hidden>
- Date: Tue, 16 Apr 2013 06:33:42 -0700 (PDT)
I am using these two rule to create the list that populates my popup. However it is not exactly what I want.
100 : (pageConfiguration like '*EmbeddedProjectUser' and propertyKey = 'user') => componentName = "ERD2WEditToOneRelationship" [com.webobjects.directtoweb.Assignment]
100 : (propertyType = 'r' and relationship.destinationEntity.name = 'User') => keyWhenRelationship = "fullName" [com.webobjects.directtoweb.Assignment]
I have a method in my User.java that returns an array of current users:
public NSArray<User> currentUsers() {
EOQualifier qual = User.IS_ACTIVE.eq(true);
return User.fetchUsers(editingContext(), qual, null);
}
how can I create a rule to use this array to populate the popup? You can see that I want the list of available users, not all users. Is this the right approach?
Ted
_______________________________________________
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