Setting Up Customized Dropdown Menus
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.