Customize where components within the composite components will be placed in the webpage
Is it possible to specify where the components within a composite component will be displayed on your webpage?
I have a composite co开发者_StackOverflow社区mponent with a label and a textbox in it. I would like to know if I can specify to have the label be displayed on a div with id "label" and the textbox will be displayed inside another div with id "componentsContainer".
No, that's not possible. Also, the composite component accounts in end as a single component anyway.
Closest what you can get is templating using <ui:define>
and <ui:insert>
, but that does likely not suit the functional requirement you had in mind while developing the composite component.
精彩评论