Hi Harro,

the javascript is for 2 things.
1) dynamic loading of yui libraries.
2) configuration for the datepicker, because you can have datepickers with
different configuration on one page.

however, if you find a better way, please submit a patch to jira.

cheers,
  Gerolf

On Tue, Feb 26, 2008 at 12:54 PM, Harro Lissenberg <
[EMAIL PROTECTED]> wrote:

> Hi,
>
> I have a page that can contain dozens of DateTextFieldS. If I add a
> new DatePicker (yui) to each of this fields a lot of duplicate
> javascript is generated since the datepicker JS code is hardcoded to
> the textfield. Is there a workaround for this?
>
> Thanks!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to