You could use a ViewHelper for that view. You could also set the showBusyCursor on the RemoteObject to prevent the user for clicking anything until the screen is ready.

 

Regards,

Rob Rusher

 

RIA Consultant

Macromedia Certified Flex Instructor

e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jesus Salvador Ramos Cardona
Sent: Tuesday, August 09, 2005 9:01 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] About synchronizing grid rendering with service completion

 

By the way, I forgot to mention that we are using the cairngorm Project microarchitecture, and so our question would be towards finding the best way (or best practice) to achieve this functionality.

 

Your approach seems ok to us, Tracy, but how would we implement this the cairngorm way?

 

Regards.

 

J.

 


De: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] En nombre de Tracy Spratt
Enviado el: Martes, 09 de Agosto de 2005 07:51 pm
Para: flexcoders@yahoogroups.com
Asunto: RE: [flexcoders] About synchronizing grid rendering with service completion
Importancia: Alta

 

Could you disable them in the mxml tag to start with, then, in a result handler on the RemoteObject, set the final state?

Tracy

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jesus Salvador Ramos Cardona
Sent: Tuesday, August 09, 2005 8:35 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] About synchronizing grid rendering with service completion

 

Hi all,

 

We have a view that contains a grid and some action buttons. These action buttons must be disabled/enabled depending on the data provided to the grid. The data is provided by a remoteObject, and the decision of enabling/disabling these buttons is taken by the view. Everything is working fine, except for this little decision part, since it starts rendering even though the data returned from the remote object is not yet complete. Is there any way to avoid the rendering of this little component until the remote object call finishes?

 

Any help will be appreciated.

 

Thanks.

Jesús Ramos Cardona
Desarrollo de Sistemas de Casa de Bolsa

[EMAIL PROTECTED]

+52 (55) 51 74 22 22 ext. 1250

Ixe Grupo Financiero

Este correo electrónico y sus anexos pueden contener información CONFIDENCIAL para uso exclusivo de su destinatario. Si ha recibido este correo por error, por favor, notifíquelo al remitente y bórrelo de su sistema. Muchas gracias. Las opiniones expresadas en este correo son las de su autor y no son necesariamente compartidas o apoyadas por la compañía. Ixe Grupo Financiero no asume aquí obligaciones ni se responsabiliza del contenido de este correo, a menos que dicha información sea confirmada por escrito por un representante autorizado. No se garantiza que la transmisión de este correo sea segura o libre de errores, podría haber sido viciada, perdida, destruida, haber llegado tarde, de forma incompleta o contener VIRUS.

 






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to