Just use the below code instead of <af:trainbuttonbar> in your page to achieve the same navigation effect along with the properties you require from the commandButton.
<af:commandButton id="back" text="Back" action="#{controllerContext.currentViewPort.taskFlowContext.trainModel.getPrevious}" immediate="true"/> <af:commandButton id="next" text="Next" action="#{controllerContext.currentViewPort.taskFlowContext.trainModel.getNext}" immediate="true"/>
Here, we're actually getting trainModel from trainFlowContext and navigating back and forth using 'getPrevious' and 'getNext' methods. That's it! Enjoy :) !
Tanks for this information. It's exactly what I'm looking for...
ReplyDeleteYes i wanted this immediate too. My first approach was to get the children of af:trainButtonBar through binding in a bean. And set immediate in the bean for the back button. But surprisingly it has 0 children using getChildren.
ReplyDeleteThanks Anyways
where did you get this getPrevious,getNext method define
ReplyDelete20170303shizhong
ReplyDeletelouis vuitton handbags
michael kors uk
coach outlet store online
cheap oakleys
michael kors outlet
mont blanc pens
coach outlet store
christian louboutin shoes
kevin durant shoes
pandora uk
jimmy choo shoes
ReplyDeleteadidas nmd r1
coach factory outlet
cheap jerseys
coach outlet online
bulls jerseys
gucci bags
coach outlet
adidas sneakers
swarovski uk
170511yueqin
Отопление для дома и квартиры газовый котел для квартиры
ReplyDelete