Today I had interesting requirement about a hyperlink doing so many things at the same time.
-When you hover , it should show menu
-When you click , it should set some param in request scope , call java method and open hyperlink window in Internet Explorer
That sounds easy and I was able to achieve everything with commandLink except one : opening child window on top of parent window.
However , window.open opened the window and minimized it.
To solve this issue I had to take alternate route practically detour.
I wrote goLink which used following stuff inside.
golink (clientlistener , serverlistener , clientattribute )
ServerListener – Calling managed Bean method
clientattribute – setting param to access in managed bean
Golink – to open hyperlink in new window that will not hide