>
> In this case, onLoadErrorFn would be called IIRC. Are you saying
> onLoadErrorFn is not reliable?
>
onLoadErrorFn is only called if an unexpected exception occurs while
starting an already selected permutation, so for example if onModuleLoad()
fails. Each permutation defines a gwtOnLoad function which looks like
function gwtOnLoad(errFn, modName, modBase, softPermutationId){
$moduleName = modName;
$moduleBase = modBase;
if (errFn)
try {
$entry(init)();
}
catch (e) {
errFn(modName);
}
else {
$entry(init)();
}
}
with errFn being the onLoadErrorFn function passed in by the bootstrap
script and $entry(init)() does a user agent runtime check and then executes
onModuleLoad(). So this function works reliably but does not really help
for unsupported browsers because if no permutation is selected this code
can't be executed.
And as already noted the onPropertyErrorFn functions works slightly
different than what I would expect thats why I called it unreliable. It
only works if you use a browser that GWT does not know at all.
-- J.
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
---
You received this message because you are subscribed to the Google Groups "GWT
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.