Call multiple URLs on single click of af:goLink in Oracle ADF

Hi,

Last week i experienced a challenging task to forcefully logout from UCM when user logouts from WebCenter application without using Single Sign-on solution.

Note that the application was Extended WebCenter Spaces 11g PS2 so there was no other alternate solution for current environment. i will cover the whole topic in different post sometime soon.

In this post i will cover a simple tip how to call multiple URLs on a single click of af:goLink component in Oracle ADF.

Solution:

I created a simple JavaScript function to call a URL


Later call that JavaScript method on af:goLink using af:clientListener


The destination attribute of af:goLink is calling a logout for WebCenter application and method attribute in af:clientListener is calling a JavaScript function to perform logout from UCM.

Using similar technique you can open any URL in a popup as well.


原文:http://baigsorcl.blogspot.com/2011/08/call-multiple-urls-on-single-click-of.html?spref=tw


你可能感兴趣的:(oracle)