pkt1583 / gwt-ext

Automatically exported from code.google.com/p/gwt-ext
0 stars 0 forks source link

Within window toolbar buttons are not displayed #420

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create an application as define in the class WindowPBApp
2. Launch this application
3. Click on the button 'Open', a window is displayed with a cancel button
within
   the button toolbar.
4. Click on the cancel button to close the window
5. Click on the button 'Open', now the window is displayed without the
toolbar button. 

What is the expected output? 
For each new instance of the class WindowPB, toolbar buttons should be
displayed.

What do you see instead?
Only the first instance of the window is able to display the toolbar.

What version of the product are you using? On what operating system?
GWT-EXT: 2.0.5
GWT: 1.5.2
Operating system: Windows XP

Please provide any additional information below.
There is a workaround. By removing the call to 'setId()' of the toolbar
button, you will have the expected result.

Original issue reported on code.google.com by e.so...@gmail.com on 18 Sep 2008 at 9:32

Attachments:

GoogleCodeExporter commented 8 years ago
 This is probably problem within generated javascript 

 If in some class we call  setId on some component and after we make more than one
instance of this class, it generates more than one javasript/html objects with 
same
id on the same page.

Proposition: Avoid setId() or be careful :)

Original comment by nikola...@gmail.com on 20 Nov 2008 at 6:20