Juby
(Juby Victor)
February 7, 2010, 8:27pm
1
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
Artur
(Artur Signell)
February 15, 2010, 7:38pm
2
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.
Victor5
(Victor Pyankov)
May 19, 2010, 10:51am
3
Hi!
I have the same problem.
How to reproduce:
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
Add classes (see popupdate.zip)
Execute
mvn package
Deploy WAR to JBoss 4.2.3 GA
Open http://localhost:8080/popupdate-1.0
See attached images
11285.zip (7.41 KB)
John
(John Ahlroos)
May 19, 2010, 11:00am
4
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.