|
Hi, I've got this part of data model:
"Towar" represents products and "Koszyk" is a cart for my shop application. Now I need to show all records from "Koszyk" table. However - when I invoke "Display attributes" wizard for "Koszyk" table, Index Unit allows to choose only "oid" and "liczba" attributes. As there's a relationship between entities listed above, I need to show also "nazwa" attribute for each row. How can I do this? Thanks in advance for help. |
|
Hello, the part of the Data Model you've posted has got an error: it is not possible to model a relationship between an Entity with "persistent" duration and an Entity with "volatile" duration. Then if you need to see in the page all the products related to a Cart, you should use a couple of Content Unit. The first one will show the details of a single Cart. The second one will have a Selector Relationship Role Condition on it, to let it show the list of the products related to a certain Cart. This second unit will have got on "nazwa" as displayed attribute. |

