Loading page speed and customization

11 views
Skip to first unread message

fabrav64

unread,
Jun 27, 2011, 11:36:53 AM6/27/11
to gwt4air
Very useful project.
Trying the test program provided, I cannot found any way to customize
the loading page (i.e. change the background color and/or customize
the loading progress window).
Also loading time seems to be too long, even if the project is quite
simple (may be an heavy background initialization work should be
done ...).
Do you think the next release will permit loading page customization
and the whole loading process will speed up ?

You're doing an amazing job !!

Thanks

Fabrizio

Alfredo Quiroga-Villamil

unread,
Jun 27, 2011, 11:52:26 AM6/27/11
to gwt...@googlegroups.com
1. Customize background:

If my memory serves me right try:

Application.get().setStyle("background-color", "red");


for example.


2. Loading time:


Alain should be able to help you there.


Regards,


Alfredo

--
Alfredo Quiroga-Villamil

AOL/Yahoo/Gmail/MSN IM:  lawwton


fabrav64

unread,
Jun 27, 2011, 12:23:22 PM6/27/11
to gwt4air
Thanks for the quick reply.
I forgot to mention that I've already tried to set the background
color using "Application.get().setStyle("background-color",
"white");" : the result is that the background of the application will
be white, but the page that is displayed before the application with
the small "initializing ..." window in the center is not affected by
the setStyle above; moreover I did not found any method to localize
the "initializing" string that appear during page loading.

The test application I've compiled simply does the following into the
onModuleLoad():

FLEX.init(new FlexInitializationHandler() {

@Override
public void onInitialization() {
Application.get().setStyle("backgroundColor", "white");

SuperPanel superPanel = SuperPanel.newInstance("SuperPanel
Container Example");

Application.get().addElement(superPanel);
}
});

Is it correct, or I've to try something other method ?

Thanks in advance.

Fabrizio


On 27 Giu, 17:52, Alfredo Quiroga-Villamil <laww...@gmail.com> wrote:
> 1. Customize background:
>
> If my memory serves me right try:
>
>    Application.get().setStyle("background-color", "red");
>
> for example.
>
> 2. Loading time:
>
> Alain should be able to help you there.
>
> Regards,
>
> Alfredo
>

nino

unread,
Jun 27, 2011, 2:22:19 PM6/27/11
to gwt...@googlegroups.com
Hello Frabrizio,
I working on  speeding up the loading process yes. 2.2 will  much faster.
Also i ll add API to customize the Preloader. So one will be able to add anything he want on the  loading screen.

Thx for the feedback ,

Alain

nino

unread,
Jun 27, 2011, 2:24:06 PM6/27/11
to gwt...@googlegroups.com
At the moment there is no way to customize the Preloader.
I m adding  API for that. In 2.2 you will be able to customize it the way you want.
Cheers,

Alain

fabrav64

unread,
Jun 27, 2011, 2:40:29 PM6/27/11
to gwt4air
Hi Alain,
nice to hear that 2.2 release will support preloader customization and
that wil perform faster.
In the meantime I'll go ahead learning the framework.

Many thanks for your real time answer !!

Cheers
Fabrizio

nino

unread,
Jun 27, 2011, 3:25:28 PM6/27/11
to gwt...@googlegroups.com
I you have any issue or any suggestion please feel free to let me know.
cheers
Reply all
Reply to author
Forward
0 new messages