Hi there, when using a DateTimeField together with Wicket-contrib-accordion, it seems my DateTimeField JS gets corrupted by the followoing header contributors:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>CivilOne - put it on the Map!</title> <link href="styles/styles.css" rel="stylesheet" type="text/css"/> <link href="images/app-icon.png" rel="shortcut icon"/> <link href="images/app-icon.png" rel="icon"/> <script type="text/javascript" src="http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/yahoo_2.0.0-b2.js"></script> <script type="text/javascript" src="http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/event_2.0.0-b2.js"></script> <script type="text/javascript" src="http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/dom_2.0.2-b3.js"></script> <script type="text/javascript" src="http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/animation_2.0.0-b3.js"></script> <script type="text/javascript" src="resources/org.wicketstuff.accordion.AccordionPanel/accordion-menu-v2.js"></script> <link rel="stylesheet" type="text/css" href="resources/se.waylabs.locus.LocusBasePage/accordion-menu-v2.css" /> <script type="text/javascript" src="resources/org.apache.wicket.extensions.yui.YuiLib/yuiloader-beta-min.js"></script> <script type="text/javascript" src="resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js"></script> <script type="text/javascript" ><!--/*--><![CDATA[/*><!--*/ Wicket.Event.add(window, "domready", function() { if (typeof wicketCalendarInits == 'undefined') { wicketCalendarInits = new Array(); wicketCalendarInitFinished = false; } Question here is - might it be that the yui-loader-beta-min.js is loading a different version from the more explicit loader in AccordionPanel.class, something along the lines public void renderHead(IHeaderResponse response) { response .renderJavascriptReference("http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/yahoo_2.0.0-b2.js"); response .renderJavascriptReference("http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/event_2.0.0-b2.js"); response .renderJavascriptReference("http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/dom_2.0.2-b3.js"); response .renderJavascriptReference("http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/animation_2.0.0-b3.js"); response.renderJavascriptReference(JAVASCRIPT); response.renderCSSReference(STYLE); }; ? I that case, how would one avoid this? Cheers /peter Open Hearts, Open Minds, OpenCauses. GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - New Energy for Data - the Graph Database. http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software. http://www.qi4j.org - New Energy for Java - Domain Driven Development. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org