Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Issue with popupdatefield
Using vaadin version 6.2.3,
Trying to add a popupdatefield to a gridlayout within a vertical layout in a tabsheet.
The issue is that the popup does not appear, the datefield shows up as a textfield.
Code is as follows
private PopupDateField asOfDate;
asOfDate = new PopupDateField();
asOfDate.setCaption("As of");
asOfDate.setStyleName("calendar");
asOfDate.setValue(DateUtils.getCurrentDateInYYYYMMDD());
asOfDate.setResolution(PopupDateField.RESOLUTION_DAY);
asOfDate.setImmediate(true);
asOfDate.addListener(new ValueChangeListener() {
@Override
public void valueChange(ValueChangeEvent event) {
logger.info("meow");
}
});
Please see attached image.
Any help on getting this right ?
tia
-jv
I tested the part of your code that you posted and the popup datefield works just as expected. Even putting it inside gridlayout within a vertical layout inside a tabsheet works fine. Posting a complete test case will allow others to more easily test it and spot the error or find the bug.
Hi!
I have the same problem.
How to reproduce:
1. Create project
mvn archetype:generate
-DarchetypeGroupId=com.vaadin
-DarchetypeArtifactId=vaadin-archetype-clean
-DarchetypeVersion=LATEST
-DgroupId=kz.irbis.test
-DartifactId=popupdate
-Dversion=1.0
-Dpackaging=war
2. Add classes (see popupdate.zip)
3. Execute
mvn package
4. Deploy WAR to JBoss 4.2.3 GA
5. Open http://localhost:8080/popupdate-1.0
6. See attached images
This looks like bug #4582 which was fixed for 6.3.3.
You could try the vaadin 6.3.3 nightly build and check if the problem persists.