[jboss-user] [JBoss Seam] - Re: sequence execution not followed in seam reemoting

shane.bryzak@jboss.com do-not-reply at jboss.com
Fri Feb 2 08:39:36 EST 2007


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



More information about the jboss-user mailing list