1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    4
    Vote Rating
    0
    hernic is on a distinguished road

      0  

    Default Unanswered: Stange Black Cloud after Event fired

    Unanswered: Stange Black Cloud after Event fired


    Hello,

    we have got a 'Black Cloud' after Event have been fired. No logs :-( .... any idea ?

    thanx for help
    Nicolas
    Attached Images

  2. #2
    Sencha User
    Join Date
    Jun 2012
    Posts
    4
    Vote Rating
    0
    hernic is on a distinguished road

      0  

    Default GXT 2

    GXT 2


    Sorry if it looks like bad forum for this Thread :-(

  3. #3
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,641
    Vote Rating
    434
    Answers
    3107
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Moved to GWT 2 Q&A forum.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.

  4. #4
    Sencha User
    Join Date
    Jun 2012
    Posts
    4
    Vote Rating
    0
    hernic is on a distinguished road

      0  

    Default Some news

    Some news


    The problem exists when i call a rpc method in the success of the handler .. :-(


    When i remove updateLimitationInformation() i don't have the black cloud.

    Code:
    AlephBusEvent.getInstance().addHandler(SearchEvent.TYPE,
    				new SearchEventHandler() {
    
    
    					@Override
    					public void onGetPersonna(
    							ArrayList<PersonnaInterface> personnas) {
    						updateLimitationInformation();
    					}
    				}); 
    
    private void updateLimitationInformation() {
    
    
    		PersistanceService.Util.getInstance()
    				.getLimitationInformation(user,
    						new AsyncCallback<String>() {
    
    
    							@Override
    							public void onFailure(
    									Throwable caught) {
    								counterButton.setTitle("error");
    								counterButton.setText("0");
    								counterButton.setVisible(true);
    							}
    
    
    							@Override
    							public void onSuccess(String result) {
    								counterButton.setText(result);
    								counterButton.setVisible(true);
    							}
    						});
    	}

  5. #5
    Sencha User
    Join Date
    Jun 2012
    Posts
    4
    Vote Rating
    0
    hernic is on a distinguished road

      0  

    Default RESOLVED

    RESOLVED


    theSetVisible was the point, removing the setVisible() and it is ok :-S

    Lesson 1 : don"t use setVisible() if not needed.