0
@FacesComponent(value="mycomponent0")
public class MyComponent extends HtmlPanelGroup{
MyComponent(){
String a0=this.getAttributes().get("attr0");
}
}
taglib.xmlのタグがattr0が含まれています属性とタグの使用法は次のとおりです。
<abc:mycomponent attr0="helloworld"></abc:mycomponent>
だから私の質問は、問題を引き起こすものと、それを処理する方法である
おかげ
?
ここでBalusCの答えを読んでください。説明: https://stackoverflow.com/questions/30404268/cannot-get-custom-component -attribute-from-backing-bean – Pazura