]> source.dussan.org Git - vaadin-framework.git/commitdiff
Added debugIds
authorArtur Signell <artur.signell@itmill.com>
Fri, 27 Aug 2010 13:18:18 +0000 (13:18 +0000)
committerArtur Signell <artur.signell@itmill.com>
Fri, 27 Aug 2010 13:18:18 +0000 (13:18 +0000)
Now displays server side values also

svn changeset:14643/svn branch:6.4

tests/src/com/vaadin/tests/components/datefield/CustomDateFormats.html
tests/src/com/vaadin/tests/components/datefield/CustomDateFormats.java

index 2a1a9ea186aa2b376c7e35448c5098824e189aa8..2c2dc1bd42630b9eb313f902935d627dc5ceaf9f 100644 (file)
 <!--fr_FR-->\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[1]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd M yyyy/domChild[0]</td>\r
        <td>1 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[4]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MM yyyy/domChild[0]</td>\r
        <td>1 02 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[7]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMM yyyy/domChild[0]</td>\r
        <td>1 févr. 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[10]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMMM yyyy/domChild[0]</td>\r
        <td>1 février 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[13]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sdd M yyyy/domChild[0]</td>\r
        <td>01 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[16]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sddd M yyyy/domChild[0]</td>\r
        <td>001 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[19]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd M y/domChild[0]</td>\r
        <td>1 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[22]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd M yy/domChild[0]</td>\r
        <td>1 2 10</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[25]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd M yyy/domChild[0]</td>\r
        <td>1 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[28]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd M yyyy-/domChild[0]</td>\r
        <td>1 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[31]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMMM yyyy-/domChild[0]</td>\r
        <td>1 février 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[34]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMM yyyy-/domChild[0]</td>\r
        <td>1 févr. 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[37]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_SddXMMXyy/domChild[0]</td>\r
        <td>01/02/10</td>\r
 </tr>\r
 <!--Test parsing-->\r
 <tr>\r
        <td>mouseClick</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[7]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMM yyyy/domChild[0]</td>\r
        <td>109,12</td>\r
 </tr>\r
 <tr>\r
        <td>enterCharacter</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[7]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMM yyyy/domChild[0]</td>\r
        <td>26 sept. 2010</td>\r
 </tr>\r
 <tr>\r
        <td>mouseClick</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[10]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMMM yyyy/domChild[0]</td>\r
        <td>15,8</td>\r
 </tr>\r
 <tr>\r
        <td>enterCharacter</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[10]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMMM yyyy/domChild[0]</td>\r
        <td>26 septembre 2010</td>\r
 </tr>\r
 <tr>\r
        <td>mouseClick</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[7]/VPopupCalendar[0]/domChild[1]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMM yyyy/domChild[1]</td>\r
        <td>10,10</td>\r
 </tr>\r
 <tr>\r
        <td>mouseClick</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[7]/VPopupCalendar[0]/domChild[1]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]</td>\r
        <td>10,10</td>\r
 </tr>\r
 <tr>\r
        <td>mouseClick</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[10]/VPopupCalendar[0]/domChild[1]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMMM yyyy/domChild[1]</td>\r
        <td>9,12</td>\r
 </tr>\r
 <tr>\r
        <td>mouseClick</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[10]/VPopupCalendar[0]/domChild[1]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]</td>\r
        <td>9,12</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[7]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMM yyyy/domChild[0]</td>\r
        <td>26 sept. 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[10]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMMM yyyy/domChild[0]</td>\r
        <td>26 septembre 2010</td>\r
 </tr>\r
 <!--Parsing for fi_FI-->\r
 </tr>\r
 <tr>\r
        <td>mouseClick</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[7]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMM yyyy/domChild[0]</td>\r
        <td>109,12</td>\r
 </tr>\r
 <tr>\r
        <td>enterCharacter</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[7]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMM yyyy/domChild[0]</td>\r
        <td>10 maalis 1999</td>\r
 </tr>\r
 <tr>\r
        <td>mouseClick</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[10]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMMM yyyy/domChild[0]</td>\r
        <td>15,8</td>\r
 </tr>\r
 <tr>\r
        <td>enterCharacter</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[10]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMMM yyyy/domChild[0]</td>\r
