You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Gerolf Seitz (JIRA)" <ji...@apache.org> on 2007/08/24 00:26:31 UTC
[jira] Updated: (WICKET-879) reduce code in DatePicker.js (because
it can be loaded multiple times per page)
[ https://issues.apache.org/jira/browse/WICKET-879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gerolf Seitz updated WICKET-879:
--------------------------------
Attachment: size_reduction.patch
> reduce code in DatePicker.js (because it can be loaded multiple times per page)
> -------------------------------------------------------------------------------
>
> Key: WICKET-879
> URL: https://issues.apache.org/jira/browse/WICKET-879
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-datetime
> Affects Versions: 1.3.0-beta2
> Reporter: Gerolf Seitz
> Priority: Trivial
> Fix For: 1.3.0-beta4
>
> Attachments: size_reduction.patch
>
>
> everytime the DatePicker behavior is added to a component, the file DatePicker.js is rendered to the head (with interpolated vars that are specific for each DatePicker instance).
> some of the code (actually only the code in the function init${widgetId}DpJs()) can be moved to wicket-date.js
> the rest of the code is used for the yuiloader and can't be moved to wicket-date.js, since the loader actually loads this file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.