ui:decorateui:decorate
The decorate tag is identical to the composition tag, except that ui:decorate, unlike ui:composition, does not disregard all content outside of the tag. The decorate is useful when you want to decorate some content in a page, for example, you might want to decorate a list of items, like this:
Because JSF does not disregard everything outside of the ui:decorate tag, ui:decorate can be used to decorate pieces of a page.
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-49261-1.html
中国人不惹事