-
26 Nov 2012 2:40 AM #1
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
-
26 Nov 2012 2:53 AM #2
GXT 2
GXT 2
Sorry if it looks like bad forum for this Thread :-(
-
26 Nov 2012 5:50 AM #3Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,118
- Vote Rating
- 453
- Answers
- 3160
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.
-
27 Nov 2012 8:27 AM #4
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); } }); }
-
27 Nov 2012 9:22 AM #5
RESOLVED
RESOLVED
theSetVisible was the point, removing the setVisible() and it is ok :-S
Lesson 1 : don"t use setVisible() if not needed.


Reply With Quote