PDA

View Full Version : Combox TypeError



johnaz
3 Nov 2011, 10:59 PM
When I am using gxt 2.x to code,i get a (TypeError):node is null
my code is
categoryComboStore = new ListStore<KmPageModel>(); categoryComboBox = new ComboBox<KmPageModel>();
categoryComboBox.setStore(categoryComboStore);
categoryComboBox.setWidth(100);
categoryComboBox.setTemplate(getCategoryComboBoxIconTemplate());
categoryComboBox.setDisplayField("name");
categoryComboBox.setTypeAhead(true);
categoryComboBox.setTriggerAction(TriggerAction.ALL);
categoryComboBox.setEmptyText(kmMessages.pleaseSelectAKnowledgeMap());
operationalToolBar.add(categoryComboBox);
operationalToolBar.add(new SeparatorToolItem());

sven
4 Nov 2011, 2:42 AM
Can you please post a fully working testcase implementing EntryPoint for your problem? We would really like to help you, but with the information you have given this is not possible