I have a page with several date fields and pickers.
The pages loads slowly and blocks a little on every picker. Removing all the s:selectDate everything comes out immediately.
Looking at the generated html i've noticed that for every picker stuff like this is repeated :
//<![CDATA[ var CAL_DAYS_SHORT = 'do,lu,ma,me,gi,ve,sa'; var CAL_DAYS_MEDIUM = 'dom,lun,mar,mer,gio,ven,sab'; var CAL_DAYS_LONG = 'domenica,lunedì,martedì,mercoledì,giovedì,venerdì,sabato'; var CAL_MONTHS_MEDIUM = 'gen,feb,mar,apr,mag,giu,lug,ago,set,ott,nov,dic'; var CAL_MONTHS_LONG = 'gennaio,febbraio,marzo,aprile,maggio,giugno,luglio,agosto,settembre,ottobre,novembre,dicembre'; var CAL_FIRST_DAY_OF_WEEK = 1; var CAL_DATE_FORMAT = 'MM/dd/yyyy'; // //]]> </script><script type="text/javascript" src="/MK/seam/resource/web/date/calendar.js">//<![CDATA[ // //]]>
Yep, which is why we are porting the Seam JSF controls to Ajax4JSF CDK. They have machinery to solve this problem. Wait for Seam 1.3.