+       <td>26 syyskuu 1980</td>\r
+</tr>\r
+<tr>\r
+       <td>assertText</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[11]/VLabel[0]</td>\r
+       <td>10 maalis 1999</td>\r
+</tr>\r
+<tr>\r
+       <td>assertText</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[15]/VLabel[0]</td>\r
        <td>26 syyskuu 1980</td>\r
 </tr>\r
 <tr>\r
        <td>mouseClick</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[7]/VPopupCalendar[0]/domChild[1]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMM yyyy/domChild[1]</td>\r
        <td>10,10</td>\r
 </tr>\r
 <tr>\r
        <td>mouseClick</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[7]/VPopupCalendar[0]/domChild[1]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMM yyyy/domChild[1]</td>\r
        <td>10,10</td>\r
 </tr>\r
 <tr>\r
        <td>mouseClick</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[10]/VPopupCalendar[0]/domChild[1]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMMM yyyy/domChild[1]</td>\r
        <td>9,12</td>\r
 </tr>\r
 <tr>\r
        <td>mouseClick</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[10]/VPopupCalendar[0]/domChild[1]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMMM yyyy/domChild[1]</td>\r
        <td>9,12</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[7]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMM yyyy/domChild[0]</td>\r
        <td>10 maalis 1999</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[10]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMMM yyyy/domChild[0]</td>\r
        <td>26 syyskuu 1980</td>\r
 </tr>\r
 <tr>\r
        <td>mouseClick</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[31]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd. MMMM'ta 'yyyy/domChild[0]</td>\r
        <td>124,13</td>\r
 </tr>\r
 <tr>\r
        <td>enterCharacter</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[31]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd. MMMM'ta 'yyyy/domChild[0]</td>\r
