D2W relationship editor with dependent popups
D2W relationship editor with dependent popups
- Subject: D2W relationship editor with dependent popups
- From: "Brook, James" <email@hidden>
- Date: Wed, 04 Jan 2012 16:27:25 +0100
- Acceptlanguage: en-US
- Thread-topic: D2W relationship editor with dependent popups
I am using ERModernLook and I want to have an embedded relationship editor with two or perhaps more dependent popups. The top part of my object graph is a tree:
Country --> Region --> Sub-Region --> Locality
Each of these is an entity which uses entity inheritance to extend a common 'location' entity, although I doubt that makes a difference in the view layer.
I have another entity which has a locality relationship. I want the relationship editor to let me narrow the locality list down by filtering on country, region and sub-region.
Is there a community approved way of achieving this? I have managed to get ERD2WTwoLevelEditToOneRelationship working properly but it would need some customisation - it uses a table for layout and the column titles are basically hard coded in the bindings. It also only works for two popups.
I have also seen the R2D2W dependent popups example that Ramsey posted to the list in July. He is using an AjaxNotificationCenter and AjaxObserving switch via rules to assemble something that filters a list by attributes.
Can anyone suggest a good approach please? Is there a ready made component for this? Perhaps I should just be going for a single long combo box or some sort of type-ahead solution.
Thanks
James _______________________________________________
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