2016-07-29 8 views
1

私はいくつかのバリエーションを試しましたが、どれも動作していないようです。パススルーが動作しない

仕様:

  • クロサギ科2.2.5

  • Primefaces 6.0

  • JSF 2.2

1)パススルー

xmlns:h="http://java.sun.com/jsf/html" 
xmlns:ps="http://java.sun.com/jsf/passthrough" 

.... 

<h:inputText id="sign_in_useremail" type="text" class="form-control" ps:placeholder="useremail" /> 

2)PassThroughAttribute


xmlns:h="http://java.sun.com/jsf/html" 
xmlns:pc="http://xmlns.jcp.org/jsf/core" 

... 
<h:inputText id="sign_in_useremail" type="text" class="form-control""> 
    <pc:passThroughAttribute name="sign_in_useremail" value="useemail" /> 
</h:inputText> 

3)1では

<h:inputText id="sign_in_useremail" type="text" class="form-control" label="useremail"> 
+1

スタートを参照してください。http://stackoverflow.com/questions/31068678/which-xml-私の問題を解決した@Kukeltje優秀な、名前空間に使用するjsf-2-2 – Kukeltje

+0

あなたはこの回答をすることができ、私はあなたにそれを受け入れます。 – Fabii

答えて

2

だけのラベル付きロングショット)あなたは2で、事前2.2名前空間を使用しています)あなたは2.2と2.2より前の名前空間が混在しています。それらをすべて2.2準拠にするだけです。

は2.2のための最高/右/最新の名前空間を使用しても

関連する問題