Hi Aleksei,

the problem of not finding the ajax components should only occur in a
row of a dataTable.

For this we have now the possibility of UIComponentPerspective, which
helps to find components also with this issue.

We have to add only a few lines of code to the
AjaxDecodePhaseListener; i will submit a patch the next days for this,
also need this stuff :)

I have tried the dojo inputSuggest in a few applications, never had
problems with slow loading times. Now with server side state saving,
as you have said, every needed dojo class is loaded, and this results
in many js files.

I know that dojo supports some kind of compressing js code and - what
is more important -
there is a way of loading only one js file where all stuff is
included. Maybe that helps with speeding up the connection.

But Werner should know more about this; Werner, can you help out on this topic?

regards,

Gerald

On 3/17/06, Aleksei Valikov <[EMAIL PROTECTED]> wrote:
> 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.
>
> Bye.
> /lexi
>


--
Gerald Muellan
Schelleingasse 2/11
1040 Vienna, Austria
0043 699 11772506
[EMAIL PROTECTED]

Reply via email to