开发者

Customize where components within the composite components will be placed in the webpage

开发者 https://www.devze.com 2023-01-24 21:04 出处:网络
Is it possible to specify where the components within a composite component will be displayed on your 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消