As i frequently work on Oracle ADF, i've decided to write tips on this Framework.
In ADF RC, the body (as well as html and head) is geneated by a single<af:document>.
Problem is that onunload property is not supported by th af:clientListener. So how do i do ?
Well, a solution is to add this event during page load.
First step :
Embed in your <af:document> the following :
Second step :
Add your unload event using this kind of script :
When closing browser your event will be triggered as expected.