Hmm... it should work.  Can you try putting your callback method before the 
code that references it?  I.e:

                
  | function resetPageCallback(result) {
  |     alert(result);
  |     if(result == 'success') {
  |           fun_openSearchWindow();
  |         }
  | }
  | 
  | function fun_resetPage() {
  |     alert('in fun_resetPage');
  |             
Seam.Component.getInstance("searchListener").resetPage(resetPageCallback);      
                
  | }
  | 
  | function fun_openSearchWindow(){
  |     Seam.Remoting.setDebug(true);
  | 
  |             Seam.Component.getInstance("searchListener").resetPage();
  |     //alert('in fun_openSearchWindow()');
  |     window.open('search.jsf','search','scrollbars,height=400,width=700');
  | }
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010018#4010018

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010018
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to