Problem with focus() for PopupDateField and

Hi all!

Is there a problem calling focus() for a PopupDateField, it seem that it doesn’t do anything, also AutoReplaceField’s as well

best regards

Haven’t tried AutoReplaceField but I tested focusing with PopupDateField:

final PopupDateField popupDateField = new PopupDateField();
addComponent(popupDateField);

addComponent(new Button("focus", new Button.ClickListener() {
	public void buttonClick(ClickEvent event) {
		popupDateField.focus();
	}
}));

The PopupDateField gets focused in Chrome and Firefox 6 when the focus button is clicked.

kind of embarrased, was my code fault

appreciate your input