Revision history [back]

click to hide/show revision 1
initial version

asked 2012-12-27 11:12:32 +0800

frann gravatar image frann

ShowBusy delay inside of a listener

Hi, I have a problem with a Clients.showbusy inside of a listener, it's just shows when the process of a Listener is over, here I have some pseudo code: private EventListener processServiceAnswerChatEventListener = new EventListener() {

 public void onEvent(Event e) throws Exception {
       Label lb = new Label(scriptDialog.getTxPostChat());
      Clients.showBusy(lb .getValue()); -> SHOULD SHOW THE MESSAGE OF PROCESS HERE BUT
      //WEB SERVICE CALL. 
      List<Return> listReturnFromService = ServiceUtil.getServiceReturn(scriptDialog.getUrl(),mapParams); 
     //AT THIS POINT THE MESSAGE IS CALL,AND THE PROCESS IS OVER. 
 }

};

Does some one have a solution fo this?! I really tried everything... But it's just not work.

ShowBusy delay inside of a listener

Hi, I have a problem with a Clients.showbusy inside of a listener, it's just shows when the process of a Listener is over, here I have some pseudo code: code:

private EventListener processServiceAnswerChatEventListener = new EventListener() {

{
  public void onEvent(Event e) throws Exception {
        Label lb = new Label(scriptDialog.getTxPostChat());
       Clients.showBusy(lb .getValue()); -> SHOULD SHOW THE MESSAGE OF PROCESS HERE BUT
       //WEB SERVICE CALL. 
       List<Return> listReturnFromService = ServiceUtil.getServiceReturn(scriptDialog.getUrl(),mapParams); 
      //AT THIS POINT THE MESSAGE IS CALL,AND THE PROCESS IS OVER. 
  }
};

};

Does some one have a solution fo this?! I really tried everything... But it's just not work.

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More