PDA

View Full Version : Component ID



alex_05
23 Nov 2009, 6:34 AM
Is there a limitation for ID ?

TextField<String> textField = new TextField<String>();
textField.setFieldLabel(baseField.getName());
textField.setId("1.2.3");
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.


Thanks, Alex.
:)