我已经有了声明性组件jsf,并在另一个项目中使用了它。 此组件:导航工具栏的下一行和上一行以及第一行。 但是,当按下这些按钮后,向该声明性组件添加绑定之后的操作将不起作用。
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html>
<f:view xmlns:f="http://java.sun.com/jsf/core"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
xmlns:ccl="/componentLib1">
<af:document title="testComp1.jsf" id="d1">
<af:messages id="m1"/>
<af:form id="f1">
<af:panelFormLayout id="pfl1" partialTriggers="cd1">
<af:inputText value="#{bindings.RegionId.inputValue}" label="#
{bindings.RegionId.hints.label}"
required="#{bindings.RegionId.hints.mandatory}"
columns="#
{bindings.RegionId.hints.displayWidth}"
maximumLength="#
{bindings.RegionId.hints.precision}"
shortDesc="#{bindings.RegionId.hints.tooltip}"
id="it1">
<f:validator binding="#{bindings.RegionId.validator}"/>
<af:convertNumber groupingUsed="false" pattern="#{bindings.RegionId.format}"/>
</af:inputText>
<af:inputText value="#{bindings.RegionName.inputValue}" label="#{bindings.RegionName.hints.label}"
required="#{bindings.RegionName.hints.mandatory}"
columns="#{bindings.RegionName.hints.displayWidth}"
maximumLength="#{bindings.RegionName.hints.precision}"
shortDesc="#{bindings.RegionName.hints.tooltip}" id="it2">
<f:validator binding="#{bindings.RegionName.validator}"/>
</af:inputText>
</af:panelFormLayout>
</af:form>
<ccl:componentDef1 id="cd1" FirstMethod="#{bindings.First.execute}" LastMethod="#{bindings.Last.execute}" NextMethod="#{bindings.Next.execute}" PerviousMethod="#{bindings.Previous.execute}" />
</af:document>