View Full Version : Problem with Component id
23 Nov 2009, 4:57 AM
Hello, I have a problem if i set the component's id "1.2.3". It looks like you can't set a String that contains "." . Is there a limitation?Or a bug? I did not found this on API docs.
23 Nov 2009, 5:28 AM
No, using a string with '.' should work just fine. What kind of problem do you have?
ps. The id should not contain the TabPanel idDelimiter ('__') if the component is used as a tab in a tabpanel or as the tabpanel itself.
23 Nov 2009, 5:46 AM
TextField<String> textField = new TextField<String>();
The error I got:
(TypeError): 'null' is null or not an object number: -2146823281 description: 'null' is null or not an object
TextField component is added to a FieldSet component.
If I replace "." with "_" it works just fine.
23 Nov 2009, 6:09 AM
My answer was for Ext JS and not for GXT.
You should ask this question in the GXT Help forum.
23 Nov 2009, 6:33 AM
OK, sorry I'm new here. Thanks anyway
Powered by vBulletin® Version 4.1.5 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.