1
我试图使用PFS
来选择processing/updating
的元素。它适用于我使用例如一个styleClass
为选择。使用属性的PrimeFaces选择器(PFS)包含选择器[name * =“value”]
<p:commandButton actionListener="#{testBean.testAction}" value="Submit test"
process="@this @(.processStyleClass)"
/>
但我不能把它使用属性时,包含选择的工作(使用的最大长度来作为例子):
<p:inputText value="#{testBean.test}"
maxlength="4"/>
<p:commandButton actionListener="#{testBean.testAction}"
value="Submit test"
process="@this @([maxlength*='4'])"/>
但是,当我在控制台中直接使用的选择,我可以选择输入字段。
您是否有任何可以通过属性选择的工作示例,其中包含PFS
?
此致 圣何塞
Primefaces 5.1,钻嘴鱼科2.2.7