Is showcase working for you? On IE I'm getting a "Error: System error:
-1072896658". Some people have had the same problem due to encoding
issues. The error message is really explicit :)
musachy
Dariusz Wojtas wrote:
On 12/28/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
can we see the
autoCompleter code
any relevant JS (setBeforeLoading,setAfterLoading)
ok, the last question made me check the code again.
I found an error in my code - an artefact from the yesterdays
autocompleter usage.
formId="kalkulatorForm"
formFilter="filterModelPojazdow"
with some of the autocompletes.
They all look identical and differ only in the field names
function filterModelPojazdow(field) {
return (field.name == "carMakerKey") || (field.name ==
"carModelFilter");
}
but still contained old field names and did not let the params to be
attached to the URL loading the combo. With the above function
(updated names) it works better.
That means that when preloading carMaker with some value - IT
CORRECTLY CAUSES DEPENDENT AUTOCOMPLETER TO LOAD ITS FILTERED OPTIONS.
Both Firefox and IE.
Current problems:
a) Firefox and IE
If carMaker is preloaded, I select carModel and carType then if I give
focus to carMaker and then leave the field: all 3 fields are cleared.
carMaker is cleared and it propagates the change to other fields.
b) IE
I preload carMaker (AUDI).
I enter the carMaker field and try to type something, for example
delete the last leter (now we have AUD) and it causes javascript error
in IE.
Works under Firefox. I can see a dropdown with matching value, and
later matching values.
c) some general problem with dojo - static resources are loaded once
per each component instance. If I have 3 autocompletes then
/struts/dojo/src/widget/templates/images/combo_box_arrow.png
is requested 3 times.
That was true a month ago, that is true now. The same applies for
datetimepicker and possibly other ajax components. The same behaviour
under Firefox and IE.
Sorry for the false report before.
Dariusz Wojtas
---------------------------------------------------------------------
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]