Prototype doesn't play nicely with much of anything. You'll most likely need to load Prototype last and hope for the best; an older application of mine used both and that was how I worked around it.
That said, I don't particularly recommend mixing Prototype with much of anything else because of the non-safe prototypal manipulations it does: use it alone, or use something else (like jQuery, or Plain Ol' Dojo, or whatever other library you want). More recent versions of Prototype may play better with others. Dave --- tristan_colson <[EMAIL PROTECTED]> wrote: > I tried adding the debug="true", and got the following error when it > rendered my JSP: > FATAL exception raised: Could not load 'struts.widget.Bind'; last tried > '__package__.js' > > Googling this leads me to believe that perhaps some libraries aren't > playing > well together. > Here are the other libraries that are already referenced in my <head>: > <script type="text/javascript" src="<c:url > value='/scripts/prototype.js'/>"></script> > <script type="text/javascript" src="<c:url > value='/scripts/scriptaculous.js'/>"></script> > <script type="text/javascript" src="<c:url > value='/scripts/global.js'/>"></script> > <script type="text/javascript" src="<c:url value='/scripts/utilities.js'/>" > ></script> > <s:head theme="ajax" /> > > Does anyone know of particular problems with any of these playing together > (and what I should do about it if there are problems?) > > Thanks ! > > > > > Jeromy Evans - Blue Sky Minds wrote: > > > > It looks right. > > Turn on debugging with s:head > > > > <s:head theme="ajax" debug="true"/> > > > > and use the FireFox FireBug plugin to determine if it failed to find any > > resources. > > > > The template for the calendar is loaded via an ajax request. If that > > request fails you see nothing. > > > > tristan_colson wrote: > >> I am trying to use s:datetimepicker. > >> I have the <s:head theme="ajax" /> in my <head> section. > >> I have <s:datetimepicker> like this: > >> <s:datetimepicker name="campaign.startDate" /> to <s:datetimepicker > >> name="campaign.endDate" /> > >> > >> The html renders like this: > >> <link rel="stylesheet" href="/struts/xhtml/styles.css" type="text/css"/> > >> <script type="text/javascript"> > >> // Dojo configuration > >> djConfig = { > >> baseRelativePath: "/struts/dojo", > >> isDebug: false, > >> bindEncoding: "UTF-8", > >> debugAtAllCosts: true // not needed, but allows the Venkman > >> debugger > >> to work with the includes > >> }; > >> </script> > >> <script type="text/javascript" > >> src="/struts/dojo/dojo.js"></script> > >> <script type="text/javascript" > >> src="/struts/simple/dojoRequire.js"></script> > >> <script type="text/javascript" > >> src="/struts/ajax/dojoRequire.js"></script> > >> <script type="text/javascript" > >> src="/struts/CommonFunctions.js"></script> > >> > >> ..... > >> > >> script type="text/javascript"> > >> dojo.require("dojo.widget.DatePicker"); > >> </script> > >> <div > >> dojoType="dropdowndatepicker" > >> id="saveCampaign_campaign_startDate" name="dojo.campaign.startDate" > > >> inputName="campaign.startDate" saveFormat="rfc"></div> > >> > >> Note that the above div tag is empty. Seems like there should be > >> something > >> in it. > >> The datetimepicker doesn't show up on the page. > >> > >> Am I using the tag wrong? Or might my environment be missing something? > >> Many thanks for any help! > >> > >> > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/datetimepicker-doesn%27t-show-up-tp16737339p16748386.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]