PDA

View Full Version : [CLOSED] Really strange duplication of TextFields



maku
2 Jul 2008, 11:26 PM
Hi,

I've a FormPanel presenting two simple TextFields for login purposes. The panel is shown in a center area of my application.

When I present a window and close the window I see a very strange duplication of my textfields. This happens after every open/close cycle of the window.


(working with Ext GWT 1.0 RC2 and hosted mode)

Could anybody give me an advice what's going on????

Regards,

Martin

gslender
3 Jul 2008, 2:09 AM
post code snippet - can you reproduce in an example?

maku
3 Jul 2008, 3:33 AM
It happens in a complex application. I wasn't able to reproduce it in a simple example.

I'll try to find a workaround. But it is annoying.

cgraf
3 Jul 2008, 5:41 AM
We had a similar problem. If the textfields have the same id in more than one formpanels, we got a problem like you described. The workaround was to change the id of one textfield.

Hope you understand my 3 years old boy english.

cgraf

maku
4 Jul 2008, 9:16 AM
Thanks for the hint!

Now I'm able to reproduce the behaviour.

From my point of view this a clearly a BUG!

darrellmeyer
7 Jul 2008, 10:25 AM
This is not a bug. Id's must be unique as defined by the HTML spec (http://www.w3.org/TR/REC-html40/struct/global.html#h-7.5.2).