Re: Asyncronous calls in RCP behaves wierd.

2011-01-07 Thread Cesar Ruiz
Thank you Alan. when you say: If is a global variable then you will never get the result you require. Why does this happen?. How can I get the result and set it to another variable, in the case I wanted to use that variable for another porpose. I dont like it much to call a RCP everytime I

Asyncronous calls in RCP behaves wierd.

2011-01-03 Thread Kidowell
Hello, I'm doing a project where in the interface shows a listBox that includes the names of some books, the thing is that you must choose one and you will look wether in pdf or txt. My problem is that when changing the listbox, itll show the just last book you chose, rather the current one.

Re: Asyncronous calls in RCP behaves wierd.

2011-01-03 Thread Cesar Ruiz
It is also saving more books when reloading the page (but I dont care much about it as that wont be too painful to fix). But please I need some help on the RCP asyncronous calls. What workaround can I do?. Kido. On 3 January 2011 19:23, Kidowell crui...@gmail.com wrote: Hello, I'm doing a

Re: Asyncronous calls in RCP behaves wierd.

2011-01-03 Thread a...@mechnicality.com
If I understand your code correctly, its actually doing exactly what you've asked it to do. You are calling a method called 'setCurrentBook(..))' which doesn't seem to do anything very much. You are then defining a callback 'public void setCurrentBook(String bookname)' blah... You are