Maybe with this : <sx:head theme="ajax"/> instead of <sx:head />
2007/5/23, Andrew Penrose <[EMAIL PROTECTED]>:
Check to see if you have scriptaculos.js included as well as you dojo scripts...I was getting a problem with firefox in relation to this. Andrew -----Original Message----- From: Musachy Barroso [mailto:[EMAIL PROTECTED] Sent: 23 May 2007 14:15 To: Struts Users Mailing List Subject: Re: [S2 v2.1.0] DateTimePicker : Dojo javascript error I just compiled/deployed the dojo plugin and showcase seems to be working fine, are you compiling S2.1 yourself? musachy On 5/23/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: > > that usually means that there is a javascript error in one of the struts > dojo widgets. If you set debug="true" on the head tag you should a lot of > errors on the page. > > musachy > > On 5/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED] > > wrote: > > > > Hi all, > > > > I try to insert a datetimepicker tag in my JSP, and I have the following > > > > javascript error : > > symbol 'struts.widget' is not defined after loading '__package__.js' > > > > here is my JSP : > > <%@ taglib uri="/struts-dojo-tags" prefix="sx"%> > > > > <sx:head /> > > <s:form action="contacts"> > > > > <table border="0" width="100%" height="100%"> > > <tr> > > <td> > > <sx:datetimepicker name="dateDeb" label= > > "test.datepicker" /> > > </td> > > </tr> > > </table> > > > > </s:form> > > > > I'm in version 2.1.0-SNAPSHOT (of today) for "core", > > "codebehind-plugin", > > "dojo-plugin", "sitemesh-plugin", "spring-plugin" and "tiles-plugin" > > jars. > > > > What's wrong ? > > > > Thanks for your help, > > > > Regards, > > > > Michaƫl > > > > > -- > "Hey you! Would you help me to carry the stone?" Pink Floyd -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]