Created
August 28, 2012 12:36
-
-
Save mkubala/3497692 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<component type="lookup" name="product" reference="product" | |
field="product"> | |
<option ... /> | |
... | |
</component> | |
... | |
<component type="lookup" name="technology" reference="technology" | |
field="technology" source="#{product}.technologies"> | |
<!-- #{product} wskazuje encję wybraną w lookupie z reference="product", | |
a "technologies" jest polem typu hasMany, zdefiniowanym w modelu produktu | |
i wskazującym na wiele technologii. Właśnie zawartość tego pola definiuje | |
zbiór dopuszczalnych wartości. --> | |
<option ... /> | |
... | |
</component> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment