> <PushButton buttonData="Click Me!">
>                 <buttonPressListeners>
>                     importPackage(org.apache.pivot.wtk);
>                     importClass(java.lang.System);
>                     function buttonPressed(button) {                      
>                         prompt1.open(button.getWindow(), new 
> SheetStateListener.Adapter(){
>                             function sheetClosed(s){
>                             }
>                         });                      
>                     }
>                 </buttonPressListeners>
>             </PushButton>

Something along these lines should work. Can you send a brief working example 
that produces the error message you are seeing?


Reply via email to