Thanks for the replies, Ive been out and so was not able to respond to
the replies earlier.

I tend to think like Paul, and raise a second event DepartmentProduct
then a third event StoreDepartmentProduct. This will keep the
components more seperated. But its a pain in the A* to have to create
separate events and then dispatch. 

Maybe it would be more convenient to pass the data into the
ProductView, not as part of the Product but as a different class such
as Structure, or as Pauls extendedInfo which would be more generic.
The structure class would contain the department id and store id. In
fact structure can be passed down through the hierarchy so that it can
be added to at each new level to give data. So when the product was
selected it could pass back 2 bits of data such as product id and
structure.

I don't like to use Parent to access the structure as when you are at
the bottom, you may not know what is above you in the hierarchy.

Andrew

Reply via email to