Author: dgolovin
Date: 2007-09-19 14:38:26 -0400 (Wed, 19 Sep 2007)
New Revision: 3721
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/TaggedComboFieldEditor.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-919
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/TaggedComboFieldEditor.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/TaggedComboFieldEditor.java 2007-09-19
18:38:23 UTC (rev 3720)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/TaggedComboFieldEditor.java 2007-09-19
18:38:26 UTC (rev 3721)
@@ -30,11 +30,11 @@
public TaggedComboFieldEditor(String name, String label, List values,
Object defaultValue, boolean floatStyle) {
- super(name, label, defaultValue);
+ super(name, label, defaultValue==null?"":defaultValue.toString());
this.values = Collections.unmodifiableList(values);
this.floatStyle = floatStyle;
combo = new ComboFieldEditor(
- name,label,values,defaultValue,floatStyle);
+ name,label,values,getValue(),floatStyle);
addFieldEditors(new IFieldEditor[]{new LabelFieldEditor(name,label),
combo});
}