djConfig.baseScriptUri.length' is null or not an object means the dojo.js which configures baseScriptUri attribute via the function dojo.hostenv.getBaseScriptUri = function(){ was never initialised properly with the end result the baseScriptUri ws never initialised struts needs to know the location of head.ftl which is located using the templateDir attribute (which you supplied to the struts widget) as seen here <#include "/${parameters.templateDir}/simple/head.ftl" />
if templateDir="anywhereOtherThanLocationOfDojo.JSFile" you'll never configure baseScriptUri for Struts or anyone else to load dojo javascript files http://struts.apache.org/2.0.11.2/docs/autocompleter.html Martin ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Tue, 23 Sep 2008 05:20:21 -0700 > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: RE: Issue using struts2 autocompleter. > > > Hi, > > I am using struts2.0.11. I will try the example given in the url. Thanks for > the url. > > > Jishnu Viswanath wrote: > > > > Oops I mean Late version needs plugin > > > > Regards, > > > > Jishnu Viswanath > > > > Software Engineer > > > > *(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll > > > > Tavant Technologies Inc., > > > > www.tavant.com > > > > PEOPLE :: PASSION :: EXCELLENCE > > > > > > -----Original Message----- > > From: Jishnu Viswanath [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, September 23, 2008 5:15 PM > > To: Struts Users Mailing List > > Subject: RE: Issue using struts2 autocompleter. > > > > Which version of struts are you using? Later versions of sturts 2.1.x > > check http://struts.apache.org/2.0.11.2/docs/ajax-tags.html > > > > Regards, > > > > Jishnu Viswanath > > > > Software Engineer > > > > *(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll > > > > Tavant Technologies Inc., > > > > www.tavant.com > > > > PEOPLE :: PASSION :: EXCELLENCE > > > > > > -----Original Message----- > > From: Rag [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, September 23, 2008 5:12 PM > > To: user@struts.apache.org > > Subject: RE: Issue using struts2 autocompleter. > > > > > > Hi, > > > > Thanks for your replay Viswanath. > > > > 1. I tried without theme attribute, eventhen its behaving like a combo > > box. > > > > 2. When I put theme = "ajax" in autocompleter tag, its behaving like a > > textbox, not at all displaying the list from action class. > > > > Kindly help me... > > > > Thanks in advance > > > > > > Jishnu Viswanath wrote: > >> > >> > >> > >> 1. You need to have theme=ajax otherwise autocompleter won't work. > >> 2. Did you try to remove simple theme from s:autocompleter ? or put > > ajax > >> there instead of simple. > >> > >> Regards, > >> > >> Jishnu Viswanath > >> > >> Software Engineer > >> > >> *(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll > >> > >> Tavant Technologies Inc., > >> > >> www.tavant.com > >> > >> PEOPLE :: PASSION :: EXCELLENCE > >> > >> -----Original Message----- > >> From: Rag [mailto:[EMAIL PROTECTED] > >> Sent: Tuesday, September 23, 2008 2:19 PM > >> To: user@struts.apache.org > >> Subject: Issue using struts2 autocompleter. > >> > >> > >> Hi, > >> > >> I am facing an issue in struts2 autocompleter. > >> > >> Issue: > >> > >> In jsp page where I have used autocompleter, IE is showing an alert > >> message > >> with "stack overflow at line: 8259" and in the same jsp page, I have > > an > >> error as "djConfig.baseScriptUri.length' is null or not an object" > >> and autocompleter is behaving like a combo box. > >> > >> Jsp code for autocompleter is: > >> > >> <s:head theme="ajax"/> inside head tag > >> <s:autocompleter list="mailNameList" name="mailName" theme="simple" /> > >> inside body tag > >> In Action class: private List<String> mailNameList; > >> > >> when I remove <s:head theme="ajax"/> tag, both errors are not coming, > >> but > >> instead of autocompleter, combo box is displaying in the jsp page. > >> > >> Kindly help me.. > >> > >> Thanks in advance > >> -- > >> View this message in context: > >> > > http://www.nabble.com/Issue-using-struts2-autocompleter.-tp19623666p1962 > >> 3666.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] > >> > >> Any comments or statements made in this email are not necessarily > > those of > >> Tavant Technologies. > >> The information transmitted is intended only for the person or entity > > to > >> which it is addressed and may > >> contain confidential and/or privileged material. If you have received > > this > >> in error, please contact the > >> sender and delete the material from any computer. All e-mails sent > > from or > >> to Tavant Technologies > >> may be subject to our monitoring procedures. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >> > > > > -- > > View this message in context: > > http://www.nabble.com/Issue-using-struts2-autocompleter.-tp19623666p1962 > > 5899.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] > > > > Any comments or statements made in this email are not necessarily those > > of Tavant Technologies. > > The information transmitted is intended only for the person or entity to > > which it is addressed and may > > contain confidential and/or privileged material. If you have received > > this in error, please contact the > > sender and delete the material from any computer. All e-mails sent from > > or to Tavant Technologies > > may be subject to our monitoring procedures. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > Any comments or statements made in this email are not necessarily those of > > Tavant Technologies. > > The information transmitted is intended only for the person or entity to > > which it is addressed and may > > contain confidential and/or privileged material. If you have received this > > in error, please contact the > > sender and delete the material from any computer. All e-mails sent from or > > to Tavant Technologies > > may be subject to our monitoring procedures. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/Issue-using-struts2-autocompleter.-tp19623666p19626461.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] > _________________________________________________________________ Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie. http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008