pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam <sueyent...@gmail.com>
Subject Re: Alert opened and the rest of code keep going
Date Thu, 21 Apr 2011 02:52:09 GMT
Here is a very brief bxml reproduces the error I got




    
        
    
 
    
      
        
            
            importPackage(org.apache.pivot.wtk);
            importClass(java.lang.System);
            function buttonPressed(button) {
                p1.open(button.getWindow(), new
SheetStateListener.Adapter(){
                    function sheetClosed(s){
                        System.out.println("Sheet closed");
                    }
                });
                
            }
            
        
     
    



The error I got was 

javax.script.ScriptException:
sun.org.mozilla.javascript.internal.EvaluatorException: invalid property id
(#6) in  at line number 6


--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Alert-opened-and-the-rest-of-code-keep-going-tp2841188p2845428.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
Mime
View raw message