tagInputItem.setValueField("tag");
tagInputItem.setDisplayField("tag");
tagInputItem.setType("comboBox");
tagInputItem.setTextMatchStyle(TextMatchStyle.SUBSTRING);
tagInputItem.setTooltip(MSG.view_tags_tooltip_3());
tagInputItem.addKeyPressHandler(new KeyPressHandler() {
public void onKeyPress(KeyPressEvent event) {
if ((event.getCharacterValue() != null) && (event.getCharacterValue() == KeyCodes.KEY_ENTER)) {
//String tag = form.getValueAsString("tag");
String tag = tagInputItem.getEnteredValue();
if (tag != null) {