Re: Override window.onload function

2006-05-11 Thread Andreas Idl
Hi 1. You can include a @Script component. If you put your javascript in the tag, it will be executed on onload. http://jakarta.apache.org/tapestry/tapestry/ComponentReference/Script.html 2. The datepicker has parameter translator. I think it should do what you want. http://jakarta.apache.org/

Override window.onload function

2006-05-11 Thread Waimun Yeow
Hi. I am using the default @DatePicker in one of the html pages where I have a window.onload function declared in the tags. Since using @DatePicker requires @Body, my window.onload function is replaced by the DatePicker script that initializes the javascript calendar object. 1. How do I append