Well, SWF seamlessly integrates with JSF 2.0, please refer this link ,
Handling Ajax Events In JSF 2.0
There is no transition to for such a JSF action and it means its ajax request and partial rendering is handled using <render fragments="hotels:searchResultsFragment" /> which declares all those client side id's which need to be re-rendered, quite similar to the update attribute of <p:commandButton>.HTML Code:<view-state id="reviewHotels">
<on-render>
<evaluate expression="bookingService.findHotels(searchCriteria)"
result="viewScope.hotels" result-type="dataModel" />
</on-render>
<transition on="next">
<evaluate expression="searchCriteria.nextPage()" />
<render fragments="hotels:searchResultsFragment" />
</transition>
</view-state>
Hope this helps..
Thanks,
Vijay

