We do « just » load jQuery after wonder.js and prototype.js <script type="text/javascript" src="/WebObjects/Frameworks/Ajax.framework/WebServerResources/prototype.js"></script> <script type="text/javascript" src="/WebObjects/Frameworks/Ajax.framework/WebServerResources/wonder.js"></script> <script type="text/javascript" src="/WebObjects/Frameworks/Ajax.framework/WebServerResources/effects.js"></script> <script type="text/javascript" src="/WebObjects/Frameworks/Ajax.framework/WebServerResources/controls.js"></script> <script type="text/javascript" src="/WebObjects/Frameworks/App.framework/WebServerResources/jquery.min.js"></script> <script type="text/javascript" src="/WebObjects/Frameworks/App.framework/WebServerResources/jquery-ui-1.10.4.datepicker-fr.min.js"></script>
And use the noConflit() mode for using jQuery with prototype.js <script type=\"text/javascript\" charset=\"utf-8\">jQuery.noConflict(); jQuery(document).ready(function() { jQuery(\"#" + getFieldId() + "\").datepicker({ " + _javascriptForDefaultDate + "showOn: 'button', buttonImageOnly: true, buttonImage: '" + ((WOApplication) WOApplication.application()).resourceManager().urlForResourceNamed("btCalendrier.png", "IndeXysBibliotheque_v30", null, context().request()) + "', buttonText: 'Calendrier', changeMonth: true, changeYear: true, showButtonPanel: true, showWeek: true, firstDay: 1 »; }); jQuery(\".ui-datepicker-trigger\").attr('align', 'absmiddle'); });</script>"; Jérémy Le 15 mars 2017 à 14:22, Calven Eggert <cal...@mac.com<mailto:cal...@mac.com>> a écrit : Thanks Ralf. This looks great! What would I need to do to use with WO? I currently do not use jquery. Calven On Mar 15, 2017, at 9:14 AM, Ralf Schuchardt <r...@gmx.de<mailto:r...@gmx.de>> wrote: Hi Calven, I use jQueryUIs Datepicker (http://jqueryui.com/datepicker/). It can be enabled on any input field, and you only must ensure the date formats are compatible. Ralf Am 15. März 2017 um 13:40:23, Calven Eggert (cal...@mac.com<mailto:cal...@mac.com>) schrieb: Hello, All I'm finding that the AjaxDatePicker has a few issues in it that can't be easily resolved. Does anyone use an alternative solution that presents a calendar in a popup window? Calven _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rasc%40gmx.de This email sent to r...@gmx.de<mailto:r...@gmx.de> _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/jeremy.deroyer%40ingencys.net This email sent to jeremy.dero...@ingencys.net
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com