You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Felipe Rodrigues <fe...@yahoo.com.br> on 2007/06/22 14:07:35 UTC

AutoCompleter doesn't work good in IE7

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#a11250917
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


RE: Advice on unit testing struts action classes

Posted by Joe Yuen <jo...@chisq.com>.
I understand now. I apologize. I'll post a new message. Thanks for pointing this out.

________________________________

From: Christopher Schultz [mailto:chris@christopherschultz.net]
Sent: Fri 6/22/2007 9:25 AM
To: Struts Users Mailing List
Subject: Re: Advice on unit testing struts action classes



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joe,

Joe Yuen wrote:
> Huh??? What are you talking about? What topic  being hijacked??? I am
> asking a question. Do you mean that this subject line has already
> been used in another thread???

You replied to a message in the "AutoCompleter doesn't work good in IE7"
thread and changed the subject. This is called topic or thread
hijacking. Set your mail reader to view messages as "threaded", and
you'll see that your message gets threaded along with that original topic.

The proper way to post a new question is to create a new message, not
reply to one already on the list. You are unlikely to get any responses
to your question unless you start a new topic.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGe/gW9CaO5/Lv0PARAj7XAJ9hKRbCF0ZzfEGwelCFdsYpybwPpQCfRyrS
pim9dpstyDPK2dPjA7V8o9g=
=k/1t
-----END PGP SIGNATURE-----

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





Re: Advice on unit testing struts action classes

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joe,

Joe Yuen wrote:
> Huh??? What are you talking about? What topic  being hijacked??? I am
> asking a question. Do you mean that this subject line has already
> been used in another thread???

You replied to a message in the "AutoCompleter doesn't work good in IE7"
thread and changed the subject. This is called topic or thread
hijacking. Set your mail reader to view messages as "threaded", and
you'll see that your message gets threaded along with that original topic.

The proper way to post a new question is to create a new message, not
reply to one already on the list. You are unlikely to get any responses
to your question unless you start a new topic.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGe/gW9CaO5/Lv0PARAj7XAJ9hKRbCF0ZzfEGwelCFdsYpybwPpQCfRyrS
pim9dpstyDPK2dPjA7V8o9g=
=k/1t
-----END PGP SIGNATURE-----

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


RE: Advice on unit testing struts action classes

Posted by Joe Yuen <jo...@chisq.com>.
Huh??? What are you talking about? What topic  being hijacked??? I am asking a question. Do you mean that this subject line has already been used in another thread???

________________________________

From: Christopher Schultz [mailto:chris@christopherschultz.net]
Sent: Fri 6/22/2007 9:12 AM
To: Struts Users Mailing List
Subject: Re: Advice on unit testing struts action classes



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joe,

Do not hijack topics. Please post a new message to
user@struts.apache.org to ask a question.

- -chris

Joe Yuen wrote:
> 
> Can anyone give me any advice on a good tool to use for unit testing struts action classes. I am currently using struts 1.2.9 with spring 1.2.9 and hibernate. I have looked into StrutsTestCase but cannot get it to work. I get the following error:
> 
> test:
>     [junit] Testsuite: com.chisq.common.action.PersonActionTest
>     [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 1.266 sec
>     [junit] ------------- Standard Output ---------------
>     [junit] 08:47:40,547 DEBUG PersonActionTest:48 - .......running testSavePerson()
>     [junit] 08:47:40,922 ERROR RequestProcessor:676 - Invalid path was requested /Person
>     [junit] ------------- ---------------- ---------------
>     [junit] Testcase: testSavePerson(com.chisq.common.action.PersonActionTest): FAILED
>     [junit] received error 404 : Invalid path was requested
>     [junit] junit.framework.AssertionFailedError: received error 404 : Invalid path was requested
>     [junit]     at servletunit.HttpServletResponseSimulator.sendError(HttpServletResponseSimulator.java:463)
>     [junit]     at org.apache.struts.action.RequestProcessor.processMapping(RequestProcessor.java:677)
>     [junit]     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:191)
>     [junit]     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>     [junit]     at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
>     [junit]     at servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:394)
>     [junit]     at com.chisq.common.action.PersonActionTest.testSavePerson(PersonActionTest.java:51)
>
> 
> I have checked in my strut-config.xml file and /Person is defined as well in my action-servlet.xml file as well.
> 
> 
> 
> 
>
>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGe/Te9CaO5/Lv0PARAuOyAKCwa+Z64EJlwKAowQdP6rOkVOvzYwCgoydL
ERn+JEt9VRXUhce3cEoOZwQ=
=WuFW
-----END PGP SIGNATURE-----

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





Re: Advice on unit testing struts action classes

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joe,

Do not hijack topics. Please post a new message to
user@struts.apache.org to ask a question.

- -chris