+       <td>10. tammikuuta 2011</td>\r
+</tr>\r
+<tr>\r
+       <td>assertText</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[43]/VLabel[0]</td>\r
        <td>10. tammikuuta 2011</td>\r
 </tr>\r
 <tr>\r
        <td>mouseClick</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[31]/VPopupCalendar[0]/domChild[1]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd. MMMM'ta 'yyyy/domChild[1]</td>\r
        <td>5,10</td>\r
 </tr>\r
 <tr>\r
 </tr>\r
 <tr>\r
        <td>mouseClick</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[31]/VPopupCalendar[0]/domChild[1]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]</td>\r
        <td>5,10</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[31]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd. MMMM'ta 'yyyy/domChild[0]</td>\r
        <td>10. tammikuuta 2011</td>\r
 </tr>\r
 <!--zh-->\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[1]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd M yyyy/domChild[0]</td>\r
        <td>1 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[4]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MM yyyy/domChild[0]</td>\r
        <td>1 02 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[7]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMM yyyy/domChild[0]</td>\r
        <td>1 二月 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[10]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMMM yyyy/domChild[0]</td>\r
        <td>1 二月 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[13]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sdd M yyyy/domChild[0]</td>\r
        <td>01 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[16]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sddd M yyyy/domChild[0]</td>\r
        <td>001 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[19]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd M y/domChild[0]</td>\r
        <td>1 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[22]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd M yy/domChild[0]</td>\r
        <td>1 2 10</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[25]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd M yyy/domChild[0]</td>\r
        <td>1 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[28]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd M yyyy-/domChild[0]</td>\r
        <td>1 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[31]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Syyyy'年'M'月'd'日'/domChild[0]</td>\r
        <td>2010年2月1日</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[34]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Syyyy-M-d/domChild[0]</td>\r
        <td>2010-2-1</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[37]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Syy-M-d/domChild[0]</td>\r
        <td>10-2-1</td>\r
 </tr>\r
 <tr>\r
 <!--en_US-->\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[1]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd M yyyy/domChild[0]</td>\r
        <td>1 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[4]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MM yyyy/domChild[0]</td>\r
        <td>1 02 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[7]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMM yyyy/domChild[0]</td>\r
        <td>1 Feb 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[10]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMMM yyyy/domChild[0]</td>\r
        <td>1 February 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[13]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sdd M yyyy/domChild[0]</td>\r
        <td>01 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[16]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sddd M yyyy/domChild[0]</td>\r
        <td>001 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[19]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd M y/domChild[0]</td>\r
        <td>1 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[22]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd M yy/domChild[0]</td>\r
        <td>1 2 10</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[25]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd M yyy/domChild[0]</td>\r
        <td>1 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[28]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd M yyyy-/domChild[0]</td>\r
        <td>1 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[31]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_SMMMM d, yyyy/domChild[0]</td>\r
        <td>February 1, 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[34]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_SMMM d, yyyy/domChild[0]</td>\r
        <td>Feb 1, 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[37]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_SMXdXyy/domChild[0]</td>\r
        <td>2/1/10</td>\r
 </tr>\r
 <tr>\r
 <!--en_GB-->\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[1]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd M yyyy/domChild[0]</td>\r
        <td>1 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[4]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MM yyyy/domChild[0]</td>\r
        <td>1 02 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[7]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMM yyyy/domChild[0]</td>\r
        <td>1 Feb 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[10]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMMM yyyy/domChild[0]</td>\r
        <td>1 February 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[13]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sdd M yyyy/domChild[0]</td>\r
        <td>01 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[16]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sddd M yyyy/domChild[0]</td>\r
        <td>001 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[19]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd M y/domChild[0]</td>\r
        <td>1 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[22]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd M yy/domChild[0]</td>\r
        <td>1 2 10</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[25]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd M yyy/domChild[0]</td>\r
        <td>1 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[28]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd M yyyy-/domChild[0]</td>\r
        <td>1 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[31]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sdd MMMM yyyy/domChild[0]</td>\r
        <td>01 February 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[34]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sdd-MMM-yyyy/domChild[0]</td>\r
        <td>01-Feb-2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[37]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_SddXMMXyy/domChild[0]</td>\r
        <td>01/02/10</td>\r
 </tr>\r
 <tr>\r
 <!--fi_FI-->\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[1]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd M yyyy/domChild[0]</td>\r
        <td>1 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[4]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MM yyyy/domChild[0]</td>\r
        <td>1 02 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[7]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMM yyyy/domChild[0]</td>\r
        <td>1 helmi 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[10]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd MMMM yyyy/domChild[0]</td>\r
        <td>1 helmikuu 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[13]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sdd M yyyy/domChild[0]</td>\r
        <td>01 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[16]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sddd M yyyy/domChild[0]</td>\r
        <td>001 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[19]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd M y/domChild[0]</td>\r
        <td>1 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[22]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd M yy/domChild[0]</td>\r
        <td>1 2 10</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[25]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd M yyy/domChild[0]</td>\r
        <td>1 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[28]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd M yyyy-/domChild[0]</td>\r
        <td>1 2 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[31]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd. MMMM'ta 'yyyy/domChild[0]</td>\r
        <td>1. helmikuuta 2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[34]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd.M.yyyy/domChild[0]</td>\r
        <td>1.2.2010</td>\r
 </tr>\r
 <tr>\r
        <td>assertValue</td>\r
-       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[37]/VPopupCalendar[0]/domChild[0]</td>\r
+       <td>vaadin=runcomvaadintestscomponentsdatefieldCustomDateFormats::PID_Sd.M.yyyy-/domChild[0]</td>\r
        <td>1.2.2010</td>\r
 </tr>\r
 <!---->\r
index 62a4b8a4eee0fa9d9059996c9dc4d13cc9603abb..55a2949c115798b85b6c692a0582df6921ac11ed 100644 (file)
@@ -3,7 +3,9 @@ package com.vaadin.tests.components.datefield;
 import java.text.DateFormat;\r
 import java.text.SimpleDateFormat;\r
 import java.util.Calendar;\r
+import java.util.HashSet;\r
 import java.util.Locale;\r
+import java.util.Set;\r
 \r
 import com.vaadin.data.Item;\r
 import com.vaadin.data.Property;\r
