What are the differences between ui:composition
and ui:decorate
in Facelets ? Both seem to support ui:define
as child tags . In what cases would you use each of these ?
Anything outside <ui:composition>
tag is disregarded. This isn't true for <ui:decorate>
, which is thus beneficial as "template-in-template".
How that makes sense can maybe be better understood by looking at some real world examples in the below answers:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With