I need to design a component where I need to match properties of different objects
The database returns a list of objects for example doors, windows, slabs etc. These get populated in a multiple choice list. Each of this object can have multiple properties ie width, height, material, color etc etc. The properties can be common between the objects. However each object might have it;s own unique property / properties as well. When a user selects an object / combination of objects in the first list, second list should get populated with the properties which are common for the selected objects. What is the best way of designing this scenario? Are there any design patterns to handle this? Any help would be greatly appreciated.
Thanks in Advance.
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop