[flexcoders] How to detect when server is down?

2006-01-05 Thread Jesus Salvador Ramos Cardona










Hi all,

 

Is there any way in which we can detect when Flex
server is down, so that the flex user interface can display some kind of
message?

 

My app refreshes every 3 minutes, and, when we
suddenly shut down the server, the user interface remains on the browser screen.
This causes the little watch mouse pointer to go around and around as if it was
expecting the return from the service that refreshes, but as there will not be
any, I wish to notify the user of this failure.

 

Thanks.

 

J.

 

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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] About downloading files in Flex

2005-08-22 Thread Jesus Salvador Ramos Cardona










The thing is, we are not
using servlets anymore. We are using Flex, and the Cairngorm architecture. Is a
servlet the only way to achieve this functionality?

 









De: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] En nombre de Dirk Eismann
Enviado el: Lunes, 22 de Agosto de
2005 10:45 am
Para: flexcoders@yahoogroups.com
Asunto: RE: [flexcoders] About
downloading files in Flex
Importancia: Alta



 

Try:

getURL(targetURL, "_blank");

if you want to POST some data to a servlet and
receive the response inside a new window you could also use the LoadVars class,
e.g.

lv = new LoadVars();
lv.myParam = 123;
lv.send(targetURL, "_blank",
"POST"); 

Dirk.



From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Jesus Salvador Ramos Cardona
Sent: Monday, August 22, 2005 5:27 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] About downloading files
in Flex



We know this, and that's why we are changing the
content type of the response, so it is able to open a file with a local acrobat
reader. This approach has served us in the past when we were all servlets and
EJBs. We have thoughts around using getURL(), but how do we get the response to
write to a new window?





De: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
En nombre de Philippe Maegerman
Enviado el: Lunes, 22 de Agosto de 2005 10:22 am
Para: flexcoders@yahoogroups.com
Asunto: RE: [flexcoders] About downloading files
in Flex
Importancia: Alta



You cannot load .pdf files into the flash player,
I think you will have to open a new window or load it into an iFrame on top of
your application à la
 Coenraets ( http://coenraets.com/viewarticle.jsp?articleId=95
)



Philippe Maegerman





From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Jesus Salvador Ramos Cardona
Sent: lundi 22 août 2005 16:50
To: flexcoders@yahoogroups.com
Subject: [flexcoders] About downloading files in
Flex

Hi all,



We have developed a Flex app which is in
production now. However, we have a new requirement, which asks for the ability
to download PDF files. These files are reports that are generated dynamically.
I have successfully set up the report generation, and am using this piece of
code in my Delegate (since we are using the cairngorm microarchitecture) to
make it work:



public void printDetalleLineaBancaria(String
ticket, Integer idDetalleLiquidacion, String status) throws
FileNotFoundException, IOException {

   
HttpServletResponse response = Gateway.getHttpResponse();

   
response.setContentType("application/pdf");

   
response.setHeader("Content-Disposition",
"attachment;filename=\"MyReport.pdf" + "\"");

    byte[]
b = generateJasperReport("MyReport");

    response.setContentLength(b.length);

    int
offset = 0;

    int
numRead = 0;

    while
(offset < b.length && (numRead = fis.read(b, offset, b.length -
offset)) >= 0) {

   
offset += numRead;

    }

   
fis.close();

    response.getOutputStream().write(b);

    }



I am associating this method to a button, gong
through all the cairngorm components. However, I am not getting any results.
The browser's status bar indicates it is loading something, then it stops and
freezes with "Transferring Data from localhost.".



Is this the right way to do it? Is the result of
my stream going through the Flash gateway? What is the best way to satisfy this
requirement?



Help, please!



J.



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 


 
*  Visit your group "flexcoders <http://groups.yahoo.com/group/flexcoders>
" on the web.
    
*  To unsubscribe
from this 

RE: [flexcoders] About downloading files in Flex

2005-08-22 Thread Jesus Salvador Ramos Cardona










We know this, and that’s
why we are changing the content type of the response, so it is able to open a
file with a local acrobat reader. This approach has served us in the past when
we were all servlets and EJBs. We have thoughts around using getURL(), but how
do we get the response to write to a new window?

 









De: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] En nombre de Philippe Maegerman
Enviado el: Lunes, 22 de Agosto de
2005 10:22 am
Para: flexcoders@yahoogroups.com
Asunto: RE: [flexcoders] About
downloading files in Flex
Importancia: Alta



 

You cannot load
.pdf files into the flash player, I think you will have to open a new
window or load it into an iFrame on top of your application à la Coenraets ( http://coenraets.com/viewarticle.jsp?articleId=95 )



 



Philippe
Maegerman

 







From:
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jesus
 Salvador Ramos Cardona
Sent: lundi 22 août 2005 16:50
To: flexcoders@yahoogroups.com
Subject: [flexcoders] About
downloading files in Flex

Hi all,

 

We have developed a Flex app which is in production
now. However, we have a new requirement, which asks for the ability to download
PDF files. These files are reports that are generated dynamically. I have
successfully set up the report generation, and am using this piece of code in
my Delegate (since we are using the cairngorm microarchitecture) to make it
work:

 

public void printDetalleLineaBancaria(String ticket,
Integer idDetalleLiquidacion, String status) throws FileNotFoundException,
IOException {

   
HttpServletResponse response = Gateway.getHttpResponse();

   
response.setContentType("application/pdf");

   
response.setHeader("Content-Disposition",
"attachment;filename=\"MyReport.pdf" + "\"");

    byte[] b =
generateJasperReport("MyReport");

   
response.setContentLength(b.length);

    int offset
= 0;

    int
numRead = 0;

    while
(offset < b.length && (numRead = fis.read(b, offset, b.length -
offset)) >= 0) {

   
offset += numRead;

    }

   
fis.close();

   
response.getOutputStream().write(b);

    }

 

I am associating this method to a button, gong
through all the cairngorm components. However, I am not getting any results.
The browser's status bar indicates it is loading something, then it stops and
freezes with "Transferring Data from localhost.".

 

Is this the right way to do it? Is the result of my
stream going through the Flash gateway? What is the best way to satisfy this
requirement?

 

Help, please!

 

J.

 

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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  








--**STATEMENT OF CONFIDENTIALITY** 
This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.
We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--



[flexcoders] About downloading files in Flex

2005-08-22 Thread Jesus Salvador Ramos Cardona










Hi all,

 

We have developed a Flex app which is in production
now. However, we have a new requirement, which asks for the ability to download
PDF files. These files are reports that are generated dynamically. I have successfully
set up the report generation, and am using this piece of code in my Delegate
(since we are using the cairngorm microarchitecture) to make it work:

 

public void printDetalleLineaBancaria(String ticket, Integer
idDetalleLiquidacion, String status) throws FileNotFoundException, IOException
{

    HttpServletResponse response =
Gateway.getHttpResponse();

   
response.setContentType("application/pdf");

    response.setHeader("Content-Disposition",
"attachment;filename=\"MyReport.pdf" + "\"");

    byte[] b = generateJasperReport(“MyReport”);

    response.setContentLength(b.length);

    int offset = 0;

    int numRead = 0;

    while (offset < b.length &&
(numRead = fis.read(b, offset, b.length - offset)) >= 0) {

    offset += numRead;

    }

    fis.close();

    response.getOutputStream().write(b);

    }

 

I am associating this method to a button, gong
through all the cairngorm components. However, I am not getting any results.
The browser’s status bar indicates it is loading something, then it stops
and freezes with “Transferring Data from localhost…”.

 

Is this the right way to do it? Is the result of my
stream going through the Flash gateway? What is the best way to satisfy this
requirement?

 

Help, please!

 

J.

 

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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] About synchronizing grid rendering with service completion

2005-08-10 Thread Jesus Salvador Ramos Cardona










Steve, thanks for your
reply. We tried your solution and it is working now.

 

Thanks to all that helped
us.

 

Until the next time.

 









De: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] En nombre de Steven Webster
Enviado el: Miércoles, 10 de
Agosto de 2005 04:25 am
Para: flexcoders@yahoogroups.com
Asunto: RE: [flexcoders] About
synchronizing grid rendering with service completion
Importancia: Alta



 

Does anyone know of a Flex code-completion plugin for
Outlook..

 

    

    ModelLocator.selectionOnClipboard = true; 

 

Should have been:

 

   
ModelLocator. state.selectionOnClipboard
= true; 

 

Where state would be an instance of a State class, that
holds boolean values/etc.

 

Steven

 



--

Steven Webster
Technical Director



iteration::two





 





This e-mail and any associated attachments
transmitted with it may contain confidential information and must not be
copied, or disclosed, or used by anyone other than the intended recipient(s).
If you are not the intended recipient(s) please destroy this e-mail, and any
copies of it, immediately.
 
Please also note that while software systems have been used to try to ensure
that this e-mail has been swept for viruses, iteration::two do not accept
responsibility for any damage or loss caused in respect of any viruses
transmitted by the e-mail. Please ensure your own checks are carried out before
any attachments are opened.













--
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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] About synchronizing grid rendering with service completion

2005-08-10 Thread Jesus Salvador Ramos Cardona










Thanks for your reply.

 

Our problem, however, is
that the screen is ready and rendered before the remote object completes its
call.

 

We already show the busy
cursor for the remote object, but this is not preventing the view from
rendering completely before the remote call returns from the server.

 

We use the
“onCreationComplete()”  function of our mxml file to call the
EventBroadcaster. The mxml file is already rendered when the service called by
the EventBroadcaster returns the data. The problem we have is that we need to
disable certain controls of the view based on this returned data (An array
rendered in a data Grid).

 

Is there any way to know
when a service (In our case a remote object) has finished returning the data (A
function, actionscript, etc.).

 

The system is based in
Cairngorm, and the onResult method of the MyCommand.as is something like this:

 

public function onResult(
event : Object ) : Void

{

    mx.core.Application.application.detallesBLData
= event.result;

}

 

Our validation requires
the data in mx.core.Application.application.detallesBLData

 

Hope this is more
explanatory of our problem.

 

Best regards.

 

J.

 









De:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de Rob Rusher
Enviado el: Martes, 09 de Agosto
de 2005 11:12 pm
Para: flexcoders@yahoogroups.com
Asunto: RE: [flexcoders] About
synchronizing grid rendering with service completion
Importancia: Alta



 

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








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development

RE: [flexcoders] About synchronizing grid rendering with service completion

2005-08-09 Thread Jesus Salvador Ramos Cardona










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:[EMAIL PROTECTED] 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








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] About synchronizing grid rendering with service completion

2005-08-09 Thread Jesus Salvador Ramos Cardona










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








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] About deploying flex app in Weblogic

2005-05-25 Thread Jesus Salvador Ramos Cardona










Hi all,

 

I have my flex app running in weblogic 8.1, and I am using
ant to automate everything (including deploy and undeploy). When running the undeploy
WL tool it tries to delete the dir my app was copied into, but I get an error thrown
by ant in which it is impossible to delete the file ‘WEB-INF/flex/jars/ahdump.jar’.
Is there a way to have this file unlocked? Perhaps a switch in some flex
servlet?

 

No big deal here, just trying to remove nasty
red-colored messages in my ant console.

 

Regards.

 

J.

 


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.

 











Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












[flexcoders] About Grid listening to external JMS onMessage event.

2005-05-03 Thread Jesus Salvador Ramos Cardona










Hi all,

 

Is it possible (through some sort of delegate or any
other means) for a DataGrid (or any control, for that matter) to refresh iself
to an onMessage JMS event from a Message Driven Bean (or any message consumer)?
If so, what would be the best way to do this?

 

I’m in my analysis stage, so any ideas are
welcome.

 

Best regards.

 

J.











Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] Re: Multiple dataProviders for 1 dataGrid??

2005-04-29 Thread Jesus Salvador Ramos Cardona










Just a thought:

 

A while ago someone
posted a workaround to cell-freezing (like MSExcel). You could use that
approach to face such problem without having to combine WS results. Just place
one grid in one side of the other, and set their container’s margins to 0, in order for them to
appear that both grids are part of one whole. That way you reduce overhead, and
stick to a modular approach.

 

Best regards.

 

J.

 









De: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] En nombre de Dave
Enviado el: Viernes, 29 de Abril
de 2005 08:10 am
Para: flexcoders@yahoogroups.com
Asunto: [flexcoders] Re: Multiple
dataProviders for 1 dataGrid??
Importancia: Alta



 

Tracy,

Thanks for your help. Now I have to add other
fields from other 
dataproviders but I think I can handle it.

I know this is probably AS 101, but how do I
create an object in the 
new array that is a product of a math function
between 2 other 
objects in the new array? 

Example: I need to create a column in the datagrid
called GROWTH 
that is simply the difference between TOTALBAL for
today and 
TOTALBAL for yesterday (TODAY - YESTERDAY).
Everything I try results 
in NaN.


Thanks for your patience.

-Dave

--- In flexcoders@yahoogroups.com,
"Tracy Spratt" <[EMAIL PROTECTED]> 
wrote:
> The example is attached, along with the
sample xml files I created 
to
> test it.
> 
> Your array exists at
result.diffgram.PulseLoansToday. In the 
example I
> left the diffgram node out of my test xml.
> 
> Basically, you assign the today and yesterday
arrays to variables,
> iterate through the today items, get the
matching yesterday item, 
build
> a combined item object, and add it to the
combined dataProvider 
array,
> which is bound to the DataGrid DataProvider.
> 
> Tracy 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com

[mailto:flexcoders@yahoogroups.com]
On
> Behalf Of Dave
> Sent: Thursday, April 28, 2005 6:24 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Multiple
dataProviders for 1 dataGrid??
> 
> OK. Let me backup. Below is a sample of the
data returned (an 
array 
> of objects?) from the WS with the date
specified as 1/10/2005. The 
> dataProvider for the datagrid 
> 
is "{service1.PulseLoansToday.result.diffgram.PulseLoansToday.PulseLo
> ansToday}"
> 
> Binding to the dataProvider as specified
produces the desired 
> results within the datagrid (using
"CATEGORY", "TOTALBAL", etc. as 
> the column names). 
> 
> Here's the rub; within the SAME datagrid, I
need to display one 
> column of TOTALBAL for the selected
date(1/10/2005 in this case), 
> and another column of TOTALBAL for
yesterday's date (thisDate 
> request is empty so default is previous day's
date). Since I can 
> only bind a datagrid to one dataProvider, I
need a way to combine 
> the results into a new dataProvider that I
can bind to the 
datagrid.
> 
> Thanks for your help,
> 
> -Dave
> 
> SAMPLE DATA RETURNED FROM WEB SERVICE
> 
> http://www.w3.org/2001/XMLSchema"

> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>    
>  
http://srv-corp-
> sql/XmlWebServices/">
> 

>
> msdata" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="" 
> id="PulseLoansToday">
>   

> msdata:IsDataSet="true">
>  

> 

>

>   

>  

> 

> type="xs:string"
minOccurs="0"/>
> 

> type="xs:string"
minOccurs="0"/>
> 

> type="xs:decimal"
minOccurs="0"/>
> 

> type="xs:decimal"
minOccurs="0"/>
> 

> type="xs:int"
minOccurs="0"/>
>  

>   

>

> 

>  

>   

>

>
> com:xml-diffgram-v1"
xmlns:msdata="urn:schemas-microsoft-com:xml-
> msdata">
>   

>  

> msdata:rowOrder="0">
> 
01/10/2005
> 
1-NEW VEHICLE
> 
61427820.1900
> 
3177
> 
1
>  

>  

> msdata:rowOrder="1">
> 
01/10/2005
> 
2-USED VEHICLE
> 
51179669.7000
> 
4322
> 
2
>  

>  

> msdata:rowOrder="2">
> 
01/10/2005
> 
3-UNSECURED
> 
997362.0700
> 
761
> 
3
>  

>  

> msdata:rowOrder="3">
> 
01/10/2005
> 
4-EQUITY MORTGAGES
> 
11356456.8100
> 
545
> 
4
> 

RE: [flexcoders] Re: Multiple dataProviders for 1 dataGrid??

2005-04-28 Thread Jesus Salvador Ramos Cardona










Would it not be better
and cleaner to modify the WS so you have all the data needed in one and only
one message?

 

Best regards.

 

J.

 









De:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de Dave
Enviado el: Jueves, 28 de Abril de
2005 05:24 pm
Para: flexcoders@yahoogroups.com
Asunto: [flexcoders] Re: Multiple
dataProviders for 1 dataGrid??
Importancia: Alta



 

OK. Let me backup. Below is a sample of the data returned (an array 
of objects?) from the WS with the date specified
as 1/10/2005. The 
dataProvider for the datagrid 
is
"{service1.PulseLoansToday.result.diffgram.PulseLoansToday.PulseLo
ansToday}"

Binding to the dataProvider as specified produces
the desired 
results within the datagrid (using
"CATEGORY", "TOTALBAL", etc. as 
the column names). 

Here's the rub; within the SAME datagrid, I need
to display one 
column of TOTALBAL for the selected date(1/10/2005
in this case), 
and another column of TOTALBAL for yesterday's
date (thisDate 
request is empty so default is previous day's
date). Since I can 
only bind a datagrid to one dataProvider, I need a
way to combine 
the results into a new dataProvider that I can
bind to the datagrid.

Thanks for your help,

-Dave

SAMPLE DATA RETURNED FROM WEB SERVICE

http://www.w3.org/2001/XMLSchema"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   
 
http://srv-corp-
sql/XmlWebServices/">


   
msdata" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="" 
id="PulseLoansToday">
  

msdata:IsDataSet="true">
 



   

  

 



type="xs:string"
minOccurs="0"/>


type="xs:string"
minOccurs="0"/>


type="xs:decimal"
minOccurs="0"/>


type="xs:decimal" minOccurs="0"/>


type="xs:int"
minOccurs="0"/>
 

  

   



 

  

   

   
com:xml-diffgram-v1"
xmlns:msdata="urn:schemas-microsoft-com:xml-
msdata">
  

 

msdata:rowOrder="0">

01/10/2005

1-NEW VEHICLE

61427820.1900

3177

1
 

 

msdata:rowOrder="1">

01/10/2005

2-USED VEHICLE

51179669.7000

4322

2
 

 

msdata:rowOrder="2">

01/10/2005

3-UNSECURED

997362.0700

761

3
 

 

msdata:rowOrder="3">

01/10/2005

4-EQUITY MORTGAGES

11356456.8100

545

4
 

 

msdata:rowOrder="4">

01/10/2005

5-HELOC FIXED

2665131.6800

94

5
 

 

msdata:rowOrder="5">

01/10/2005

6-HELOC VARIABLE

1452584.3100

152

6
 

 

msdata:rowOrder="6">

01/10/2005

7-FIXED

6617278.6300

255

7
 
 
  

   



 

   



--- In flexcoders@yahoogroups.com, "Tracy
Spratt" <[EMAIL PROTECTED]> 
wrote:
> Well, this is definitely on topic, so lets
keep it here.  Besides,
> someone else might be able to help.
> 
> An Object is NOT the same as an array of
Objects, at least from a 
list
> dataProvider standpoint. But there has to be
an array in there
> somewhere!  Sometimes the array is at
result[0], and not at result.
> 
> What are you using to debug? Flex Builder?
Can you examine the 
result
> object?
> Did you try the for loop?  If you have
an object, that might not 
work.
> But it might with result[0].
> Also try:
> for (var key in result){
>   trace(key +
":" + result[key]);
> }
> 
> We can also try specifying the result to be
in xml.
> 
> We need to know exactly what our data looks
like.
> 
> Do the current results display in the
datagrid? If so, how are you
> specifying the dataProvider and the column
sources?
> 
> Tracy
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Dave
> Sent: Thursday, April 28, 2005 3:14 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Multiple
dataPro

RE: [flexcoders] Re: creditcard dashboard - for Alistair

2005-04-28 Thread Jesus Salvador Ramos Cardona










Depending on the origin
of your service, look for a , ,
.

Inside of each you will
find a  in which you’ll need to specify the origin of
your services, either named or unnamed.

 

Reply if u need more
help.

 

J.

 









De:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de cnewroth55
Enviado el: Jueves, 28 de Abril de
2005 01:46 pm
Para: flexcoders@yahoogroups.com
Asunto: [flexcoders] Re:
creditcard dashboard - for Alistair
Importancia: Alta



 

did look at flex-config.mxml... not a clue sorry. and the book it self
doesn't seem to explain where or give example for
whitelist..

--- In flexcoders@yahoogroups.com, "Tracy
Spratt" <[EMAIL PROTECTED]> wrote:
> Look at flex-config.xml itself. It has
extensive explanatory comments
> and examples.  There is also the
documentation.
> Tracy
> 
> -Original Message-
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of cnewroth55
> Sent: Thursday, April 28, 2005 1:06 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: creditcard
dashboard - for Alistair
> 
> okay, so I changed all the 'chart' references
to just  and
> that seems to work, but now when it starts I
get...
> "onFault Client.NotAllowed You are not
allowed to access the service
> com.iterationtwo.boe.business.Application
Delegate. THe service is not
> in the configured whitelist. 
> so I know I need to put that "path' in
the whitelist, just not sure of
> syntax or place in flex.config...can you
provide example...
> Craig
> 
> --- In flexcoders@yahoogroups.com,
"Alistair McLeod" <[EMAIL PROTECTED]>
> wrote:
> > Hi,
> > 
> > The book was written before the charts
were added to Flex 1.5, so the
> > namespace is now different - use the mx
namespace for all the charts
> code.
> > You should also check the Flex 1.5
documentation for the actual
> chart usage
> > - the book was published before Flex 1.5
was released and the chart
> APIs may
> > have changed in the interim.
> > 
> > Cheers,
> > 
> > Ali
> > 
> > 
> > --
> > Alistair McLeod
> > Development Director
> > iteration::two
> > [EMAIL PROTECTED]
> >  
> > Office:  +44 (0)131 338 6108
> >  
> > This e-mail and any associated
attachments transmitted with it may
> contain
> > confidential information and must not be
copied, or disclosed, or
> used by
> > anyone other than the intended
recipient(s). If you are not the
> intended
> > recipient(s) please destroy this e-mail,
and any copies of it,
> immediately.
> >  
> > Please also note that while software
systems have been used to try
> to ensure
> > that this e-mail has been swept for
viruses, iteration::two do not
> accept
> > responsibility for any damage or loss
caused in respect of any viruses
> > transmitted by the e-mail. Please ensure
your own checks are carried
> out
> > before any attachments are opened.
> >  
> > 
> > -Original Message-
> > From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED]
> On
> > Behalf Of cnewroth55
> > Sent: 28 April 2005 13:16
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] creditcard
dashboard - for Alistair
> > 
> > Alistair McLeod:
> >  I am
trying to get chapters 22-25 to run. THe creditcard
> dashboard, and
> > have had to change a few of the name
space things, but this one has me
> > stumped, in the file SalesByCard (folder
charts) you reference an
> xlmns of
> > (well see code)to the url at mm, this
does not exist. how do I change
> so
> > that this error does not happen when I
run the dashboard...
> > (errors below code snippet)
> > 
> > http://www.macromedia.com/2003/mxml"
> >  xmlns:chart="http://www.macromedia.com/2004/charts"
> >  xmlns:i2View="views.*"
> >  title="Bank of Edinburgh
Credit Card - Application Dashboard" >
> > 
> >  Errors I am getting ***
Error
> >
/flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:82
> > Namespace http://www.macromedia.com/2004/charts
has not been
> associated with
> > component manifest.
> > 
> > Error
/flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:82
> > Don't know how to parse element
> > "http://www.macromedia.com/2004/charts:ColumnChart".
It is not a
> known type
> > or a property of mx.containers.VBox.
> > 
> > Error
> /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:112
> > Namespace http://www.macromedia.com/2004/charts
has not been
> associated with
> > component manifest.
> > 
> > Error
> /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:112
> > Don't know how to parse element
> > "http://www.macromedia.com/2004/charts:PieChart".
It is not a known
> type or
> > a property of mx.containers.VBox.
> > 
> > Error
>
/flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:139
> > Namespace http://www.macromedia.com/2004/charts
has not been
> associated with
> > component manifest.
> > 
> > Error
>
/flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:139
> > Don't know how to parse element
> > "http://www.macromedia.com/2004/charts:LineChart"

[flexcoders] Click event triggering cellPress event.

2005-04-25 Thread Jesus Salvador Ramos Cardona










Hello, all.

 

Is there a way to have a button’s click event
trigger a datagrid’s cellPress event? I have tried to use the handleEvent
method, but that way both event objects have different properties, and I will eventually
have to evaluate these in an if statement. I am trying to achieve
loose-coupling between the two, much like the click event being broadcasted,
and the grid listening for it, and in turn firing off its cellPress event.

 

I hope I was clear enough.

 

Best regards.

 

J.











Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] About single methd handling mutiple events.

2005-04-22 Thread Jesus Salvador Ramos Cardona










Thanks, Abdul.

 

That’s what I
thought I’d do, and it looks like this.

 

    public function handleEvent(eventObj:Object):Void {   var type = eventObj.type;   var target = eventObj.target.className;    if (type=="click" && target == “button”) {   // I do not want to be dependant on my component’s name!   showTitleView(myDataGridName.selectedItem);    }   else if (type==”cellPress” && target == “myDataGridName”) {   // Like this, where I do not depend on the component’s name to call the same    // method.   showTitleView(target.selectedItem);   }    }

 

But this way I must rely
on my component’s id to call the same method if the event is fired with
the button’s click. I wonder if there’s a way to avoid this
dependency

 

Any ideas?

 

J.

 









De:
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] En nombre de Abdul Qabiz
Enviado el: Viernes, 22 de
Abril de 2005 05:29 pm
Para: flexcoders@yahoogroups.com
Asunto: RE: [flexcoders] About
single methd handling mutiple events.
Importancia: Alta



 

Hi,

you can define a handleEvent(..) function in your
application(mail.mxml),
this method would be called whenever an event
happen.

Look at the "Defining the handleEvent()
method"  section in Flex docs for
more: http://livedocs.macromedia.com/flex/15/flex_docs_en/0503.htm

Hope that helps

-abdul





From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] 
Sent: Saturday, April 23, 2005 3:38 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] About single methd handling
mutiple events.



Hey.



What's the best way to have a single method
respond to both a clic event
from a button, and a cellPress event from a
DataGrid?

Both components are inside the mail mxml.



Thanks for your help.



J.




Yahoo! Groups Links


*  To visit your
group on the web, go to:
  http://groups.yahoo.com/group/flexcoders/
    
*  To unsubscribe
from this group, send an email to:
 
[EMAIL PROTECTED]


    
*  Your use of Yahoo!
Groups is subject to the Yahoo! Terms of Service

. 















Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] About single methd handling mutiple events.

2005-04-22 Thread Jesus Salvador Ramos Cardona











Abdul,

 

Since my flex app is a
prototype, components will surely change names and types, so I am required to
have enough flexibility of code and components.

 

Bottom Line:

How can I have a button’s
click trigger the same event as my Grid’s cellPress, given the following
code?

 

Button:



 

DataGrid:



 

Functions:

   public
function showLiquidationDetail(Void):Void {

   var
selectedItem:Object = liquidationRequestsGrid.selectedItem;

   getLiquidationDetail(selectedItem);

   }

 

   public
function handleDoubleClick(event:Object):Void {

   if
(event.target.selectedItem != undefined || event.target.selectedItem.length ==
1) {

   if(handler.detectDoubleClick())
{

   getLiquidationDetail(event.target.selectedItem);

   }

   }

   else
{

   alert("Sólo es posible ver el detalle de una sola
liquidación.", "Alerta", Alert.OK, undefined, undefined,
errorImg);

   }

   }

 

Is there a way to have the
same event object in both methods, so that I can get rid of the grid reference in
showLiquidationDetail method?

 

Hope I’m explaining
myself.

 

J.









De: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] En nombre de Abdul Qabiz
Enviado el: Viernes, 22 de Abril
de 2005 06:14 pm
Para: flexcoders@yahoogroups.com
Asunto: RE: [flexcoders] About
single methd handling mutiple events.
Importancia: Alta



 

