开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