struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felipe Rodrigues <feliperod...@yahoo.com.br>
Subject Re: AutoCompleter doesn't work good in IE7
Date Fri, 22 Jun 2007 14:30:55 GMT

I found it. :-))

the problem was in my template. The comma in the end of jSon return was
crasshing my list.

So I fixed only changin to that:
[
<#list vars as var>
	["${var}"],
</#list>
[""]
]

Thanks for your help.

Felipe


Felipe Rodrigues wrote:
> 
> A strange thing is that ShowCase is working on IE7.
> 
> Maybe the problem is in my template?
> [
> <#list vars as var>
> 	["${var}", "${var}"], 
> </#list>
> ]
> 
> How will be this comma in my last line? How could I remove the last comma?
> 
> Thanks,
> 
> Felipe
> 
> 
> 
> Musachy Barroso wrote:
>> 
>> <clueless />
>> 
>> musachy
>> //I have to install IE 7 and test it, but I've been pushing that :)
>> 
>> On 6/22/07, Felipe Rodrigues <feliperod777@yahoo.com.br> wrote:
>>>
>>>
>>> debug-true worked.
>>> But the message is not a big thing., at least for me. Doesn't say much.
>>>
>>> FATAL exception raised: [object Error]
>>> FATAL exception raised: [object Error]
>>> FATAL exception raised: [object Error]
>>> FATAL exception raised: [object Error]
>>>
>>> But now I've removed loadOnTextChange, and the error is still there.
>>> So strange.
>>>
>>> Any idea about where look for this FATAL Exception?
>>>
>>> Thanks,
>>>
>>> Felipe
>>>
>>>
>>> Musachy Barroso wrote:
>>> >
>>> > That's what that attribute is for, can you enable logging on head
>>> > (debug="true") and submit any logged error, or javascript errors? The
>>> ajax
>>> > tags still need to be tested on IE 7.
>>> >
>>> > musachy
>>> >
>>> > On 6/22/07, Felipe Rodrigues <feliperod777@yahoo.com.br> wrote:
>>> >>
>>> >>
>>> >> Well,
>>> >>
>>> >> Regarding that ShowCase is working on IE7, I suppose the issue is on
>>> >> loadOnTextChange.
>>> >>
>>> >> I'm using that because the list is really big, and I can't bring it
>>> in
>>> >> one
>>> >> time. About 35000 records comming from Database. I would like to wait
>>> for
>>> >> 2
>>> >> chars before make the select in Database. How could I do that
>>> >> without use this att?
>>> >>
>>> >> Thanks,
>>> >>
>>> >> Felipe
>>> >>
>>> >>
>>> >>
>>> >> Felipe Rodrigues wrote:
>>> >> >
>>> >> > Hi Guys,
>>> >> >
>>> >> > I have an autocompleter tag in my app, but it isn't working good
in
>>> >> IE7.
>>> >> > In FF it is doing good.
>>> >> > The problem is when I keep typing, there are some options that
it
>>> >> doesn't
>>> >> > retrieve.
>>> >> > I little strange and hard to explain.
>>> >> > I'm generating the JSON using a freemarker template, like this:
>>> >> >
>>> >> > [
>>> >> > <#list vars as var>
>>> >> >       ["${var}","${var}"],
>>> >> > </#list>
>>> >> > ]
>>> >> >
>>> >> > and my autocompleter code i based on generated HTML, because I
>>> can't
>>> >> have
>>> >> > the autoLayout table tags.
>>> >> > So:
>>> >> > <input dojoType="struts:ComboBox"
>>> >> >               id="autoCompleterValue"
>>> >> >               dataUrl="/Mutuo2/PlantelVarietal!listVars.action"
>>> >> >               searchType="startstring"
>>> >> >               autoComplete="false"
>>> >> >               name="autoCompleterValue"
>>> >> >               keyName="autoCompleterValueKey"
>>> >> >               loadOnType="true"
>>> >> >               loadMinimum="2"
>>> >> >               visibleDownArrow="true">
>>> >> >
>>> >> > Any suggestion?
>>> >> >
>>> >> > Thanks
>>> >> >
>>> >> > Felipe
>>> >> >
>>> >>
>>> >> --
>>> >> View this message in context:
>>> >>
>>> http://www.nabble.com/AutoCompleter-doesn%27t-work-good-in-IE7-tf3964266.html#a11251567
>>> >> Sent from the Struts - User mailing list archive at Nabble.com.
>>> >>
>>> >>
>>> >> ---------------------------------------------------------------------
>>> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>> >> For additional commands, e-mail: user-help@struts.apache.org
>>> >>
>>> >>
>>> >
>>> >
>>> > --
>>> > "Hey you! Would you help me to carry the stone?" Pink Floyd
>>> >
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/AutoCompleter-doesn%27t-work-good-in-IE7-tf3964266.html#a11252087
>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: user-help@struts.apache.org
>>>
>>>
>> 
>> 
>> -- 
>> "Hey you! Would you help me to carry the stone?" Pink Floyd
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/AutoCompleter-doesn%27t-work-good-in-IE7-tf3964266.html#a11253425
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message