且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在cc:implementation中引用cc:attribute中声明的值

更新时间:2022-12-23 10:47:48

您需要通过#{cc.attrs.<name>}引用复合组件属性值,其中<name>是属性名称.因此,应该这样做:

You need to reference composite component attribute values by #{cc.attrs.<name>} where <name> is the attribute name. So, this should do:

<h:inputText value="#{cc.attrs.model.vorname}">

另请参见: