• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
qualifying my user list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: qualifying my user list
      • From: Fabian Peters <email@hidden>
  • Prev by Date: Re: WebObjects 5.4.3 and Java 7
  • Next by Date: exchange server and javamail
  • Previous by thread: Re: WebObjects 5.4.3 and Java 7
  • Next by thread: Re: qualifying my user list
  • Index(es):
    • Date
    • Thread