Hi,
I was facing a lot of problem in implementation of pop-up in my application.
Eveytime I would invoke a pop-up, the javascript part (written in onclick attribute) would get executed before the my listener method (written in action attribute).
After reading Seam Remoting, I tried to call a listener method from javascript function and was able to do so in the first attempt.
Now my code looks like this:
<script type="text/javascript" src="seam/remoting/resource/remote.js"> </script> <script type="text/javascript" src="seam/remoting/interface.js?searchListener"> </script> <script type="text/javascript"> function fun_openSearchWindow(){ alert('in fun_openSearchWindow()'); Seam.Component.getInstance("searchListener").resetPage(resetPageCallback); window.open('search.jsf','search','scrollbars,height=400,width=700'); } </script>