Search code examples
jsforacle-adfjdeveloper

Is there no client-side load event for a JSF fragment?


I've been searching a lot to find a way to fire some JS function when a fragment loads. Unfortunately, I can't seem to find an event that I can use inside af:clientListener tag which would say, to put it in a literal sense,

Run this javascript function when the fragment loads

This makes me believe (though could be wrong) that there isn't one available. Is this true?


Solution

  • You can use an af:poll that fires only once.

    Please see if you find this useful:

    http://andrejusb.blogspot.co.uk/2015/03/automatic-adf-popup-opening-on-fragment.html