@@ -62,18 +64,19 @@ public class CustomDateFormats extends TestBase {
 \r
     private GridLayout getCustomFormats(Locale locale) {\r
         GridLayout gridLayout = createGridLayout();\r
-\r
+        usedDebugIds.clear();\r
         addDateFields(gridLayout, locale);\r
 \r
         return gridLayout;\r
     }\r
 \r
     private GridLayout createGridLayout() {\r
-        GridLayout gridLayout = new GridLayout(3, 4);\r
+        GridLayout gridLayout = new GridLayout(4, 4);\r
         gridLayout.setMargin(true);\r
-        gridLayout.addComponent(new Label("FORMAT"), 0, 0);\r
-        gridLayout.addComponent(new Label("DATEFIELD"), 1, 0);\r
-        gridLayout.addComponent(new Label("EXPECTED"), 2, 0);\r
+        gridLayout.addComponent(new Label("FORMAT"));\r
+        gridLayout.addComponent(new Label("DATEFIELD"));\r
+        gridLayout.addComponent(new Label("SERVER SIDE VALUE"));\r
+        gridLayout.addComponent(new Label("EXPECTED"));\r
 \r
         return gridLayout;\r
     }\r
@@ -112,24 +115,54 @@ public class CustomDateFormats extends TestBase {
 \r
     }\r
 \r
+    public class Data {\r
+\r
+        private Label label;\r
+        private String pattern;\r
+\r
+        public Data(Label label, String pattern) {\r
+            this.label = label;\r
+            this.pattern = pattern;\r
+        }\r
+\r
+    }\r
+\r
+    private Set<String> usedDebugIds = new HashSet<String>();\r
+\r
     private void addDateField(GridLayout gridLayout, String pattern,\r
             Locale locale, String expectedDateFormat) {\r
         Calendar cal = Calendar.getInstance();\r
         cal.set(2010, 1, 1);\r
 \r
+        Label serversideValueLabel = new Label();\r
+\r
         DateField df = new DateField();\r
         df.setResolution(DateField.RESOLUTION_DAY);\r
         df.setLocale(locale);\r
         df.setWidth("300px");\r
         df.setDateFormat(pattern);\r
         df.setImmediate(true);\r
+        String debugId = pattern.replace('/', 'X');\r
+        while (usedDebugIds.contains(debugId)) {\r
+            debugId = debugId + "-";\r
+        }\r
+        df.setDebugId(debugId);\r
+        usedDebugIds.add(debugId);\r
 \r
+        df.setData(new Data(serversideValueLabel, pattern));\r
         df.setValue(cal.getTime());\r
+        df.addListener(new Property.ValueChangeListener() {\r
+\r
+            public void valueChange(ValueChangeEvent event) {\r
+                updateServerSideLabel((DateField) event.getProperty());\r
+            }\r
+        });\r
 \r
         Label patternLabel = new Label(pattern);\r
         patternLabel.setWidth(null);\r
         SimpleDateFormat expDateFormat = new SimpleDateFormat(\r
                 expectedDateFormat, locale);\r
+\r
         Label expectedLabel = new Label(expDateFormat.format(cal.getTime()));\r
         if (!pattern.equals(expectedDateFormat)) {\r
             expectedLabel.setValue(expectedLabel.getValue()\r
@@ -139,8 +172,20 @@ public class CustomDateFormats extends TestBase {
 \r
         gridLayout.addComponent(patternLabel);\r
         gridLayout.addComponent(df);\r
+        gridLayout.addComponent(serversideValueLabel);\r
         gridLayout.addComponent(expectedLabel);\r
 \r
+        updateServerSideLabel(df);\r
+    }\r
+\r
+    private void updateServerSideLabel(DateField df) {\r
+        Data data = (Data) df.getData();\r
+        String pattern = data.pattern;\r
+        Locale locale = df.getLocale();\r
+        SimpleDateFormat formatter = new SimpleDateFormat(pattern, locale);\r
+\r
+        String newValue = formatter.format(df.getValue());\r
+        data.label.setValue(newValue);\r
     }\r
 \r
     private void addDateField(GridLayout gridLayout, String pattern,\r