I am using Wicket 1.3.0 Beta 2 and I am having issues with the org.apache.wicket.datetime.markup.html.form.DateTextField. Well actually the DatePicker. I followed the code exactly in the Date examples (http://www.wicketstuff.org/wicket13/dates/) but when I run my application and select on the DatePicker there is a javascript error.
"missing ( before formal parameters" at the function declaration function initasset.installDate1DpJs() { Here is the code up to the error for the page in question: <code> <html> <head> <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"/> <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"/> <title>Home IQ</title> <link rel="stylesheet" type="text/css" href="/homeIQ/css/layout.css" /> <link rel="stylesheet" type="text/css" href="/homeIQ/css/homeiq.css" /> <script type="text/javascript" src="resources/org.apache.wicket.extensions.yui.YuiLib/yahoo.js"></script> <script type="text/javascript" src="resources/org.apache.wicket.extensions.yui.YuiLib/event.js"></script> <script type="text/javascript" src="resources/org.apache.wicket.extensions.yui.YuiLib/dom.js"></script> <script type="text/javascript" src="resources/org.apache.wicket.extensions.yui.calendar.DatePicker/calendar.js"></script> <link rel="stylesheet" type="text/css" href="resources/org.apache.wicket.extensions.yui.calendar.DatePicker/assets/calendar.css" /> <script type="text/javascript" src="resources/org.apache.wicket.extensions.yui.calendar.DatePicker/wicket-date.js"></script> <script type="text/javascript"><!--/*--><![CDATA[/*><!--*/ /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ YAHOO.namespace("wicket"); // init the date picker function initasset.installDate1DpJs() { </code> Does anyone know what the issue is? Thanks in advance, - Doug -- View this message in context: http://www.nabble.com/DateTimeField-issue-tf4194618.html#a11929171 Sent from the Wicket Users New mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]