Using Refresh Container component in MAF by Waslley Souza

fresh Container, to use when we need to refresh a list view component.

In this post, I will show how you can use the Refresh Container component to update a list of employees instead of use a button component. As a starting point, I will use the application of this post: REST/JSON in MAF. Download the sample application: MAFRESJSONApp_v2.zip.

Open the empList page. Go to Struture panel and right-click the List View component. Select the Surround With option, and then the Refresh Container option.

Set the properties: action=”goFindAll”, pullText=”Pull down to refresh” and busyText=”Refreshing…”.