Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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>
Add Comment
Please, Sign In to add comment