複合コンポーネントで targetAttributeName が認識されない理由
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:p="http://primefaces.org/ui"
xmlns:cc="http://java.sun.com/jsf/composite">
<!-- INTERFACE -->
<cc:interface componentType="myComponentExample">
<cc:targetAttributeName..../>
</cc:interface>
..
次のように表示されます: 「コンポーネント ライブラリの複合コンポーネントにコンポーネント targetAttributeName が含まれていません」
ご覧のとおり、targetAttributeName 属性と clientBehaviour 属性がありません。なぜですか?
Netbeans 7.1、MyFaces 2.1.8、および TomEE 1.0 (トランクの更新) を使用しています
この属性は JSF 2.1 以降ですが、使用できません
pom.xml:
<dependency>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-api</artifactId>
<version>2.1.8</version>
<scope>provided</scope>
</dependency>
<!--Apache MyFaces-->
<dependency>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-impl</artifactId>
<version>2.1.8</version>
<scope>provided</scope>
</dependency>
私はこの属性しか見ることができません:
- 名前
- クラス
- デフォルト
- 表示名
- エキスパート
- ID
- メソッド署名
- 親
- 好ましい
- レンダリング
- renderType
- 必要
- 簡単な説明
- ターゲット
- 一時的な
- タイプ