Declarative PPR Example
The example in the slide is the View Cart page of the course application, which contains the following code:
<af:panelCollection id="tableCollection">
<f:facet name="toolbar">
<af:toolbar>
<af:commandToolbarButton actionListener="#{FODShoppingCartBean.onDeleteRow}"
text="Delete"
disabled="#{!bindings.Delete.enabled}"
id="deleteToolbarButton">
<af:setActionListener from="#{'Modified'}"
to="#{requestScope.cartStatus}"/>
</af:commandToolbarButton>
<af:commandToolbarButton id="updateToolbarButton" text="Update Shopping Cart"/>
</af:toolbar>
</f:facet>