This blog entry is about a nice little new feature that was introduced into ADF in the 188.8.131.52 version, and didn't get a mention in the "what's new" document.
Self dismissing messages are popping up everywhere these days (when you get an email, when you have a new calendar invite etc), and you might want to use this UI pattern in your ADF apps too.
There is a new property for af:popup components - autoDismissalTimeout - that allow popups to automatically dismiss after a certain number of seconds that you can specify. This is very useful for all sort of messages that you want to show to the user, but you don't want to require the user to do any activity to dismiss.
Here is an example of such a message that you can associate with a save button:
And here is the code you'll need to do this:
<af:popup id="p1" animate="true" autoDismissalTimeout="2">
<af:panelGroupLayout id="pgl1" layout="horizontal">
<af:image source="stat_confirm_16.png" id="i1"/>
<af:outputFormatted value="Your changes have been saved" id="of1"/>
One more (small) reason to adopt the new versions of Oracle ADF!