I have a ListBox which is on a tab in a TabPanel. The ListBox only shows one item, so it is actually a drop down. I have unexpected behaviour when disabling and enabling the ListBox.
This is the scenario - The tab with the ListBox is not shown. - The value of the ListBox is updated as the result of a rpc (triggered by pushing a button) and the ListBox is then disabled by the onSuccess method of the callBack. - The tab with the ListBox is selected manually and shown. It renders the ListBox Correctly and it is disabled correctly (nothing happens when I hover the mouse over it nor when I click it). - Another tab is selected manually. This tab has a button. When pressed it enables the ListBox again. - When the tab with the ListBox is selected manually, the ListBox is rendered as enabled. - However, when I hover the mouse over the ListBox, the arrow that normally is highlighted is not. When I click the ListBox, the current value is highlighted but the dropdown list does not appear. This specific problem apparently depends on how the ListBox is added to the Tab.The ListBox itself is a Composite. For example, I can reproduce the problem when I put the ListBox in a VerticalPanel which is added to the tab. When I put it in an Absolute panel, the behaviour is as you would expect (the drop down list is shown when you click the ListBox). Also, when I use a simple ListBox (not as the Widget of a Composite) the erronous behaviour does not happen. I've tried to reproduce it with a simple panel, but I cannot make it happen. It is apparently related to the actual structure of the screen (Composit as widget of other Composites). Also, this problem does not happen in FireFox, Google Chrome nor Safari. The problem both happens in hosted mode as well as running in IE. Can anyone point of whet the cause of this problem might be and how I can solve it? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
