• 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
Setting Up Customized Dropdown Menus
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting Up Customized Dropdown Menus


  • Subject: Setting Up Customized Dropdown Menus
  • From: "Janice M. Cheung" <email@hidden>
  • Date: Wed, 19 Nov 2003 10:13:23 -0500

   Good morning!

I have three dropdown menus that are interdependent - an Institution select menu,
Department select menu, and Division select menu. The options in the Department
menu appear based on Institution selected, and options in the Division menu appear
based on the Department selected.


However, I have to set up the options in the Department menu and the Division menu based on
User Authentication level and flattened relationships with the Department Administrator
and Affiliations tables, such that General Users and Department Administrators are only
able to search through their relationships with affiliated Departments and Divisions.


How can I customize the dropdown menus to reflect only the affiliated Departments and Divisions?
(The relationships are: Person.affiliations_department, Person.deptAdmins_department)
I tried the following:


public NSMutableArray currentDepartments(){
NSMutableArray currentDepartments=new NSMutableArray(s.currentPerson().affiliations());
s.sestOrderList(currentDepartments, "toDepartment.departmentName");
return currentDepartments;
}


   but it didn't work as anticipated.

   Any help and advice would be really appreciated!!

   Thanks!
   Janice
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: graceful restart in WO5.2
  • Next by Date: RE: serializing an NSTimestamp
  • Previous by thread: Re: RE: RE: graceful restart in WO5.2
  • Next by thread: Re: Setting Up Customized Dropdown Menus
  • Index(es):
    • Date
    • Thread