Aleksei Valikov schrieb: > Hi. > > I have tried inputSuggestAjax from the sandbox. The component works more > or less fine (sometimes it fails to find target components, but that's > not a big problem). > > However what bothers me is that web pages are becoming really much > slower. inputSuggestAjax is based on the dojo framework and this results > in loading more than 100kb of scripts for every page that uses AJAX > components. Even copying scripts into a static directory and configuring > JSFAttr.JAVASCRIPT_LOCATION does not help - for instance, Firefox does > not cache scripts loaded from other scripts (only root script gets > cached, all other script are re-requested from the server on every page > reload. > > Anyway, even if scripts are cached, the processing is really slow. Does > MyFaces AJAX really needs the whole dojo framework? > > I'd be grateful for any hints on AJAX components working fine (and fast) > with MyFaces. > I am aware of these problems, they are resolvable by either having a full myfaces build of dojo, or by static includes, I will tackle this problem as soon as we have solved our other components problems and before I move dojo into the tomahawk core. As for now the dojo integration is rather new so have in mind that problems like this can arise.
The loading problem was a huge issue I researched into before deciding to move forward towards dojo, since it was a huge burden for me as well. I only started the integration due to the fact that this problem is resolvable by having a full blown build and static includes of the affected sources in the long run. (So the scripts in the future wont become smaller but will be cached) As for now it is possible to reduce the loading time on Mozilla but it is not done yet.