Hi,


> I wonder if there's a way to avoid this
dependency 

May be,  what exactly is your requirement?



-abdul 




From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] 
Sent: Saturday, April 23, 2005 4:23 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] About single methd
handling mutiple events.



Thanks, Abdul.



That's what I thought I'd do, and it looks like
this.



    public
function handleEvent(eventObj:Object):Void {
  
var type = eventObj.type;
  
var target = eventObj.target.className; 
  
if (type=="click" && target == "button") {
  
// I do not want to be dependant on my component's
name!
  
showTitleView(myDataGridName.selectedItem); 
  
}
  
else if (type=="cellPress" && target ==
"myDataGridName") {
  
// Like this, where I do not depend on the
component's name to call the same 
  
// method.
  
showTitleView(target.selectedItem);
  
}
    }



But this way I must rely on my component's id to
call the same method if the
event is fired with the button's click. I wonder
if there's a way to avoid
this dependency



Any ideas?



J.





De: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
En nombre
de Abdul Qabiz
Enviado el: Viernes, 22 de Abril de 2005 05:29 pm
Para: flexcoders@yahoogroups.com
Asunto: RE: [flexcoders] About single methd
handling mutiple events.
Importancia: Alta



Hi,

you can define a handleEvent(..) function in your
application(mail.mxml),
this method would be called whenever an event
happen.

Look at the "Defining the handleEvent()
method"  section in Flex docs for
more: http://livedocs.macromedia.com/flex/15/flex_docs_en/0503.htm

Hope that helps

-abdul





From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] 
Sent: Saturday, April 23, 2005 3:38 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] About single methd handling
mutiple events.



Hey.



What's the best way to have a single method
respond to both a clic event
from a button, and a cellPress event from a
DataGrid?

Both components are inside the mail mxml.



Thanks for your help.



J.




Yahoo! Groups Links


*  To visit your
group on the web, go to:
  http://groups.yahoo.com/group/flexcoders/
    
*  To unsubscribe
from this group, send an email to:
 
[EMAIL PROTECTED]


    
*  Your use of Yahoo!
Groups is subject to the Yahoo! Terms of Service

. 









Yahoo! Groups Links


*  To visit your
group on the web, go to:
  http://groups.yahoo.com/group/flexcoders/
    
*  To unsubscribe
from this group, send an email to:
 
[EMAIL PROTECTED]


    
*  

[flexcoders] About single methd handling mutiple events.

2005-04-22 Thread Jesus Salvador Ramos Cardona










Hey.

 

What’s the best way to have a single method
respond to both a clic event from a button, and a cellPress event from a
DataGrid?

Both components are inside the mail mxml.

 

Thanks for your help.

 

J.











Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












[flexcoders] About dialog boxes

2005-04-19 Thread Jesus Salvador Ramos Cardona










Hello, all.

 

This comes from our GUI Developer who comes from a
Java background and is moving on to Flex.

 

Is there an easy way in Flex to show dialog boxes? Anything
similar to javax.swing.JOptionPane, with its constants and predefined icons?

If not, is it safe to assume thar customizing
TitleWindow is the correct approach?

 

Thanks in advance.

 

J.











Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












[flexcoders] Accessing init objs passed to a PupUp TitleWindow.

2005-04-19 Thread Jesus Salvador Ramos Cardona










Hi all.

 

I am sure this post has been answered before. How can
I have access to init objs passed to a TitleWindow instantiated by
PopUpManager?

 

Thank you all in advance.

 

J.











Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












[flexcoders] ABOUT EVALUATING STRINGS INTO COMPONENT IDs

2005-04-18 Thread Jesus Salvador Ramos Cardona










Hello, all.

 

My team is developing a treasury app, and we are in
the phase of building the interface. At some point, we have a ViewStack you are
supposed to go through with the help of a List Control (we are not using
LinkBar because links in it cannot contain image icons, as far as we know). The
list control contains a string which is the component id of a panel inside the
ViewStack. Is there a way to evaluate this string into the component id? Or
better yet, is there a way to include image icon inside the link in a LinkBar?

 

I very much appreciate your help.

 

Best regards.

 

J.

J2EE Developer











Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.