Joe Yuen wrote:
>  
> Can anyone give me any advice on a good tool to use for unit testing struts action classes. I am currently using struts 1.2.9 with spring 1.2.9 and hibernate. I have looked into StrutsTestCase but cannot get it to work. I get the following error:
>  
> test:
>     [junit] Testsuite: com.chisq.common.action.PersonActionTest
>     [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 1.266 sec
>     [junit] ------------- Standard Output ---------------
>     [junit] 08:47:40,547 DEBUG PersonActionTest:48 - .......running testSavePerson()
>     [junit] 08:47:40,922 ERROR RequestProcessor:676 - Invalid path was requested /Person
>     [junit] ------------- ---------------- ---------------
>     [junit] Testcase: testSavePerson(com.chisq.common.action.PersonActionTest): FAILED
>     [junit] received error 404 : Invalid path was requested
>     [junit] junit.framework.AssertionFailedError: received error 404 : Invalid path was requested
>     [junit]     at servletunit.HttpServletResponseSimulator.sendError(HttpServletResponseSimulator.java:463)
>     [junit]     at org.apache.struts.action.RequestProcessor.processMapping(RequestProcessor.java:677)
>     [junit]     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:191)
>     [junit]     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>     [junit]     at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
>     [junit]     at servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:394)
>     [junit]     at com.chisq.common.action.PersonActionTest.testSavePerson(PersonActionTest.java:51)
> 
>  
> I have checked in my strut-config.xml file and /Person is defined as well in my action-servlet.xml file as well.
>  
>  
>  
>  
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGe/Te9CaO5/Lv0PARAuOyAKCwa+Z64EJlwKAowQdP6rOkVOvzYwCgoydL
ERn+JEt9VRXUhce3cEoOZwQ=
=WuFW
-----END PGP SIGNATURE-----

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


RE: Advice on unit testing struts action classes

Posted by Joe Yuen <jo...@chisq.com>.
 
Can anyone give me any advice on a good tool to use for unit testing struts action classes. I am currently using struts 1.2.9 with spring 1.2.9 and hibernate. I have looked into StrutsTestCase but cannot get it to work. I get the following error:
 
test:
    [junit] Testsuite: com.chisq.common.action.PersonActionTest
    [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 1.266 sec
    [junit] ------------- Standard Output ---------------
    [junit] 08:47:40,547 DEBUG PersonActionTest:48 - .......running testSavePerson()
    [junit] 08:47:40,922 ERROR RequestProcessor:676 - Invalid path was requested /Person
    [junit] ------------- ---------------- ---------------
    [junit] Testcase: testSavePerson(com.chisq.common.action.PersonActionTest): FAILED
    [junit] received error 404 : Invalid path was requested
    [junit] junit.framework.AssertionFailedError: received error 404 : Invalid path was requested
    [junit]     at servletunit.HttpServletResponseSimulator.sendError(HttpServletResponseSimulator.java:463)
    [junit]     at org.apache.struts.action.RequestProcessor.processMapping(RequestProcessor.java:677)
    [junit]     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:191)
    [junit]     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    [junit]     at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    [junit]     at servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:394)
    [junit]     at com.chisq.common.action.PersonActionTest.testSavePerson(PersonActionTest.java:51)

 
I have checked in my strut-config.xml file and /Person is defined as well in my action-servlet.xml file as well.
 
 
 
 


Re: AutoCompleter doesn't work good in IE7

Posted by Musachy Barroso <mu...@gmail.com>.
My bad, I didn't noticed it the first time around. I always forget that IE
doesn't like that trailing comma, do this:

[
<#list vars as var>
        ["${var}"]
        <#if var_has_next>,</#if>
</#list>
]

musachy

On 6/22/07, Felipe Rodrigues <fe...@yahoo.com.br> wrote:
>
>
> 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 <fe...@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 <fe...@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
>
>


-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

Re: AutoCompleter doesn't work good in IE7

Posted by Felipe Rodrigues <fe...@yahoo.com.br>.
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 <fe...@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 <fe...@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


Re: AutoCompleter doesn't work good in IE7

Posted by Felipe Rodrigues <fe...@yahoo.com.br>.
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 <fe...@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 <fe...@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#a11252907
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


Re: AutoCompleter doesn't work good in IE7

Posted by Musachy Barroso <mu...@gmail.com>.
<clueless />

musachy
//I have to install IE 7 and test it, but I've been pushing that :)

On 6/22/07, Felipe Rodrigues <fe...@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 <fe...@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

Re: AutoCompleter doesn't work good in IE7

Posted by Felipe Rodrigues <fe...@yahoo.com.br>.
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 <fe...@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


Re: AutoCompleter doesn't work good in IE7

Posted by Musachy Barroso <mu...@gmail.com>.
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 <fe...@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

Re: AutoCompleter doesn't work good in IE7

Posted by Felipe Rodrigues <fe...@yahoo.com.br>.
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