Using Refresh Container component in MAF

Tweet about this on TwitterShare on Facebook0Share on LinkedIn0Share on Google+0

The new version 2.2 of Oracle MAF was release, and now we have a new useful component, called Refresh 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:

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…”.


Remove the Refresh button.


Deploy the application and enjoy!


Update or insert a new employee row into the Employees table.


Pull down the list of employees, and …


The list of employees was refresh.


Tweet about this on TwitterShare on Facebook0Share on LinkedIn0Share on Google+0

Autor: Waslley Souza

Consultor Oracle com foco em tecnologias Oracle Fusion Middleware e SOA. Certificado Oracle WebCenter Portal, Oracle ADF e Java.

Deixe uma resposta

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *