When using a DatePicker in a Tapestry portlet, IE displays an error message during page loading and aborts:
"Internet Explorer cannot open the site http://localhost. Operation aborted"
It appears that this is caused by the initialization script of the DatePicker component being run before the window finishes loading. The script is run right before the portlet finishes rendering, which, in a portal environment, is not necessarily the end of the page.