I'm using jdeveloper 184.108.40.206.0
I would like to know which component I could use in case the save button running an heavy procedure on DB that takes a few seconds.
I have seen progressIndicator and statusIndicator.
But I'm not sure how to use them with save button.
Which one of them I should use and how?
You can use the statusindicator. Just put in somewhere on the page where you can see it. If the server is busy you'll see a spinning gif.
The progressindicator is a progress bar which you see e.g. when loading jdev,
Message was edited by: TimoHahn sample: http://jdevadf.oracle.com/adf-richclient-demo/faces/components/statusIndicator.jspx;jsessionid=Xtdt3Mp-ywdk9VnTutOA_jVsJxUPALblWNXVlVKUAWzp48_jt2C-!167085322 for the statusindicator and http://jdevadf.oracle.com/adf-richclient-demo/faces/components/progressIndicator.jspx;jsessionid=Xtdt3Mp-ywdk9VnTutOA_jVsJxUPALblWNXVlVKUAWzp48_jt2C-!167085322 for the progress.... The samples are for 12c so if you use another version they might look different.
It's not that simple as you need to implement a progress model which does the actual work. All this is quite some work. for just a save button.
You may be interested in this solution http://www.oracle.com/technetwork/developer-tools/adf/learnmore/27-long-running-queries-169166.pdf (comes with sample code for you to check out!). This suits your use case better. Or take a look at http://www.oracle.com/technetwork/developer-tools/adf/learnmore/42-progressbarcolor-169184.pdf