[flexcoders] Remote Object Request Timeout Error

2010-07-27 Thread Battershall, Jeff
Hi,

I'm still seeing Remote Objects timing out in AIR 2.0 and although there's a 
lot of postings about on the Adobe forums and in JIRA, there's still doesn't 
seem to be a definitive solution and/or workaround.

Just polling the list to see if anyone has any late-breaking data on the issue?

Jeff Battershall
Application Architect
Dow Jones Indexes
jeff.battersh...@dowjones.com
(609) 520-5637 (p)

(484) 477-9900 (c)



[flexcoders] Remote object call gives forbidden 403 response

2009-02-18 Thread Netaman

Is there a simple fix for the following message?

faultDetail = Channel.Connect.Failed error NetConnection.Call.Failed: 
HTTP: Status 403: url: 

IIS frontend Cold Fusion 8 backend

Randy



[flexcoders] Remote Object and Session ???????

2008-09-10 Thread xmwang1982
Hi experts,

How to add variables into the session of a remote object? Because, we
can set channels to other servers in code. In order to do something
like single sign on, I want to store something like session UUID into
the session of HTTP connection of the remote object.

Any idea? Thanks a lot.



RE: [flexcoders] Remote Object and Session ???????

2008-09-10 Thread Dimitrios Gianninas
Why do you want to add things to your server-side session?
 
You dont need to do that for single sign-on. We have been using single-sign on 
with our Flex apps on WebLogic 8.1SP3 for years now and it works like a charm. 
The only thing we have to do in WebLogic, is make sure that every web 
application is using the same cookie name on the weblogic.xml and it works. 
Don't know what app server you are using, but you should lookout for something 
similar.
 
Dimitrios Gianninas
RIA Developer Team Lead
Optimal Payments Inc.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
xmwang1982
Sent: Wednesday, September 10, 2008 6:07 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remote Object and Session ???



Hi experts,

How to add variables into the session of a remote object? Because, we
can set channels to other servers in code. In order to do something
like single sign on, I want to store something like session UUID into
the session of HTTP connection of the remote object.

Any idea? Thanks a lot.



 

-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



Re: [flexcoders] Remote Object and Session ???????

2008-09-10 Thread Nate Beck
We're using Oracle Access Management to do our single-sign on over here.
Using cookies as well, we set a domain cookie to .domain.com, that way any
sub-domain will pass the cookie along to the server as well.

Cheers,
Nate

2008/9/10 Dimitrios Gianninas [EMAIL PROTECTED]

Why do you want to add things to your server-side session?

 You dont need to do that for single sign-on. We have been using single-sign
 on with our Flex apps on WebLogic 8.1SP3 for years now and it works like a
 charm. The only thing we have to do in WebLogic, is make sure that every web
 application is using the same cookie name on the weblogic.xml and it works.
 Don't know what app server you are using, but you should lookout for
 something similar.

 *Dimitrios Gianninas*
 *RIA Developer Team Lead*
 *Optimal Payments Inc.*


  --
 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *xmwang1982
 *Sent:* Wednesday, September 10, 2008 6:07 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Remote Object and Session ???

  Hi experts,

 How to add variables into the session of a remote object? Because, we
 can set channels to other servers in code. In order to do something
 like single sign on, I want to store something like session UUID into
 the session of HTTP connection of the remote object.

 Any idea? Thanks a lot.

  *AVIS IMPORTANT*

 *WARNING*

 Ce message électronique et ses pièces jointes peuvent contenir des
 renseignements confidentiels, exclusifs ou légalement privilégiés destinés
 au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun
 privilège ou à aucun autre droit si le présent message a été transmis
 involontairement ou s'il est retransmis sans son autorisation. Si vous
 n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu
 par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi
 que toutes ses pièces jointes, de votre système. La lecture, la
 distribution, la copie ou tout autre usage du présent message ou de ses
 pièces jointes par des personnes autres que le destinataire visé ne sont pas
 autorisés et pourraient être illégaux. Si vous avez reçu ce courrier
 électronique par erreur, veuillez en aviser l'expéditeur.

 This electronic message and its attachments may contain confidential,
 proprietary or legally privileged information, which is solely for the use
 of the intended recipient. No privilege or other rights are waived by any
 unintended transmission or unauthorized retransmission of this message. If
 you are not the intended recipient of this message, or if you have received
 it in error, you should immediately stop reading this message and delete it
 and all attachments from your system. The reading, distribution, copying or
 other use of this message or its attachments by unintended recipients is
 unauthorized and may be unlawful. If you have received this e-mail in error,
 please notify the sender.
   



[flexcoders] Remote Object Paths

2008-07-14 Thread Dan Vega
I have a quick questions about Remote Objects  ColdFusion paths. For the
latest project I am working on the development took place on my local
machine. I would have many remote calls similar to the following.

mx:RemoteObject id=Clients destination=ColdFusion
source=MyProject.src.cfc.Clients showBusyCursor=true
mx:method name=listClients result=listClients(event)/
/mx:RemoteObject

The problem that I am running into is that when i want to push a release
build the source path is going to change. When its published the path looks
more like this

+projectroot
  +myproject
   -myswf.swf
   +cfc
 -Clients.cfc


My question is what do others do about this. I know that in the web world I
could read a config file based on live or dev. The problem is that through
out this project I have really learned that I need to stop thinking in terms
of basic web application development.

Thank You
Dan Vega
[EMAIL PROTECTED]
http://www.danvega.org


Re: [flexcoders] Remote Object Paths

2008-07-14 Thread Simon Bailey
In a similar scenario for setting dynamic url strings I simply pass  
them in via FlashVars or an external XML file.  On app startup, send  
for the XML URL or reach in and grab the FlashVars and then pass it to  
the relevant class for assigning as the RO source.


Simon

On 14 Jul 2008, at 18:54, Dan Vega wrote:

I have a quick questions about Remote Objects  ColdFusion paths. For  
the latest project I am working on the development took place on my  
local machine. I would have many remote calls similar to the following.


mx:RemoteObject id=Clients destination=ColdFusion  
source=MyProject.src.cfc.Clients showBusyCursor=true

mx:method name=listClients result=listClients(event)/
/mx:RemoteObject

The problem that I am running into is that when i want to push a  
release build the source path is going to change. When its published  
the path looks more like this


+projectroot
  +myproject
   -myswf.swf
   +cfc
 -Clients.cfc


My question is what do others do about this. I know that in the web  
world I could read a config file based on live or dev. The problem is  
that through out this project I have really learned that I need to  
stop thinking in terms of basic web application development.


Thank You
Dan Vega
[EMAIL PROTECTED]
http://www.danvega.org





Re: [flexcoders] Remote Object Paths

2008-07-14 Thread Dan Vega
I did not even think of flash vars, I will look into that.

Thanks Simon!


Thank You
Dan Vega

On Mon, Jul 14, 2008 at 2:02 PM, Simon Bailey [EMAIL PROTECTED]
wrote:

   In a similar scenario for setting dynamic url strings I simply pass them
 in via FlashVars or an external XML file.  On app startup, send for the XML
 URL or reach in and grab the FlashVars and then pass it to the relevant
 class for assigning as the RO source.

 Simon

 On 14 Jul 2008, at 18:54, Dan Vega wrote:

 I have a quick questions about Remote Objects  ColdFusion paths. For the
 latest project I am working on the development took place on my local
 machine. I would have many remote calls similar to the following.

 mx:RemoteObject id=Clients destination=ColdFusion
 source=MyProject.src.cfc.Clients showBusyCursor=true
 mx:method name=listClients result=listClients(event)/
 /mx:RemoteObject

 The problem that I am running into is that when i want to push a release
 build the source path is going to change. When its published the path looks
 more like this

 +projectroot
   +myproject
-myswf.swf
+cfc
  -Clients.cfc


 My question is what do others do about this. I know that in the web world I
 could read a config file based on live or dev. The problem is that through
 out this project I have really learned that I need to stop thinking in terms
 of basic web application development.

 Thank You
 Dan Vega
 [EMAIL PROTECTED]
 http://www.danvega.org

  


Re: [flexcoders] Remote Object Paths

2008-07-14 Thread Douglas Knudsen
why not keep the paths the same?  Either directly or through application.cfc.

DK

On Mon, Jul 14, 2008 at 1:54 PM, Dan Vega [EMAIL PROTECTED] wrote:
 I have a quick questions about Remote Objects  ColdFusion paths. For the
 latest project I am working on the development took place on my local
 machine. I would have many remote calls similar to the following.

 mx:RemoteObject id=Clients destination=ColdFusion
 source=MyProject.src.cfc.Clients showBusyCursor=true
 mx:method name=listClients result=listClients(event)/
 /mx:RemoteObject

 The problem that I am running into is that when i want to push a release
 build the source path is going to change. When its published the path looks
 more like this

 +projectroot
   +myproject
-myswf.swf
+cfc
  -Clients.cfc


 My question is what do others do about this. I know that in the web world I
 could read a config file based on live or dev. The problem is that through
 out this project I have really learned that I need to stop thinking in terms
 of basic web application development.

 Thank You
 Dan Vega
 [EMAIL PROTECTED]
 http://www.danvega.org

 



-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


Re: [flexcoders] Remote Object Paths

2008-07-14 Thread Dan Vega
Douglas,
The remote object path is used in the Flex app and therefor if its hard
coded it doesn't that get compiled? I think the flash vars is a nice way of
doing. I just threw in an initialize event, check to see if it existed and
if not set it and pass that path on to my views.

private function loadFlashVars():void {
// load flash vars
_ropath = Application.application.parameters.ropath;
if(_ropath == null){
// must be development
_ropath = MyProject.src.cfc;
}
}

This works for me but I am open to any suggestions, Im still learning.


Thank You
Dan Vega
[EMAIL PROTECTED]
http://www.danvega.org

On Mon, Jul 14, 2008 at 2:17 PM, Douglas Knudsen [EMAIL PROTECTED]
wrote:

   why not keep the paths the same? Either directly or through
 application.cfc.

 DK


 On Mon, Jul 14, 2008 at 1:54 PM, Dan Vega [EMAIL 
 PROTECTED]danvega%40gmail.com
 wrote:
  I have a quick questions about Remote Objects  ColdFusion paths. For the
  latest project I am working on the development took place on my local
  machine. I would have many remote calls similar to the following.
 
  mx:RemoteObject id=Clients destination=ColdFusion
  source=MyProject.src.cfc.Clients showBusyCursor=true
  mx:method name=listClients result=listClients(event)/
  /mx:RemoteObject
 
  The problem that I am running into is that when i want to push a release
  build the source path is going to change. When its published the path
 looks
  more like this
 
  +projectroot
  +myproject
  -myswf.swf
  +cfc
  -Clients.cfc
 
 
  My question is what do others do about this. I know that in the web world
 I
  could read a config file based on live or dev. The problem is that
 through
  out this project I have really learned that I need to stop thinking in
 terms
  of basic web application development.
 
  Thank You
  Dan Vega
  [EMAIL PROTECTED] danvega%40gmail.com
  http://www.danvega.org
 
 

 --
 Douglas Knudsen
 http://www.cubicleman.com
 this is my signature, like it?
  



Re: [flexcoders] Remote Object Paths

2008-07-14 Thread Dan Vega
Turns out this does not work, the flash vars must not get passed at the time
I am trying to set them. Anyone know at what stage these variables get
passed in ?

Dan

On Mon, Jul 14, 2008 at 2:24 PM, Dan Vega [EMAIL PROTECTED] wrote:

 Douglas,
 The remote object path is used in the Flex app and therefor if its hard
 coded it doesn't that get compiled? I think the flash vars is a nice way of
 doing. I just threw in an initialize event, check to see if it existed and
 if not set it and pass that path on to my views.

 private function loadFlashVars():void {
 // load flash vars
 _ropath = Application.application.parameters.ropath;
 if(_ropath == null){
 // must be development
 _ropath = MyProject.src.cfc;
 }
 }

 This works for me but I am open to any suggestions, Im still learning.


 Thank You
 Dan Vega
 [EMAIL PROTECTED]
 http://www.danvega.org

 On Mon, Jul 14, 2008 at 2:17 PM, Douglas Knudsen [EMAIL PROTECTED]
 wrote:

   why not keep the paths the same? Either directly or through
 application.cfc.

 DK


 On Mon, Jul 14, 2008 at 1:54 PM, Dan Vega [EMAIL 
 PROTECTED]danvega%40gmail.com
 wrote:
  I have a quick questions about Remote Objects  ColdFusion paths. For
 the
  latest project I am working on the development took place on my local
  machine. I would have many remote calls similar to the following.
 
  mx:RemoteObject id=Clients destination=ColdFusion
  source=MyProject.src.cfc.Clients showBusyCursor=true
  mx:method name=listClients result=listClients(event)/
  /mx:RemoteObject
 
  The problem that I am running into is that when i want to push a release
  build the source path is going to change. When its published the path
 looks
  more like this
 
  +projectroot
  +myproject
  -myswf.swf
  +cfc
  -Clients.cfc
 
 
  My question is what do others do about this. I know that in the web
 world I
  could read a config file based on live or dev. The problem is that
 through
  out this project I have really learned that I need to stop thinking in
 terms
  of basic web application development.
 
  Thank You
  Dan Vega
  [EMAIL PROTECTED] danvega%40gmail.com
  http://www.danvega.org
 
 

 --
 Douglas Knudsen
 http://www.cubicleman.com
 this is my signature, like it?
  





RE: [flexcoders] Remote Object Paths

2008-07-14 Thread Tracy Spratt
I usually Access them in an Application.creationComplete or initialize
handler.

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dan Vega
Sent: Monday, July 14, 2008 2:32 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Remote Object Paths

 

Turns out this does not work, the flash vars must not get passed at the
time I am trying to set them. Anyone know at what stage these variables
get passed in ?

Dan

On Mon, Jul 14, 2008 at 2:24 PM, Dan Vega [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote:

Douglas,
The remote object path is used in the Flex app and therefor if its hard
coded it doesn't that get compiled? I think the flash vars is a nice way
of doing. I just threw in an initialize event, check to see if it
existed and if not set it and pass that path on to my views.

private function loadFlashVars():void {
// load flash vars
_ropath = Application.application.parameters.ropath;
if(_ropath == null){
// must be development
_ropath = MyProject.src.cfc;
}
}

This works for me but I am open to any suggestions, Im still learning.




Thank You
Dan Vega
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
http://www.danvega.org http://www.danvega.org  

On Mon, Jul 14, 2008 at 2:17 PM, Douglas Knudsen
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  wrote:

why not keep the paths the same? Either directly or through
application.cfc.

DK



On Mon, Jul 14, 2008 at 1:54 PM, Dan Vega [EMAIL PROTECTED]
mailto:danvega%40gmail.com  wrote:
 I have a quick questions about Remote Objects  ColdFusion paths. For
the
 latest project I am working on the development took place on my local
 machine. I would have many remote calls similar to the following.

 mx:RemoteObject id=Clients destination=ColdFusion
 source=MyProject.src.cfc.Clients showBusyCursor=true
 mx:method name=listClients result=listClients(event)/
 /mx:RemoteObject

 The problem that I am running into is that when i want to push a
release
 build the source path is going to change. When its published the path
looks
 more like this

 +projectroot
 +myproject
 -myswf.swf
 +cfc
 -Clients.cfc


 My question is what do others do about this. I know that in the web
world I
 could read a config file based on live or dev. The problem is that
through
 out this project I have really learned that I need to stop thinking in
terms
 of basic web application development.

 Thank You
 Dan Vega
 [EMAIL PROTECTED] mailto:danvega%40gmail.com 
 http://www.danvega.org http://www.danvega.org 

 

-- 
Douglas Knudsen
http://www.cubicleman.com http://www.cubicleman.com 
this is my signature, like it?

 

 

 



Re: [flexcoders] Remote Object Paths

2008-07-14 Thread Douglas Knudsen
right, so have your server code (CFCs) sit in the same folder path in
dev, staging, and production so doesn't matter what Flex, Flash, HTML
client it is, who cares.  ORif you are running ColdFuison 8, you
can set application specific mappings in application.cfc.  So, in your
local dev application.cfc you could have a mapping that looks like
production set to whatever you want.

DK

On Mon, Jul 14, 2008 at 2:24 PM, Dan Vega [EMAIL PROTECTED] wrote:
 Douglas,
 The remote object path is used in the Flex app and therefor if its hard
 coded it doesn't that get compiled? I think the flash vars is a nice way of
 doing. I just threw in an initialize event, check to see if it existed and
 if not set it and pass that path on to my views.

 private function loadFlashVars():void {
 // load flash vars
 _ropath = Application.application.parameters.ropath;
 if(_ropath == null){
 // must be development
 _ropath = MyProject.src.cfc;
 }
 }

 This works for me but I am open to any suggestions, Im still learning.


 Thank You
 Dan Vega
 [EMAIL PROTECTED]
 http://www.danvega.org

 On Mon, Jul 14, 2008 at 2:17 PM, Douglas Knudsen [EMAIL PROTECTED]
 wrote:

 why not keep the paths the same? Either directly or through
 application.cfc.

 DK

 On Mon, Jul 14, 2008 at 1:54 PM, Dan Vega [EMAIL PROTECTED] wrote:
  I have a quick questions about Remote Objects  ColdFusion paths. For
  the
  latest project I am working on the development took place on my local
  machine. I would have many remote calls similar to the following.
 
  mx:RemoteObject id=Clients destination=ColdFusion
  source=MyProject.src.cfc.Clients showBusyCursor=true
  mx:method name=listClients result=listClients(event)/
  /mx:RemoteObject
 
  The problem that I am running into is that when i want to push a release
  build the source path is going to change. When its published the path
  looks
  more like this
 
  +projectroot
  +myproject
  -myswf.swf
  +cfc
  -Clients.cfc
 
 
  My question is what do others do about this. I know that in the web
  world I
  could read a config file based on live or dev. The problem is that
  through
  out this project I have really learned that I need to stop thinking in
  terms
  of basic web application development.
 
  Thank You
  Dan Vega
  [EMAIL PROTECTED]
  http://www.danvega.org
 
 

 --
 Douglas Knudsen
 http://www.cubicleman.com
 this is my signature, like it?

 



-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


Re: [flexcoders] Remote Object Paths

2008-07-14 Thread Dan Vega
Good point, you need to turn that on in the services config right?


Thank You
Dan Vega
[EMAIL PROTECTED]
http://www.danvega.org

On Mon, Jul 14, 2008 at 3:05 PM, Douglas Knudsen [EMAIL PROTECTED]
wrote:

   right, so have your server code (CFCs) sit in the same folder path in
 dev, staging, and production so doesn't matter what Flex, Flash, HTML
 client it is, who cares. ORif you are running ColdFuison 8, you
 can set application specific mappings in application.cfc. So, in your
 local dev application.cfc you could have a mapping that looks like
 production set to whatever you want.

 DK


 On Mon, Jul 14, 2008 at 2:24 PM, Dan Vega [EMAIL 
 PROTECTED]danvega%40gmail.com
 wrote:
  Douglas,
  The remote object path is used in the Flex app and therefor if its hard
  coded it doesn't that get compiled? I think the flash vars is a nice way
 of
  doing. I just threw in an initialize event, check to see if it existed
 and
  if not set it and pass that path on to my views.
 
  private function loadFlashVars():void {
  // load flash vars
  _ropath = Application.application.parameters.ropath;
  if(_ropath == null){
  // must be development
  _ropath = MyProject.src.cfc;
  }
  }
 
  This works for me but I am open to any suggestions, Im still learning.
 
 
  Thank You
  Dan Vega
  [EMAIL PROTECTED] danvega%40gmail.com
  http://www.danvega.org
 
  On Mon, Jul 14, 2008 at 2:17 PM, Douglas Knudsen 
 [EMAIL PROTECTED] douglasknudsen%40gmail.com
  wrote:
 
  why not keep the paths the same? Either directly or through
  application.cfc.
 
  DK
 
  On Mon, Jul 14, 2008 at 1:54 PM, Dan Vega [EMAIL 
  PROTECTED]danvega%40gmail.com
 wrote:
   I have a quick questions about Remote Objects  ColdFusion paths. For
   the
   latest project I am working on the development took place on my local
   machine. I would have many remote calls similar to the following.
  
   mx:RemoteObject id=Clients destination=ColdFusion
   source=MyProject.src.cfc.Clients showBusyCursor=true
   mx:method name=listClients result=listClients(event)/
   /mx:RemoteObject
  
   The problem that I am running into is that when i want to push a
 release
   build the source path is going to change. When its published the path
   looks
   more like this
  
   +projectroot
   +myproject
   -myswf.swf
   +cfc
   -Clients.cfc
  
  
   My question is what do others do about this. I know that in the web
   world I
   could read a config file based on live or dev. The problem is that
   through
   out this project I have really learned that I need to stop thinking in
   terms
   of basic web application development.
  
   Thank You
   Dan Vega
   [EMAIL PROTECTED] danvega%40gmail.com
   http://www.danvega.org
  
  
 
  --
  Douglas Knudsen
  http://www.cubicleman.com
  this is my signature, like it?
 
 

 --
 Douglas Knudsen
 http://www.cubicleman.com
 this is my signature, like it?
  



[flexcoders] Remote Object w/ Spring

2008-04-06 Thread ron_mori
The goal is to build a simple Remote Object access of a Spring DAO
bean.

The Spring bean construction is good - a tool I've worked with before.

The simple class (Test.class) accessed via Remote Object works fine
too (I can pass parms into a simple method and grab the returned value).

I've then built the Test.class injecting a Spring Bean.  Logs show
that worked.

The problem is when the Remote Object accesses the Test.class w/ Bean
- the DAO Bean is null (has not been injected into the Test instance
accessed)  So it looks like I get a new instance of Test and not the
Spring constructed one.  How come?

-
My main Remote.MXML class looks like:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute 

mx:Script
 ![CDATA[
   import mx.controls.Alert;
   [Bindable]
   public var txtStr:Object = Say What???;
 ]]
 /mx:Script
 mx:RemoteObject id=srv destination=remoteTest
  endpoint=http://localhost:8080/Remote/messagebroker/amf;
  result=txtStr=event.result
  fault=Alert.show(event.fault.faultString, 'Error');/

 mx:VBox x=22 y=24 height=100% width=603
 mx:Label text=Remote Object Test/
 mx:TextArea width=161 height=98 id=txt text={txtStr}
wordWrap=true editable=true/
 mx:Button label=Try Remote click=txtStr=srv.hello(txt.text);/
 /mx:VBox

/mx:Application
---
My REMOTE-CONFIG.XML is:

?xml version=1.0 encoding=UTF-8?
service id=remoting-service
class=flex.messaging.services.RemotingService

adapters
adapter-definition id=java-object
class=flex.messaging.services.remoting.adapters.JavaAdapter
default=true/
/adapters

default-channels
channel ref=my-amf /
/default-channels

destination id=remoteTest 
properties
sourcecom.metraflex.loops.Test/source
/properties
/destination

  /service

-
Thanks in advance.



Re: [flexcoders] Remote Object Security

2008-02-08 Thread Tom Chiverton
On Thursday 07 Feb 2008, slash_n_rose wrote:
 1) Is there any security flaws in RemoteObject? 

I'm not aware of any.

 to call my cfcs and need to secure my application without
 session. Is it a better method to check a server generated GUID
 in each call?.

If your operations modify data, return confidential data or have external 
effects, you should be doing some sort of token-based security on every call, 
yes.
And TLS.
But it sounds like you know this.

 2) Is there any hack attacks reported against Flex applications
 especially in remoting?

I'm sure there are, or very shortly will be. It's just another bit of an 
application, like a form or page with URL variables.

-- 
Tom Chiverton
Helping to enthusiastically disintermediate 24/365 materials
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.


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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


[flexcoders] Remote Object Security

2008-02-07 Thread slash_n_rose
Hi All

1) Is there any security flaws in RemoteObject? I'm using Remoteobject
to call my cfcs and need to secure my application without   
session. Is it a better method to check a server generated GUID
in each call?.

2) Is there any hack attacks reported against Flex applications
especially in remoting?  

Could you please advice? Thanks in advance.

Regards,
Jerry



[flexcoders] Remote Object with fieds Data

2007-12-17 Thread Tom Preet
Hi All,

I am developing an Flex App.. in my App, I used 3 text boxes and 2 labels to
display the text in the

labels and textboxes I need to use Remote Object method. in
remoting-config.xml described the description

for java class.

In mxml function for ResultHandler is used like this

 var myString:String= new String();
 myString=event.result.toString();
 Alert.show(Data:  +myString);
the whole data is displaying at a time in Alert.

But I need to display the fields in particular specified textboxes and
Labels in mxml page.

Can help me how to achieve this.

 --tomt


Re: [flexcoders] remote object coldfusion issue

2007-02-14 Thread Tom Chiverton
On Tuesday 13 Feb 2007, teknofreakz wrote:
 However it seems like only the first site's data will load into the
 flex swf. I have a cfdump of the correct data right below the swf load
 and the cfdump has the correct data. 

You might want to set the log level to debug at the end of services-config.xml 
on the CF server and watch the log files to confirm exactly what is sent each 
way, and where it is sent too.

I suspect your app always connects back to the first sites URL.

-- 
Tom Chiverton
Helping to collaboratively administrate 24/365 users



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


[flexcoders] remote object coldfusion issue

2007-02-12 Thread teknofreakz
So yea im starting to get into Flex2 and coldfusion remoting. So i was
playing with a simple datagrid and tree component. Which thanks alot
to this group, went pretty well. But i was testing on a staging area
(windows 2003, IIS, cf7.02 standard using developer mode) and i
created like 4 virtual sites. I have a simple application that has
cfapplication and some settings (application.setting.dsn). Each site
has a set of cfcs and cfm files that all work (all use application
scope for dsn stuff).  

However it seems like only the first site's data will load into the 
flex swf. I have a cfdump of the correct data right below the swf load
and the cfdump has the correct data. but the flex movie is still only
showing the data from the first site. no matter what the cfdump has.
Is there a setting or something that i need to use in cf or IIS or
even code i am missing in my flex?

snippets of code. 

note: i have a bunch more code in this file but doesnt matter (like
transations and stuff i was playing with) so i realize i dont have all
the event imports and some other stuff.

mxml:
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; 
layout=vertical  
initialize=cfcService.getitemlist()
mx:Script
[Bindable] private var loadData:ArrayCollection;
//init data loaders
private function dataLoader(event:ResultEvent):void {
loadData = event.result as ArrayCollection;
}
/mx:Script
mx:RemoteObject id=cfcService destination=ColdFusion 
source=com/arquan/cart/remote/category
mx:method name=getitemlist result=dataLoader(event)/
/mx:RemoteObject
mx:DataGrid id=myList 
dataProvider={loadData} 
width=100% 
height=100% 
doubleClickEnabled=true 
doubleClick=doedit()
mx:columns
mx:DataGridColumn dataField=orderby 
headerText=Order width=50/
mx:DataGridColumn dataField=name headerText=Name/
mx:DataGridColumn dataField=active 
headerText=Active
width=150 labelFunction=formatStatus/
/mx:columns
/mx:DataGrid

cfc:
cffunction name=getitemlist access=remote output=false
returntype=query
cfquery name=webitemsq datasource=#application.settings.dsn#
SELECT id, needspublished, staticid, conditionid, name, 
description,
available, discontinued, orderby, active,createddate, modifieddate,
createdby, modifiedby
FROM cart_tblwebitem
WHERE deleted = 0
/cfquery
cfreturn webitemsq
/cffunction


so yea.. if there is anything else i forgot to include let me know.
this is a very basic app for testing flex. But yea im a little lost.
Any help is welcome and appreciated. thanks.  Trishan



[flexcoders] Remote object not working when called from delegate

2006-11-19 Thread malik_robinson

Hi,

I am trying to find out why this remote object does not return
successfully using Cairngorm.  I can use the same remote object in an
application just by itself.  The remote object invokes a CFC method and
populates a datagrid just fine, but when I am trying to use a delegate
to call this service, it is not working.  It works for an HTTPService,
but not remote object.

Below is my Services.xml files

?xml version=1.0 encoding=utf-8?

cairngorm:ServiceLocator

xmlns:mx=
http://www.adobe.com/2006/mxml;






  xmlns:cairngorm=com.adobe.cairngorm.business.*




mx:RemoteObject


id=
loginUserService






destination=ColdFusion

source=myApp.cf.com.countries

showBusyCursor=true 

mx:method name=getCountries /




/mx:RemoteObject






/cairngorm:ServiceLocator



Here is the delegate:

package com.adobe.myApp.business {




import mx.rpc.AsyncToken;


import mx.rpc.IResponder;

import com.adobe.cairngorm.business.ServiceLocator;

import mx.controls.Alert;



public class LoginUserDelegate {





private var command : IResponder;



private var service : Object;



public function LoginUserDelegate( command : IResponder ) {

this.service = ServiceLocator.getInstance().getService(
'loginUserService' );

this.command = command;

}



public function loginUserServices() : void {

// call the service



var token:AsyncToken = service.send();

// notify this command when the service call completes

token.addResponder( command );

}

}

}



Re: [flexcoders] Remote object - Nullable type

2006-11-15 Thread Diego Guebel
Hi Darron,
Many thanks for reply, that altenative you mentioned was something I was  
thinking of doing, but I preferred to ask first for any better solution,  
it seems there is not...
have you ever posted about that custom datatype alternative? I wonder how  
you implemented that

thanks again,
Diego.


On Wed, 15 Nov 2006 17:05:11 +1300, Darron J. Schall  
[EMAIL PROTECTED] wrote:

 You can't match it exactly.  Trying to use a boolean type means you can
 only have either true or false as the value.  It's in a proposal
 somewhere to add nullable type support to ECMAScript, but in the
 meantime you can try using the * data type since it can assume any value
 (which includes the set of true, false, and null).  You'll lose the
 performance gains of using a known compile-time type, but you'll get the
 flexibility you're looking for client-side.

 Alternatively, you can create your own custom datatype for values of
 null, false, and true on both the client and server, but that's a bit
 more work.  I've gone this route by making a custom NullableBoolean type
 in the past...

 -d

 Diego Guebel wrote:
 Hi there,
 I'm trying to pass back and forth an object to the server(.NET) that  
 has a
 property with boolean type that can also be assigned a null.

 Something like the following in c#:

 public class TestClass
 {
[XmlElement(IsNullable=true)]
public Nullablebool Deleted { get; set; }
 }

 the question is: how can I match that in AS?

 package
 {
  [Bindable]
  [RemoteClass(alias=package.TestClass)]
  public class TestClassVO
  {
  public var Deleted: ??
  }
 }

 Thanks in advance,
 Diego.



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







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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 



[flexcoders] Remote object - Nullable type

2006-11-14 Thread Diego Guebel
Hi there,
I'm trying to pass back and forth an object to the server(.NET) that has a  
property with boolean type that can also be assigned a null.

Something like the following in c#:

public class TestClass
{
   [XmlElement(IsNullable=true)]
   public Nullablebool Deleted { get; set; }
}

the question is: how can I match that in AS?

package
{
[Bindable]
[RemoteClass(alias=package.TestClass)]
public class TestClassVO
{
public var Deleted: ??
}
}

Thanks in advance,
Diego.


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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 



Re: [flexcoders] Remote object - Nullable type

2006-11-14 Thread Darron J. Schall
You can't match it exactly.  Trying to use a boolean type means you can 
only have either true or false as the value.  It's in a proposal 
somewhere to add nullable type support to ECMAScript, but in the 
meantime you can try using the * data type since it can assume any value 
(which includes the set of true, false, and null).  You'll lose the 
performance gains of using a known compile-time type, but you'll get the 
flexibility you're looking for client-side.

Alternatively, you can create your own custom datatype for values of 
null, false, and true on both the client and server, but that's a bit 
more work.  I've gone this route by making a custom NullableBoolean type 
in the past...

-d

Diego Guebel wrote:
 Hi there,
 I'm trying to pass back and forth an object to the server(.NET) that has a  
 property with boolean type that can also be assigned a null.

 Something like the following in c#:

 public class TestClass
 {
[XmlElement(IsNullable=true)]
public Nullablebool Deleted { get; set; }
 }

 the question is: how can I match that in AS?

 package
 {
   [Bindable]
   [RemoteClass(alias=package.TestClass)]
   public class TestClassVO
   {
   public var Deleted: ??
   }
 }

 Thanks in advance,
 Diego.



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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 



[flexcoders] remote object help

2006-10-24 Thread RAMANA
hai everybody,
i am new to flex environment and i am presently working on remote 
object service.
in this regard i need a help,
i am trying to retrieve values from sql and output them to datagrid, 
i am unable to see the values outputed to datagrid
my sql db contains two columns cname and email, and i am working on 
flex 1.5
here is my mxml,as,java file to solve the above problem.

LoginchkAB.java

import java.sql.*; 
import java.util.ArrayList;
public class LoginchkAB{
Connect q=new Connect();
public void LoginchkAB()
{


}
public ArrayList getList()
{
ArrayList list = new ArrayList();
try
{
Connection Conn=q.establish_Connection();
Statement s = Conn.createStatement();
ResultSet rs= s.executeQuery(select cname,email from 
deepa123456);
System.out.println(ramana);

while (rs.next
()) {
list.add(new ViewuserVO
(rs.getString(1),rs.getString(2)));
System.out.println(ramana);   
}   

s.close();  
Conn.close();
}   
catch(Exception e)
{
System.out.println(TechRP+e);
}
return list;
}
public static void main(String args[])
{
LoginchkAB q=new LoginchkAB();
  
}
}

ViewuserVO.as file

class ViewuserVO {
public var cname : String;
public var email : String;


static var registered=Object.registerClass(ViewuserVO, 
ViewuserVO);
}

UsingRemoteObj1.mxml

?xml version=1.0 encoding=utf-8?

mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; 
verticalGap=10
 mx:Button label=Get user List click=getusers()/


 

mx:DataGrid id=dg dataProvider={loginchkA.list} width=100% 
height=100%
 mx:columns
mx:Array
mx:DataGridColumn columnName=cname 
headerText=cname /
mx:DataGridColumn columnName=email 
headerText=email/
/mx:Array
/mx:columns
/mx:DataGrid
mx:Script
var list;

/mx:Script
mx:Script
![CDATA[
function getusers()
{
loginchkA.getList();
}   
]]
/mx:Script

mx:RemoteObject id=loginchkA result=list=event.result 
source=LoginchkAB fault=alert(event.fault.faultstring, 'Error')
mx:method name=getList/
/mx:RemoteObject
/mx:Application

i would be thankful for the help regarding this.

Thank u all
Ramana








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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 



RE: [flexcoders] remote object help

2006-10-24 Thread Tracy Spratt












I dont trust this:

result=list=event.result



Instead, call a handler function so that
you can debug the contents of result:

Result=onResult(event)



private function
onResult(oEvent:ResultEvent):void

trace(oEvent.result.toXMLString());
//this actually will depend on the data type in the result object



Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of RAMANA
Sent: Tuesday, October 24, 2006
10:55 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] remote
object help











hai everybody,
i am new to flex environment and i am presently working on remote 
object service.
in this regard i need a help,
i am trying to retrieve values from sql and output them to datagrid, 
i am unable to see the values outputed to datagrid
my sql db contains two columns cname and email, and i am working on 
flex 1.5
here is my mxml,as,java file to solve the above problem.

LoginchkAB.java

import java.sql.*; 
import java.util.ArrayList;
public class LoginchkAB{
Connect q=new Connect(); 
public void LoginchkAB()
{

}
public ArrayList getList()
{
ArrayList list = new ArrayList();
try
{
Connection Conn=q.establish_Connection();
Statement s = Conn.createStatement();
ResultSet rs= s.executeQuery(select cname,email from 
deepa123456);
System.out.println(ramana);

while (rs.next
()) {
list.add(new ViewuserVO
(rs.getString(1),rs.getString(2)));
System.out.println(ramana); 
} 

s.close(); 
Conn.close();
} 
catch(Exception e)
{
System.out.println(TechRP+e);
}
return list;
}
public static void main(String args[])
{
LoginchkAB q=new LoginchkAB();

}
}

ViewuserVO.as file

class ViewuserVO {
public var cname : String;
public var email : String;


static var registered=Object.registerClass(ViewuserVO,

ViewuserVO);
}

UsingRemoteObj1.mxml

?xml version=1.0 encoding=utf-8?

mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml

verticalGap=10
mx:Button label=Get user List click=getusers()/


mx:DataGrid id=dg dataProvider={loginchkA.list}
width=100% 
height=100%
mx:columns
mx:Array
mx:DataGridColumn columnName=cname 
headerText=cname /
mx:DataGridColumn columnName=email 
headerText=email/
/mx:Array
/mx:columns
/mx:DataGrid
mx:Script
var list;

/mx:Script
mx:Script
![CDATA[
function getusers()
{
loginchkA.getList(); 
} 
]]
/mx:Script

mx:RemoteObject id=loginchkA result=list=event.result

source=LoginchkAB fault=alert(event.fault.faultstring,
'Error')
mx:method name=getList/
/mx:RemoteObject
/mx:Application

i would be thankful for the help regarding this.

Thank u all
Ramana






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] Remote Object caching the results?

2006-09-20 Thread Matt Chotin












You need to make sure that a frame passes
between the two calls. If you call one right after another in your AS code
they will be sent in the same network request and therefore will be combined in
their responses. So what you can do is call the first method, then do a
callLater to call the second method. That should break it up I think.



Matt











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of vuleman
Sent: Tuesday, September 19, 2006
5:10 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remote
Object caching the results?











Hi everyone,
I have a page that makes a Remote Object call to the server. Since 
it's taking too long, i split it up with 2 separate remote object 
calls. One call will return the summary (which is really fast), 
while the other RO call will retrieve the detail status (longer). If 
i look at the call ouput, it looks as if Flex cache the faster, wait 
for the slower one, and return both at the same time.

Output is as follow:

[Flex] Serializing AMF/HTTP response
Version: 3
(Message #0 targetURI=/151/onResult, .)
(Message #1 targetURI=/159/onResult, .)

Message #0 is the summary, and message #1 is the detail call. This 
happen most of the time, but sometimes they do return separately, 
which resulted in the behavior that I want (faster one return first, 
slower later) 

Does anyone know if this is the default Remote Object behavior? For 
performance purposes? If so, how do I disable this feature and have 
Remote Object call return as soon as they are completed?

Many thanks
Vu






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Remote Object caching the results?

2006-09-19 Thread vuleman
Hi everyone,
I have a page that makes a Remote Object call to the server.  Since 
it's taking too long, i split it up with 2 separate remote object 
calls.  One call will return the summary (which is really fast), 
while the other RO call will retrieve the detail status (longer).  If 
i look at the call ouput, it looks as if Flex cache the faster, wait 
for the slower one, and return both at the same time.

Output is as follow:

[Flex] Serializing AMF/HTTP response
Version: 3
  (Message #0 targetURI=/151/onResult, .)
  (Message #1 targetURI=/159/onResult, .)

Message #0 is the summary, and message #1 is the detail call.  This 
happen most of the time, but sometimes they do return separately, 
which resulted in the behavior that I want (faster one return first, 
slower later)  

Does anyone know if this is the default Remote Object behavior? For 
performance purposes? If so, how do I disable this feature and have 
Remote Object call return as soon as they are completed?

Many thanks
Vu






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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Remote Object....and Data Base Connectivity

2006-09-15 Thread Madhuri Chamarty



hi,I want to use the Remote Object for sending and receiving data. I'm using java jdbc connectivity for that purpose of connecting to the DB. I have placed my class files into the C:\fds2\jrun4\servers\default\flex\WEB-INF\classes folder .I want to know how i can use Remote Object for getting my data to be displayed on my mxml file..i tried it but was not working. Could u please send me the code of how i can get the data.kindly help its urgent :(Thank u 
		Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates starting at 1¢/min.
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Remote Object Destinations

2006-09-11 Thread Jeremy Rottman
I am using remote objects to collect data from my db and pass it to my
flex front end. I built a test app to make sure that I am getting
connectivity from flex to my cf server. I have also added the the
destination RETS to the services-config.xml file. 

I have had this problem previously, and restarting fb would clear it
up because the services-config.xml file was cached. Now not even this
will do it. I know my destination is correct because I have
included/output it in my flex app.

This is the error that I get.

faultCode:Server.Processing faultString:'No destination 'RETS' exists
in service flex.messaging.services.RemotingService' faultDetail:'null'

but in my output from my Services.xml file, I have this. I can clearly
see that I have the destination RETS set in my services-config.xml file. 

services
  coldfusion-flashremoting-service
messageTypes=flex.messaging.messages.RemotingMessage
destination id=RETS
  channels
channel ref=my-cfamf/
  /channels
/destination
destination id=ColdFusion
  channels
channel ref=my-cfamf/
  /channels
/destination
  /coldfusion-flashremoting-service
  channels
channel id=my-cfamf type=mx.messaging.channels.AMFChannel
  endpoint uri=http://beta.homesmartagent.com/flex2gateway//
  properties
polling-enabledfalse/polling-enabled
  /properties
/channel
  /channels
/services


Here is the full desination from my services-config.xml file.
destination id=RETS
channels
channel ref=my-cfamf/
/channels
properties
sourcecom.RetsSearch/source
!-- define the resolution rules and access level
of the cfc being invoked --
access
!-- Use the ColdFusion mappings to find CFCs,
by default only CFC files under your webroot can be found. --
use-mappingsfalse/use-mappings
!-- allow public and remote or just
remote methods to be invoked --
method-access-levelremote/method-access-level
/access

property-case
!-- cfc property names --
force-cfc-lowercasefalse/force-cfc-lowercase
!-- Query column names --
   
force-query-lowercasefalse/force-query-lowercase
!-- struct keys --
   
force-struct-lowercasefalse/force-struct-lowercase
/property-case
/properties
/destination







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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Remote Object Destinations

2006-09-11 Thread João Fernandes












Jeremy,



 try  menu Project 
Clean. 



João Fernandes













From:
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeremy Rottman
Sent: segunda-feira, 11 de
Setembro de 2006 20:14
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remote
Object Destinations











I am using remote objects to collect data from my db
and pass it to my
flex front end. I built a test app to make sure that I am getting
connectivity from flex to my cf server. I have also added the the
destination RETS to the services-config.xml file. 

I have had this problem previously, and restarting fb would clear it
up because the services-config.xml file was cached. Now not even this
will do it. I know my destination is correct because I have
included/output it in my flex app.

This is the error that I get.

faultCode:Server.Processing faultString:'No destination 'RETS' exists
in service flex.messaging.services.RemotingService' faultDetail:'null'

but in my output from my Services.xml file, I have this. I can clearly
see that I have the destination RETS set in my services-config.xml file. 

services
coldfusion-flashremoting-service
messageTypes=flex.messaging.messages.RemotingMessage
destination id=RETS
channels
channel ref=my-cfamf/
/channels
/destination
destination id=ColdFusion
channels
channel ref=my-cfamf/
/channels
/destination
/coldfusion-flashremoting-service
channels
channel id=my-cfamf type=mx.messaging.channels.AMFChannel
endpoint uri=http://beta.homesmartagent.com/flex2gateway//
properties
polling-enabledfalse/polling-enabled
/properties
/channel
/channels
/services

Here is the full desination from my services-config.xml file.
destination id=RETS
channels
channel ref=my-cfamf/
/channels
properties
sourcecom.RetsSearch/source
!-- define the resolution rules and access level
of the cfc being invoked --
access
!-- Use the ColdFusion mappings to find CFCs,
by default only CFC files under your webroot can be found. --
use-mappingsfalse/use-mappings
!-- allow public and remote or just
remote methods to be invoked --
method-access-levelremote/method-access-level
/access

property-case
!-- cfc property names --
force-cfc-lowercasefalse/force-cfc-lowercase
!-- Query column names --

force-query-lowercasefalse/force-query-lowercase
!-- struct keys --

force-struct-lowercasefalse/force-struct-lowercase
/property-case
/properties
/destination






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Remote object help again..

2006-08-23 Thread Jeremy Rottman
I am working on a simple application that uses remote objects to pass
data to and from my db. But I keep running into the same problem.

In my services-config.xml file, I have setup the destination ROTEST. It
looks like this

destination id=ROTEST
 channels
 channel ref=my-cfamf/
 /channels
 properties
 sourcebeta.cfc.ROtest/source
 !-- define the resolution rules and access level of
the cfc being invoked --
 access
 !-- Use the ColdFusion mappings to find CFCs,
by default only CFC files under your webroot can be found. --
 use-mappingsfalse/use-mappings
 !-- allow public and remote or just remote
methods to be invoked --

method-access-levelremote/method-access-level
 /access

 property-case
 !-- cfc property names --
 force-cfc-lowercasefalse/force-cfc-lowercase
 !-- Query column names --

force-query-lowercasefalse/force-query-lowercase
 !-- struct keys --

force-struct-lowercasefalse/force-struct-lowercase
 /property-case
 /properties
 /destination


I wrote this simple flex application to test my connectivity.

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute


mx:Script
![CDATA[
import mx.controls.Alert;
import mx.rpc.Fault;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;

private function qryService_userSearch(lastName){
qryService.userSearch(lastName)
}

private function qryService_userSearch_Result(event:ResultEvent):void{
testDG.dataProvider = event.result;
}

private function qryService_userSearch_Fault(event:FaultEvent):void{

errorText.text = event.fault.message;
}
]]
/mx:Script


mx:RemoteObject
id=qryService
destination=ROTEST
result=qryService_userSearch_Result(event)
endpoint=http://beta.homesmartagent.com/flex2gateway/;
showBusyCursor=true
fault=qryService_userSearch_Fault(event)/
mx:Canvas x=0 y=0 width=100% height=100%
mx:Label x=10 y=10 text=Name:/
mx:TextInput id=lastName x=60 y=8/
mx:Button x=228 y=8
click=qryService_userSearch(lastName.text) label=Button/
mx:DataGrid x=10 y=38 id=testDG width=779 height=326
mx:columns
mx:DataGridColumn headerText=Column 1
dataField=fld_agentFullName/
mx:DataGridColumn headerText=Column 2 dataField=fld_agentId/
mx:DataGridColumn headerText=Column 3 dataField=fld_agentEmail/
/mx:columns
/mx:DataGrid
 mx:TextArea x=10 y=372 id=errorText width=523
height=221/
/mx:Canvas
/mx:Application

Everytime I test the application, I get this error.
faultCode:Server.Processing faultString:'No destination 'ROTEST' exists
in service flex.messaging.services.RemotingService' faultDetail:'null'

I know my destination exists in my services-config.xml file, but for
some reason it can not find it. I have set the channel correctly in my
services-config.xml file as well.
  channels
 channel-definition id=my-cfamf
class=mx.messaging.channels.AMFChannel
 endpoint uri=http://beta.homesmartagent.com/flex2gateway/;
class=flex.messaging.endpoints.AMFEndpoint/
 properties
 polling-enabledfalse/polling-enabled
 serialization
 instantiate-typesfalse/instantiate-types
 /serialization
 /properties
 /channel-definition
 /channels

Can someone shed some light on this for me.







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

* 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:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] remote object mapping frustration

2006-07-28 Thread Mike Nimer


I have a hunch the compiler hasn't linked in your AS classes, so when a VO is passed in with flash remoting the flash player doesn't have the as class files in memory so it can't convert the VO into the right classes. 

In your creationComplete function try this: 

{
 var foo1:user = new com.myco.project.user();
 var foo2:address = new com.myco.project.adress();
 var foo3:car = com.myco.project.car();
}

These are throw away vars but they will get the classes linked into the players memory. There are better ways to do this, however this is a quick way to see if this is the problem. 

If this isn't it. Double check the [RemoteClass(Alias="")) property and the alias="" attribute of your CFC, make sure they match "EXACTLY". 


hth,
---nimer

- Original Message From: Douglas Knudsen [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Thursday, July 27, 2006 10:12:18 AMSubject: [flexcoders] remote object mapping frustration

Ok, I got this CFC modeling a composite object. Lets say its com.myco.project. user. user has three members: userid a string, address a com.myco.project. adress, and say cars a array of com.myco.project. car . The CFCs work fine in that DAOs do their magik. On the Flex side I have com.myco.project. vo.user, com.myco.project. vo.address, and com.myco.project. car all mapping to the above. sounds good so far, eh? Now, the Flex code kicks a event off that does the remoteobject connection to the CF server requesting a user object. It gets built and according to the debug data I can see at the DOS prompt from CFServer, it is returned to Flex as the proper com.myco.project. car object containing the other objects properly. BUT in the FlexBuilder debugger the returned object is listed as result = mx.utils.ObjectProx y (@5824481) I've been bangin my head for hours on this. I have many
 other setups like this working fine, suddenly this one doesn't. My onresult() has a line like which throws a runtime error about type coercionfoo = event.result as user; any thoughts?-- Douglas Knudsenhttp://www.cubiclem an.com this is my signature, like it? 

__._,_.___





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] remote object mapping frustration

2006-07-28 Thread Douglas Knudsen



Mike, thanks. Yes, I had the stubby-throw-away instance vars like you mentioned, got bit by that in the past. So far the only thing I found that was at issue was the missing 'dynamic' keyword in my AS class defs.
DKOn 7/28/06, Mike Nimer [EMAIL PROTECTED] wrote:


I have a hunch the compiler hasn't linked in your AS classes, so when a VO is passed in with flash remoting the flash player doesn't have the as class files in memory so it can't convert the VO into the right classes. 


In your creationComplete function try this: 

{
 var foo1:user = new com.myco.project.user();
 var foo2:address = new com.myco.project.adress();
 var foo3:car = com.myco.project.car();
}

These are throw away vars but they will get the classes linked into the players memory. There are better ways to do this, however this is a quick way to see if this is the problem. 


If this isn't it. Double check the [RemoteClass(Alias=)) property and the alias= attribute of your CFC, make sure they match EXACTLY. 



hth,
---nimer

- Original Message 
From: Douglas Knudsen [EMAIL PROTECTED]To: 
flexcoders@yahoogroups.comSent: Thursday, July 27, 2006 10:12:18 AMSubject: [flexcoders] remote object mapping frustration

Ok, I got this CFC modeling a composite object. Lets say its com.myco.project. user. user has three members: userid a string, address a com.myco.project. adress, and say cars a array of 
com.myco.project. car . The CFCs work fine in that DAOs do their magik. On the Flex side I have com.myco.project. vo.user, com.myco.project. vo.address, and com.myco.project. car all mapping to the above. sounds good so far, eh? Now, the Flex code kicks a event off that does the remoteobject connection to the CF server requesting a user object. It gets built and according to the debug data I can see at the DOS prompt from CFServer, it is returned to Flex as the proper 
com.myco.project. car object containing the other objects properly. BUT in the FlexBuilder debugger the returned object is listed as result = mx.utils.ObjectProx y (@5824481) I've been bangin my head for hours on this. I have many
 other setups like this working fine, suddenly this one doesn't. My onresult() has a line like which throws a runtime error about type coercionfoo = event.result as user; any thoughts?-- Douglas Knudsen
http://www.cubiclem an.com this is my signature, like it? 




-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it?

__._,_.___





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] remote object mapping frustration

2006-07-27 Thread Douglas Knudsen



Ok, I got this CFC modeling a composite object. Lets say its com.myco.project.user. user has three members: userid a string, address a com.myco.project.adress, and say cars a array of com.myco.project.car
. The CFCs work fine in that DAOs do their magik. On the Flex side I have com.myco.project.vo.user, com.myco.project.vo.address, and com.myco.project.car all mapping to the above. sounds good so far, eh? Now, the Flex code kicks a event off that does the remoteobject connection to the CF server requesting a user object. It gets built and according to the debug data I can see at the DOS prompt from CFServer, it is returned to Flex as the proper 
com.myco.project.car object containing the other objects properly. BUT in the FlexBuilder debugger the returned object is listed as result = mx.utils.ObjectProxy (@5824481) I've been bangin my head for hours on this. I have many other setups like this working fine, suddenly this one doesn't.
My onresult() has a line like which throws a runtime error about type coercionfoo = event.result as user; any thoughts?-- Douglas Knudsenhttp://www.cubicleman.com
this is my signature, like it?

__._,_.___





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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: [Junk E-Mail - MED] [flexcoders] remote object mapping frustration

2006-07-27 Thread Shannon Hicks





I had similar problems at one point Turned out my 
RemoteClass alias was wrong.

I think I also had the same problem when the alias in the 
cfcomponent tag didn't match, too.

Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Douglas 
KnudsenSent: Thursday, July 27, 2006 9:12 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - MED] [flexcoders] 
remote object mapping frustration


Ok, I got this CFC modeling a composite object. Lets say 
its com.myco.project.user. user has three members: userid a 
string, address a com.myco.project.adress, and say cars a array of 
com.myco.project.car . The CFCs work fine in that DAOs do their 
magik. On the Flex side I have com.myco.project.vo.user, 
com.myco.project.vo.address, and com.myco.project.car all mapping to 
the above. sounds good so far, eh? Now, the Flex code kicks a event 
off that does the remoteobject connection to the CF server requesting a user 
object. It gets built and according to the debug data I can see at the DOS 
prompt from CFServer, it is returned to Flex as the proper 
com.myco.project.car object containing the other objects properly. 
BUT in the FlexBuilder debugger the returned object is listed as result = 
mx.utils.ObjectProxy (@5824481) I've been bangin my head for 
hours on this. I have many other setups like this working fine, suddenly 
this one doesn't. My onresult() has a line like which throws a runtime 
error about type coercionfoo = event.result as user; any 
thoughts?-- Douglas Knudsenhttp://www.cubicleman.com this is 
my signature, like it? 
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 
7/26/2006
__._,_.___





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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.



  






__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 7/26/2006
 


Re: [Junk E-Mail - MED] [flexcoders] remote object mapping frustration

2006-07-27 Thread Douglas Knudsen



thanks, yeah, I checked that like 500 times now, all looks fine and dandy. errr, so frustrating. All my other cfcs are mapping fine. DKOn 7/27/06, 
Shannon Hicks [EMAIL PROTECTED] wrote:









I had similar problems at one point Turned out my 
RemoteClass alias was wrong.

I think I also had the same problem when the alias in the 
cfcomponent tag didn't match, too.

Shan


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Douglas 
KnudsenSent: Thursday, July 27, 2006 9:12 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - MED] [flexcoders] 
remote object mapping frustration


Ok, I got this CFC modeling a composite object. Lets say 
its com.myco.project.user. user has three members: userid a 
string, address a com.myco.project.adress, and say cars a array of 
com.myco.project.car . The CFCs work fine in that DAOs do their 
magik. On the Flex side I have com.myco.project.vo.user, 
com.myco.project.vo.address, and com.myco.project.car all mapping to 
the above. sounds good so far, eh? Now, the Flex code kicks a event 
off that does the remoteobject connection to the CF server requesting a user 
object. It gets built and according to the debug data I can see at the DOS 
prompt from CFServer, it is returned to Flex as the proper 
com.myco.project.car object containing the other objects properly. 
BUT in the FlexBuilder debugger the returned object is listed as result = 
mx.utils.ObjectProxy (@5824481) I've been bangin my head for 
hours on this. I have many other setups like this working fine, suddenly 
this one doesn't. My onresult() has a line like which throws a runtime 
error about type coercionfoo = event.result as user; any 
thoughts?-- Douglas Knudsenhttp://www.cubicleman.com this is 
my signature, like it? 
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 
7/26/2006




--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 7/26/2006
 

-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it?

__._,_.___





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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: [Junk E-Mail - MED] [flexcoders] remote object mapping frustration

2006-07-27 Thread Dave Carabetta



On 7/27/06, Douglas Knudsen [EMAIL PROTECTED] wrote:



thanks, yeah, I checked that like 500 times now, all looks fine and dandy. errr, so frustrating. All my other cfcs are mapping fine. DKProbably a dumb question, but have you refreshed both the server template cache and the browser cache to make sure neither are stale? Perhaps even a restart of the CF server just for good measure?
Regards,Dave.

__._,_.___





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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: [Junk E-Mail - MED] [flexcoders] remote object mapping frustration

2006-07-27 Thread Douglas Knudsen



yup, tried all that. I've bounced the machine, the services, even tried bouncing like a monkey all to no avail. freaking pain to debug such a beast.DKOn 7/27/06, 
Dave Carabetta [EMAIL PROTECTED] wrote:



On 7/27/06, Douglas Knudsen [EMAIL PROTECTED] wrote:




thanks, yeah, I checked that like 500 times now, all looks fine and dandy. errr, so frustrating. All my other cfcs are mapping fine. DKProbably a dumb question, but have you refreshed both the server template cache and the browser cache to make sure neither are stale? Perhaps even a restart of the CF server just for good measure?
Regards,Dave.




-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it?

__._,_.___





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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: [Junk E-Mail - MED] [flexcoders] remote object mapping frustration

2006-07-27 Thread Douglas Knudsen



bloody hell! Don't ever trust a wizard, eh? Seems the CFC to AS wizard leavs out the dynamic keyword in the class definition, like why else would I want to create a AS obj from a CFC? Anyhoo, this appears to have addressed it for now.
DKOn 7/27/06, Douglas Knudsen [EMAIL PROTECTED] wrote:
yup, tried all that. I've bounced the machine, the services, even tried bouncing like a monkey all to no avail. freaking pain to debug such a beast.DK
On 7/27/06, 
Dave Carabetta [EMAIL PROTECTED] wrote:




On 7/27/06, Douglas Knudsen [EMAIL PROTECTED] wrote:





thanks, yeah, I checked that like 500 times now, all looks fine and dandy. errr, so frustrating. All my other cfcs are mapping fine. DKProbably a dumb question, but have you refreshed both the server template cache and the browser cache to make sure neither are stale? Perhaps even a restart of the CF server just for good measure?
Regards,Dave.




-- Douglas Knudsen
http://www.cubicleman.comthis is my signature, like it?

-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it?

__._,_.___





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] Remote object invocation failure

2006-06-26 Thread Mike_Robinson_98
I'm trying to call a method on a Java object and keep getting
Connection failed when I try the method call. I know it must be a
configuration issue but have been plugging away at this all morning
with out making any headway. Maybe some of you can see the problem
easily. I'm using Tomcat. Thanks in advance.

Here are the relevant details (I think):
// ** The error messages *
[SWF] /metalsmith/metalsmith-flex/metalsmith-debug.swf - 1,196,373
bytes after decompression
'B82DD8CB-1D89-50BA-17CE-11B6029AA47B' producer set destination to
'loginService'.
'B82DD8CB-1D89-50BA-17CE-11B6029AA47B' producer sending message
'E164544F-F6BF-7F4E-D9C7-11B613446EE4'
'my-amf' channel endpoint set to
http://localhost:8080/metalsmith/messagebroker/amf
'my-amf' channel settings are:
channel id=my-amf type=mx.messaging.channels.AMFChannel
  endpoint
uri=http://{server.name}:{server.port}/metalsmith/messagebroker/amf/
  properties
polling-enabledfalse/polling-enabled
  /properties
/channel
'my-amf' pinging endpoint.
'my-amf' channel got status. (Object)#0
  code = NetConnection.Call.Failed
  description = HTTP: Failed
  details = http://localhost:8080/metalsmith/messagebroker/amf;
  level = error
'my-amf' channel polling stopped.
'my-amf' channel connect failed.
'B82DD8CB-1D89-50BA-17CE-11B6029AA47B' producer channel faulted with
Channel.Connect.Failed NetConnection.Call.Failed: HTTP: Failed
'B82DD8CB-1D89-50BA-17CE-11B6029AA47B' producer fault for
'E164544F-F6BF-7F4E-D9C7-11B613446EE4'.

// *** The mxml file defining and calling the remote object
mx:Script
  ![CDATA[
import com.othenos.metalsmith.user.User;
import com.othenos.metalsmith.model.ModelLocator;
import mx.events.ValidationResultEvent;
import mx.rpc.events.ResultEvent;
import mx.rpc.events.FaultEvent;

private function clickHandler():void{
  if(userNameV.validate().type == ValidationResultEvent.VALID 
passwordV.validate().type == ValidationResultEvent.VALID){
loginObject.validateUser();
// loginObject.validateUser(userName.text, password.text);
//  var eventObj:Event=new Event(loginEvent);
//  dispatchEvent(eventObj);
  }
  else{
resultLabel.text=There are errors.;
  }
}
private function loginHandler(event:ResultEvent):void{
  ModelLocator.currentUser = event.result as User;
}
private function failureHandler(event:FaultEvent):void{
  resultLabel.text=event.fault.faultString;
}
  ]]
/mx:Script
mx:RemoteObject id=loginObject destination=loginService 
 showBusyCursor=true 
 result=loginHandler(event)
 fault=failureHandler(event) /

// *** The flex-remoting-service.xml 
?xml version=1.0 encoding=UTF-8?
service id=remoting-service
class=flex.messaging.services.RemotingService
messageTypes=flex.messaging.messages.RemotingMessage

adapters
adapter-definition id=java-object 
  class=flex.messaging.services.remoting.adapters.JavaAdapter 
  default=true/
/adapters

default-channels
channel ref=my-amf/
/default-channels

destination id=loginService
properties
   
sourcecom.othenos.metalsmith.assembler.UserAssembler/source
scopeapplication/scope   
/properties
/destination

/service

// flex-enterprise-services (partial)
services
 service-include file-path=flex-data-service.xml /
 service-include file-path=flex-remoting-service.xml /
/services

channels
channel-definition id=my-amf
class=mx.messaging.channels.AMFChannel
endpoint
uri=http://{server.name}:{server.port}/{context.root}/messagebroker/amf;
class=flex.messaging.endpoints.AMFEndpoint/
 properties
 polling-enabledfalse/polling-enabled
 /properties
 /channel-definition

//  finally, startup messages
[Flex] [INFO] Starting Adobe Flex Data Services 2.0 Express (beta
period ends Jul 31, 2006)
[Flex] [INFO] Adobe Flex Data Services Build: 138139
[Flex] [INFO] Endpoint my-amf created with security: None
at URI:
http://{server.name}:{server.port}/{context.root}/messagebroker/amf
[Flex] [INFO] Endpoint ms-rtmp created with security: None
at URI: rtmp://{server.name}:2035
[Flex] [INFO] RTMP-Server listening on port:2035
 






 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~- 

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

* 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 

RE: [flexcoders] Remote object invocation failure

2006-06-26 Thread Peter Farland










Have you tried browsing to the endpoint
URI to check its accessible? What URL are you using to load the SWF?
Perhaps youve changed the configuration but not restarted the server nor
forced a recompile of your SWF (i.e. doing a clean and forcing FB to
recompile)?











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike_Robinson_98
Sent: Monday, June 26, 2006 3:15
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remote
object invocation failure











I'm trying to call a method on a Java object and keep
getting
Connection failed when I try the method call. I know it must be a
configuration issue but have been plugging away at this all morning
with out making any headway. Maybe some of you can see the problem
easily. I'm using Tomcat. Thanks in advance.

Here are the relevant details (I think):
// ** The error messages *
[SWF] /metalsmith/metalsmith-flex/metalsmith-debug.swf -
1,196,373
bytes after decompression
'B82DD8CB-1D89-50BA-17CE-11B6029AA47B' producer set destination to
'loginService'.
'B82DD8CB-1D89-50BA-17CE-11B6029AA47B' producer sending message
'E164544F-F6BF-7F4E-D9C7-11B613446EE4'
'my-amf' channel endpoint set to
http://localhost:8080/metalsmith/messagebroker/amf
'my-amf' channel settings are:
channel id=my-amf type=mx.messaging.channels.AMFChannel
endpoint
uri=http://{server.name}:{server.port}/metalsmith/messagebroker/amf/
properties
polling-enabledfalse/polling-enabled
/properties
/channel
'my-amf' pinging endpoint.
'my-amf' channel got status. (Object)#0
code = NetConnection.Call.Failed
description = HTTP: Failed
details = http://localhost:8080/metalsmith/messagebroker/amf
level = error
'my-amf' channel polling stopped.
'my-amf' channel connect failed.
'B82DD8CB-1D89-50BA-17CE-11B6029AA47B' producer channel faulted with
Channel.Connect.Failed NetConnection.Call.Failed: HTTP: Failed
'B82DD8CB-1D89-50BA-17CE-11B6029AA47B' producer fault for
'E164544F-F6BF-7F4E-D9C7-11B613446EE4'.

// *** The mxml file defining and calling the remote object
mx:Script
![CDATA[
import com.othenos.metalsmith.user.User;
import com.othenos.metalsmith.model.ModelLocator;
import mx.events.ValidationResultEvent;
import mx.rpc.events.ResultEvent;
import mx.rpc.events.FaultEvent;

private function clickHandler():void{
if(userNameV.validate().type == ValidationResultEvent.VALID

passwordV.validate().type == ValidationResultEvent.VALID){
loginObject.validateUser();
// loginObject.validateUser(userName.text, password.text);
// var eventObj:Event=new Event(loginEvent);
// dispatchEvent(eventObj);
}
else{
resultLabel.text=There are errors.;
}
}
private function loginHandler(event:ResultEvent):void{
ModelLocator.currentUser = event.result as User;
}
private function failureHandler(event:FaultEvent):void{
resultLabel.text=event.fault.faultString;
}
]]
/mx:Script
mx:RemoteObject id=loginObject destination=loginService

showBusyCursor=true 
result=loginHandler(event)
fault=failureHandler(event) /

// *** The flex-remoting-service.xml 
?xml version=1.0 encoding=UTF-8?
service id=remoting-service
class=flex.messaging.services.RemotingService
messageTypes=flex.messaging.messages.RemotingMessage

adapters
adapter-definition id=java-object 
class=flex.messaging.services.remoting.adapters.JavaAdapter

default=true/
/adapters

default-channels
channel ref=my-amf/
/default-channels

destination id=loginService
properties

sourcecom.othenos.metalsmith.assembler.UserAssembler/source
scopeapplication/scope 
/properties
/destination

/service

// flex-enterprise-services (partial)
services
service-include file-path=flex-data-service.xml /
service-include file-path=flex-remoting-service.xml
/
/services

channels
channel-definition id=my-amf
class=mx.messaging.channels.AMFChannel
endpoint
uri=http://{server.name}:{server.port}/{context.root}/messagebroker/amf
class=flex.messaging.endpoints.AMFEndpoint/
properties
polling-enabledfalse/polling-enabled
/properties
/channel-definition

//  finally, startup messages
[Flex] [INFO] Starting Adobe Flex Data Services 2.0 Express (beta
period ends Jul 31, 2006)
[Flex] [INFO] Adobe Flex Data Services Build: 138139
[Flex] [INFO] Endpoint my-amf created with security: None
at URI:
http://{server.name}:{server.port}/{context.root}/messagebroker/amf
[Flex] [INFO] Endpoint ms-rtmp created with security: None
at URI: rtmp://{server.name}:2035
[Flex] [INFO] RTMP-Server listening on port:2035








__._,_.___





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

Web site design development
  
  
Computer software development
  
  
Software design and development

[flexcoders] Remote Object Call failed (FES 2.0)

2006-02-03 Thread João Fernandes










Hi there,



I already have CF+FES2 under the same context root
(and compiling correctly) but now when I try to call a RemoteObject I got this
error: send failed



If I try to use the FES2 AMF
endpoint I got a coldfusion/runtime/neoException error. 



I was using this config:

   
adapters

   adapter-definition
id=cf-object
class=coldfusion.flash.messaging.ColdFusionAdapter
default=true/

   
/adapters



   
default-channels

   
channel ref=my-cfamf/

   
/default-channels

  

  
destination id=ColdFusion

 
channels

   
channel ref=my-cfamf/

 
/channels

 
properties

         sourceteste/source


lowercase-keysfalse/lowercase-keys

 
/properties

 /destination



Beeing my-cfamf: 




channel-definition id=my-cfamf
class=mx.messaging.channels.AMFChannel

   
endpoint uri=http://{server.name}:8100/flex2gateway/
class=flex.messaging.endpoints.AMFEndpoint/

   
properties

   
polling-enabledfalse/polling-enabled

   
serialization

   
custom-deserializer type=typed-object
class=coldfusion.flash.messaging.io.amf.serializers.TypedObjectDeserializer
/

   
/serialization

   
/properties

   
/channel-definition





Any Ideas about how to solve this?



Thanks



João Fernandes

Secção de Desenvolvimento

Departamento de Informática











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



  











[flexcoders] Remote Object

2006-01-25 Thread Mehdi, Agha
Title: Remote Object







Hi all,

I have my remote object from a flex instance calling cfc on a separate instance of CF on the same box. It's not working. CF Admin does not show Flash Remoting log through the admin interface but cfusion-info.log and cfusion-out.log shows "FileNotFoundException" whereas the file exists. It runs if I browse to the CFC from IE. I have checked every possible config file that I could think of on both instances.

Can anyone let me know what's going on?

Thanks


Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Cell : 209.275.0482

Fax : 408.284.2766









--
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] Remote Object/Spring Beans

2006-01-15 Thread Richard Rodseth
Hi Jim

Have you looked at SpringBeanAdapter?

http://www.carbonfive.com/community/archives/2005/07/springbeanadapt.html

- Richard

On 1/11/06, Jim Schneider [EMAIL PROTECTED] wrote:



 If I were to go down the path of using remote object access and wanted to
 use Spring beans on the back end for service implementation, would I still
 need to have a thin layer/delegate to get to the Spring bean? (I'm assuming
 this will make sense to some of the J2EE guys out there).



 For example (ignoring obvious syntax and casting problems):



 // Flex calls delegate remote object, doSomething method

 // RemoteObject = Delegate.java

 // ServiceBean = POJO with Spring id = someSpringBean





 Public class delegate

 {

 Public void doSomething()

 {


 beanFactory.getBean(someSpringBean).doSomething();

 }

 }





 Just wondering whether there's a work-around (or code generator) so that I
 don't have to duplicate every method in my someSpringBean in the thin
 delegate layer.



 Thanks,



 Jim



 -

 Jim Schneider

 EyeCodeRight, LLC

 1-877-370-6906

 1-612-605-5399



  --
  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
  Web site design development Computer software development Software design
 and development
  Macromedia flex Software development best practice

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

* 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:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Remote Object/Spring Beans

2006-01-15 Thread Jim Schneider
Perfect. Thanks.

-
Jim Schneider
EyeCodeRight, LLC
1-877-370-6906
1-612-605-5399
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Richard Rodseth
Sent: Sunday, January 15, 2006 12:08 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Remote Object/Spring Beans

Hi Jim

Have you looked at SpringBeanAdapter?

http://www.carbonfive.com/community/archives/2005/07/springbeanadapt.html

- Richard

On 1/11/06, Jim Schneider [EMAIL PROTECTED] wrote:



 If I were to go down the path of using remote object access and wanted to
 use Spring beans on the back end for service implementation, would I still
 need to have a thin layer/delegate to get to the Spring bean? (I'm
assuming
 this will make sense to some of the J2EE guys out there).



 For example (ignoring obvious syntax and casting problems):



 // Flex calls delegate remote object, doSomething method

 // RemoteObject = Delegate.java

 // ServiceBean = POJO with Spring id = someSpringBean





 Public class delegate

 {

 Public void doSomething()

 {


 beanFactory.getBean(someSpringBean).doSomething();

 }

 }





 Just wondering whether there's a work-around (or code generator) so that I
 don't have to duplicate every method in my someSpringBean in the thin
 delegate layer.



 Thanks,



 Jim



 -

 Jim Schneider

 EyeCodeRight, LLC

 1-877-370-6906

 1-612-605-5399



  --
  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
  Web site design development Computer software development Software design
 and development
  Macromedia flex Software development best practice

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



 







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

* 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:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Remote Object/Spring Beans

2006-01-11 Thread Jim Schneider










If I were to go down the path of using remote object access
and wanted to use Spring beans on the back end for service implementation,
would I still need to have a thin layer/delegate to get to the Spring bean? (Im
assuming this will make sense to some of the J2EE guys out there).



For example (ignoring obvious syntax and casting problems):



// Flex calls delegate remote object,
doSomething method

// RemoteObject = Delegate.java

// ServiceBean = POJO with Spring id = someSpringBean





Public class delegate

{

 Public
void doSomething()

 {

 beanFactory.getBean(someSpringBean).doSomething();

 }

}





Just wondering whether theres a work-around (or code
generator) so that I dont have to duplicate every method in my someSpringBean
in the thin delegate layer.



Thanks,



Jim



-

Jim Schneider

EyeCodeRight, LLC

1-877-370-6906

1-612-605-5399











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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] Remote Object call - Server Response code

2005-11-15 Thread Matt Chotin










Were investigating this further and
will work with Sridhar offline



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Boddula, Sridhar
Sent: Thursday, November 10, 2005
7:41 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remote
Object call - Server Response code






We use AMF Remote Object calls to get data from
server.
Our server is protected by siteminder.
Due to multiple logins sever is sending response
code 302 for RO call.
But client side RO is not able interpret any
response codes other than
200.
RO call is just clocking.

Does any one know how to read server response
codes when we use AMF RO
calls?

Thanks,

Sridhar Boddula,
EIS - New Tech. Development
617-664-8566(Work)








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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] Remote Object call - Server Response code

2005-11-10 Thread Boddula, Sridhar

We use AMF Remote Object calls to get data from server.
Our server is protected by siteminder.
Due to multiple logins sever is sending response code 302 for RO call.
But client side RO is not able interpret any response codes other than
200.
RO call is just clocking.

Does any one know how to read server response codes when we use AMF RO
calls?

Thanks,

Sridhar Boddula,
EIS - New Tech. Development
617-664-8566(Work)


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

* 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:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] remote object without mx:RemoteObject, is it possible?

2005-11-09 Thread Clint Modien



Well... I'm sure it's possible... if you go into your flex-config.xml and turn on keep-generated-as.. you'll be able to see the code macromedia uses to setup the remote objects.
On 11/6/05, mpaliyenko [EMAIL PROTECTED] wrote:
Hi guysI'm quite new to Flex and have a qusetion.Is it possible to perform server call without declaring RemoteObject
in MXML. The reason why I need it is following:I'm trying to fix some things that I do not like in cairnrogmframework. One of them is that all remote objects must be declared insingle place.We have a tens of applications that share the same services and I do
not want to create the single Service.mxml for them also I do not liketo create tens of them and duplicate services declarations.Another thing I do not like is code duplicationsmx:RemoteObject id=memberManagerService
 source=memberManager result=event.call.resultHandler(event) fault=event.call.faultHandler
(event) /mx:RemoteObject mx:RemoteObject id=authenticationManagerService source=authenticationManager
 result=event.call.resultHandler(event) fault=event.call.faultHandler(event) /mx:RemoteObject
result and fault attributes are the same. I think this can be fixed ifi could initialize RemoteObject from ActionScript programmatically.I was trying to find the solution in docs but they sucks. They declare
mx.servicetags.RemoteObject as tag and since the source of that tag isnot availiable I do not know how to initialize it programmatically.Can anyone help?Thanx in advanceMykola
 Yahoo! Groups Sponsor ~--Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM~---Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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: http://docs.yahoo.com/info/terms/







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



  









[flexcoders] remote object without mx:RemoteObject, is it possible?

2005-11-08 Thread mpaliyenko
Hi guys
I'm quite new to Flex and have a qusetion.
Is it possible to perform server call without declaring RemoteObject
in MXML. The reason why I need it is following:
I'm trying to fix some things that I do not like in cairnrogm
framework. One of them is that all remote objects must be declared in
single place. 
We have a tens of applications that share the same services and I do
not want to create the single Service.mxml for them also I do not like
to create tens of them and duplicate services declarations.
Another thing I do not like is code duplications
 mx:RemoteObject 
id=memberManagerService 
source=memberManager
result=event.call.resultHandler(event)
fault=event.call.faultHandler(event) 
/mx:RemoteObject

mx:RemoteObject 
id=authenticationManagerService 
source=authenticationManager
result=event.call.resultHandler(event)
fault=event.call.faultHandler(event) 

/mx:RemoteObject

result and fault attributes are the same. I think this can be fixed if
i could initialize RemoteObject from ActionScript programmatically.

I was trying to find the solution in docs but they sucks. They declare
mx.servicetags.RemoteObject as tag and since the source of that tag is
not availiable I do not know how to initialize it programmatically.
Can anyone help?
Thanx in advance
Mykola










 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

* 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:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] remote object without mx:RemoteObject, is it possible?

2005-11-08 Thread Matt Chotin










Its not very easy to do right now
in 1.5 because of the amount of code-generation that goes into RemoteObject.
But 2.0 allows everything to be created in ActionScript which will make this
easier.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of mpaliyenko
Sent: Sunday, November 06, 2005
4:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] remote
object without mx:RemoteObject, is it possible?





Hi guys
I'm quite new to Flex and have a qusetion.
Is it possible to perform server call without
declaring RemoteObject
in MXML. The reason why I need it is following:
I'm trying to fix some things that I do not like
in cairnrogm
framework. One of them is that all remote objects
must be declared in
single place. 
We have a tens of applications that share the same
services and I do
not want to create the single Service.mxml for
them also I do not like
to create tens of them and duplicate services
declarations.
Another thing I do not like is code duplications
 mx:RemoteObject 
 
 
 id=memberManagerService 
 
 
 source=memberManager

 
 result=event.call.resultHandler(event)

 

fault=event.call.faultHandler(event)
 
 /mx:RemoteObject
 
 mx:RemoteObject


 
 
id=authenticationManagerService 

 
 
source=authenticationManager

 
 
result=event.call.resultHandler(event)

 
 
fault=event.call.faultHandler(event)
 

/mx:RemoteObject

result and fault attributes are the same. I think
this can be fixed if
i could initialize RemoteObject from ActionScript
programmatically.

I was trying to find the solution in docs but they
sucks. They declare
mx.servicetags.RemoteObject as tag and since the
source of that tag is
not availiable I do not know how to initialize it
programmatically.
Can anyone help?
Thanx in advance
Mykola
















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



  











RES: [flexcoders] Remote Object not found in Flex config

2005-10-26 Thread Michel Bertrand
Title: Mensagem





Hi ! 
Thanks !I have already restarted the server. It's still not 
working.

  
  -Mensagem original-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de 
  Roger GonzalezEnviada em: terça-feira, 25 de outubro de 2005 
  18:17Para: flexcoders@yahoogroups.comAssunto: RE: 
  [flexcoders] Remote Object not found in Flex config
  Did you just make these changes?
  
  Try shutting down and restarting your server. 
  There was an issue someone else had recently where this wasn't picked up 
  correctly without a restart.
  
  -RogerRoger 
  Gonzalez[EMAIL PROTECTED] 
  
  


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Michel 
BertrandSent: Tuesday, October 25, 2005 12:18 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Remote Object not 
found in Flex config

Hi ! 
I'm having the following error : 

Invalid value for 'named' - 
does not match any object name from the configuration file. 
I have 
already checked my config file and I'm sure to have the name of the 
remote-object there, however the error is still happening. At config 
file I have the settings below: 
 
remote-objects 
 .. 
 
whitelist   
  
 
!-- whitelist config for named objects --  
named   
 object 
name="DataBaseHandler"   
 
sourcecom.datasul.persistence.util.DataBaseHandlerDelegate/source 
  
 typestateless-class/type 
  
 /object  
/named  
/whitelist  
/remote-objects 
I have the class 
DataBaseHandlerDelegate at WEB-INF/lib (as a jar file) and at 
WEB-INF/classes/com/datasul/persistence/util/. 

At my MXML tag I have 
the following: 
 
mx:RemoteObject id="dataBaseHandlerSrv" named="DataBaseHandler"  
 
 
 
 
 
 protocol="http"  
 
 
 
 
 
 showBusyCursor="true"  
 
 
 
 
 
 result="event.call.resultHandler( event );"  
 
 
 
 
 
 fault="event.call.faultHandler( event );"  
/mx:RemoteObject 
What's 
wrong ? Where should I look for the error ? 
Thanks in 
advance, Michel Bertrand | Desenvolvimento | 
DATASUL TecnologiaAcesse www.datasuldirect.com.br e conheça 
mais sobre os produtos e soluções de tecnologia 





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



  









RES: [flexcoders] Remote Object not found in Flex config

2005-10-26 Thread Michel Bertrand
Title: Mensagem





I had 
to use an "unamed" remote object, like:

 mx:RemoteObject id="dataBaseHandlerSrv" 
protocol="http"showBusyCursor="true"result="event.call.resultHandler( 
event 
);"fault="event.call.faultHandler( 
event 
);"source="com.datasul.persistence.util.DataBaseHandlerDelegate"type="stateless-class" 
/mx:RemoteObject

The 
following is not working:

 mx:RemoteObject id="dataBaseHandlerSrv" 
named="DataBaseHandler"protocol="http"showBusyCursor="true"result="event.call.resultHandler( 
event 
);"fault="event.call.faultHandler( 
event );" /mx:RemoteObject

Of 
course, when havingall settings (remote-object whitelist)in the flex 
config file.

Regards,
Michel.


  
  -Mensagem original-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de 
  Mercer, DustinEnviada em: quarta-feira, 26 de outubro de 2005 
  02:14Para: flexcoders@yahoogroups.comAssunto: RE: 
  [flexcoders] Remote Object not found in Flex config
  
  And make sure you are 
  not running Flash Player 8.5. I had issues with Flash player 8.5 and 
  Named remote objects. It was giving me a different error, but there were 
  problems none the less. After uninstall of 8.5, my app worked 
  fine. Very strange
  
  
  
  
  
  From: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] 
  On Behalf Of Roger 
  GonzalezSent: Tuesday, 
  October 25, 2005 1:17 PMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Remote Object 
  not found in Flex config
  
  Did you just make these 
  changes?
  
  Try shutting down and 
  restarting your server. There was an issue someone else had recently 
  where this wasn't picked up correctly without a 
  restart.
  
  -RogerRoger 
  Gonzalez[EMAIL PROTECTED] 
  
  
  
  
  




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Michel 
BertrandSent: Tuesday, 
October 25, 2005 12:18 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Remote Object not 
found in Flex config
Hi 
! 
I'm having the following 
error : 
Invalid 
value for 'named' - does not match any object name from the configuration 
file. 
I have 
already checked my config file and I'm sure to have the name of the 
remote-object there, 
however the error is still happening. At config file I have the settings 
below: 
 
remote-objects 
 
.. 
 
whitelist  
 
  
 
!-- whitelist config for named objects --  
named   
 object 
name="DataBaseHandler"   
 
sourcecom.datasul.persistence.util.DataBaseHandlerDelegate/source 
  
 typestateless-class/type 
  
 /object  
/named  
/whitelist  
/remote-objects 

I have the 
class DataBaseHandlerDelegate 
at WEB-INF/lib (as a jar file) and at WEB-INF/classes/com/datasul/persistence/util/. 
At my MXML tag I have 
the following: 
 
mx:RemoteObject id="dataBaseHandlerSrv" 
named="DataBaseHandler"  
 
 
 
 
 
 protocol="http" 
 
 
 
 
 
 
 showBusyCursor="true" 
 
 
 
 
 
 
 result="event.call.resultHandler( 
event );"  
 
 
 
 
 
 fault="event.call.faultHandler( 
event );"  
/mx:RemoteObject 


What's 
wrong ? Where should I look for the error ? 

Thanks in 
advance, Michel 
Bertrand | Desenvolvimento | DATASUL TecnologiaAcesse www.datasuldirect.com.br e conheça 
mais sobre os produtos e soluções de tecnologia 






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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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.



  









RES: [flexcoders] Remote Object not found in Flex config

2005-10-26 Thread Michel Bertrand
Title: Mensagem





I'm 
using Flash Player 7,0,35,29 ...

  
  -Mensagem original-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de 
  Mercer, DustinEnviada em: quarta-feira, 26 de outubro de 2005 
  02:14Para: flexcoders@yahoogroups.comAssunto: RE: 
  [flexcoders] Remote Object not found in Flex config
  
  And make sure you are 
  not running Flash Player 8.5. I had issues with Flash player 8.5 and 
  Named remote objects. It was giving me a different error, but there were 
  problems none the less. After uninstall of 8.5, my app worked 
  fine. Very strange
  
  
  
  
  
  From: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] 
  On Behalf Of Roger 
  GonzalezSent: Tuesday, 
  October 25, 2005 1:17 PMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Remote Object 
  not found in Flex config
  
  Did you just make these 
  changes?
  
  Try shutting down and 
  restarting your server. There was an issue someone else had recently 
  where this wasn't picked up correctly without a 
  restart.
  
  -RogerRoger 
  Gonzalez[EMAIL PROTECTED] 
  
  
  
  
  




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Michel 
BertrandSent: Tuesday, 
October 25, 2005 12:18 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Remote Object not 
found in Flex config
Hi 
! 
I'm having the following 
error : 
Invalid 
value for 'named' - does not match any object name from the configuration 
file. 
I have 
already checked my config file and I'm sure to have the name of the 
remote-object there, 
however the error is still happening. At config file I have the settings 
below: 
 
remote-objects 
 
.. 
 
whitelist  
 
  
 
!-- whitelist config for named objects --  
named   
 object 
name="DataBaseHandler"   
 
sourcecom.datasul.persistence.util.DataBaseHandlerDelegate/source 
  
 typestateless-class/type 
  
 /object  
/named  
/whitelist  
/remote-objects 

I have the 
class DataBaseHandlerDelegate 
at WEB-INF/lib (as a jar file) and at WEB-INF/classes/com/datasul/persistence/util/. 
At my MXML tag I have 
the following: 
 
mx:RemoteObject id="dataBaseHandlerSrv" 
named="DataBaseHandler"  
 
 
 
 
 
 protocol="http" 
 
 
 
 
 
 
 showBusyCursor="true" 
 
 
 
 
 
 
 result="event.call.resultHandler( 
event );"  
 
 
 
 
 
 fault="event.call.faultHandler( 
event );"  
/mx:RemoteObject 


What's 
wrong ? Where should I look for the error ? 

Thanks in 
advance, Michel 
Bertrand | Desenvolvimento | DATASUL TecnologiaAcesse www.datasuldirect.com.br e conheça 
mais sobre os produtos e soluções de tecnologia 






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



  









[flexcoders] Remote Object not found in Flex config

2005-10-25 Thread Michel Bertrand
Title: Remote Object not found in Flex config








Hi !


I'm having the following error :


Invalid value for 'named' - does not match any object name from the configuration file.


I have already checked my config file and I'm sure to have the name of the remote-object

there, however the error is still happening. At config file I have the settings below:


 remote-objects


 ..


 whitelist



  


 !-- whitelist config for named objects --

 named

   object name=DataBaseHandler

   sourcecom.datasul.persistence.util.DataBaseHandlerDelegate/source

   typestateless-class/type

   /object

 /named

 /whitelist

 /remote-objects


I have the class DataBaseHandlerDelegate at WEB-INF/lib (as a jar file) and at 

WEB-INF/classes/com/datasul/persistence/util/. 


At my MXML tag I have the following:


 mx:RemoteObject id=dataBaseHandlerSrv named=DataBaseHandler

   protocol=http

   showBusyCursor=true

   result=event.call.resultHandler( event );

   fault=event.call.faultHandler( event );

 /mx:RemoteObject




What's wrong ? Where should I look for the error ?


Thanks in advance,

Michel Bertrand | Desenvolvimento | DATASUL Tecnologia
Acesse www.datasuldirect.com.br e conheça mais sobre os produtos e soluções de tecnologia 









--
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] Remote Object not found in Flex config

2005-10-25 Thread Roger Gonzalez
Title: Remote Object not found in Flex config





Did you just make these changes?

Try shutting down and restarting your server. There was an issue 
someone else had recently where this wasn't picked up correctly without a 
restart.

-RogerRoger 
Gonzalez[EMAIL PROTECTED] 


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Michel 
  BertrandSent: Tuesday, October 25, 2005 12:18 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Remote Object not 
  found in Flex config
  
  Hi ! 
  I'm having the following error : 

  Invalid value for 'named' - 
  does not match any object name from the configuration file. 
  I have 
  already checked my config file and I'm sure to have the name of the 
  remote-object there, however the error is still happening. At config 
  file I have the settings below: 
   
  remote-objects 
   .. 
   
  whitelist   
    
   
  !-- whitelist config for named objects --  
  named   
   object 
  name="DataBaseHandler"   
   
  sourcecom.datasul.persistence.util.DataBaseHandlerDelegate/source 

   typestateless-class/type 

   /object  
  /named  
  /whitelist  /remote-objects 
  I have the class 
  DataBaseHandlerDelegate at WEB-INF/lib (as a jar file) and at 
  WEB-INF/classes/com/datasul/persistence/util/. 
  At my MXML tag I have the 
  following: 
   
  mx:RemoteObject id="dataBaseHandlerSrv" named="DataBaseHandler"  
   
   
   
   
   
   protocol="http"  
   
   
   
   
   
   showBusyCursor="true"  
   
   
   
   
   
   result="event.call.resultHandler( event );"  
   
   
   
   
   
   fault="event.call.faultHandler( event );"  
  /mx:RemoteObject 
  What's wrong 
  ? Where should I look for the error ? 
  Thanks in 
  advance, Michel Bertrand | Desenvolvimento | 
  DATASUL TecnologiaAcesse www.datasuldirect.com.br e conheça 
  mais sobre os produtos e soluções de tecnologia 





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] Remote Object not found in Flex config

2005-10-25 Thread Mercer, Dustin
Title: Remote Object not found in Flex config










And make sure you are not running Flash
Player 8.5.  I had issues with Flash player 8.5 and Named remote objects.  It
was giving me a different error, but there were problems none the less.  After
uninstall of 8.5, my app worked fine.  Very strange











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Roger Gonzalez
Sent: Tuesday, October 25, 2005
1:17 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Remote
Object not found in Flex config





Did you just make these changes?



Try shutting down and restarting your server.
There was an issue someone else had recently where this wasn't picked up
correctly without a restart.



-Roger

Roger Gonzalez
[EMAIL PROTECTED] 






















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michel Bertrand
Sent: Tuesday, October 25, 2005
12:18 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remote
Object not found in Flex config

Hi ! 

I'm having the following error : 

Invalid value for 'named' - does not
match any object name from the configuration file. 

I have already
checked my config file and I'm sure to have the name of the remote-object

there, however the error is still
happening. At config file I have the settings below: 

 remote-objects 

 .. 


whitelist 
 

  


!-- whitelist config for named objects -- 

named 
 
 object
name=DataBaseHandler 
 

sourcecom.datasul.persistence.util.DataBaseHandlerDelegate/source

 
 typestateless-class/type 
 
 /object 

/named 

/whitelist 
 /remote-objects 

I have the class DataBaseHandlerDelegate at WEB-INF/lib (as a jar file) and at 
WEB-INF/classes/com/datasul/persistence/util/. 

At my MXML tag I have the following: 

 mx:RemoteObject
id=dataBaseHandlerSrv named=DataBaseHandler





 
 protocol=http





 
 showBusyCursor=true





 
 result=event.call.resultHandler(
event ); 





 
fault=event.call.faultHandler( event
); 
 /mx:RemoteObject 



What's wrong ?
Where should I look for the error ? 

Thanks in
advance, 
Michel Bertrand | Desenvolvimento
| DATASUL Tecnologia
Acesse www.datasuldirect.com.br e conheça mais sobre os produtos e
soluções de tecnologia 










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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] Remote Object with CFC not triggering result handler

2005-09-18 Thread Kelly










I have a Remote Object and when I call one of its methods it
returns information (I can see it in the debugger) but it does not trigger the result
handler.



If I pass it dummy information that causes an error then it
triggers the fault handler as expected.



Has anyone ever had this happen before?



Do you know why?



mx:method name=GetMessage
result=alert('There was a result'); displayMessage(event)
fault=alert(event.fault.faultstring, 'Error') /











Kelly Roman



[EMAIL PROTECTED]



Dekayd Media Inc. --

Rich Internet Application Development

w/ Macromedia Flex











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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] Remote Object Errors

2005-08-08 Thread Josh Noland
Christoph,
   No luck.  I am still getting the Error: 
org/apache/commons/collections/FastHashMap.  When I check the network 
monitor in Flex Builder it is making the request as expected but I am not 
seeing it catch the result object.  Do you have any other ideas?

Josh

From: Christoph Guse [EMAIL PROTECTED]
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Remote Object Errors
Date: Mon, 08 Aug 2005 11:41:31 +0200

Hi Josh,

you should use the automatic mapping between Java ValueObjects and
ActionScript ValueObjects.  For that your ActionScript VO should look
like this:

/***
AS class
***/
// ActionScript Document
class Person {
   var name:String;
   var birthdate:String;
   public static var registeredClass:Boolean =
Object.registerClass([full path in WEB-INF / java class name],Person);
}

Don't use a constructor in the AS VO, the constructor is called AFTER
FLEX filled the attributes from the Java VO.

Your MXML file could look like this:

/***
MXML File
***/
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;

   mx:RemoteObject id=peopleObject source=People
 mx:method name=getPerson
result=handleResults(event.result)/
   /mx:RemoteObject

   mx:Script
   ![CDATA[
 import Person;
 var my_person:Person;

 function handleResults(event){
 my_person = event.result;
 }
   ]]
   /mx:Script

   mx:Panel width=800 height=600
 mx:HBox
   mx:Form
   mx:FormItem label=Person name
  mx:Label text={my_person.name} /
   /mx:FormItem
   mx:FormItem label=birthday
  mx:Label text={my_person.birthdate} /
   /mx:FormItem
   /mx:Form
   mx:Button label=Get Person
click={peopleObject.getPerson()} /
 /mx:HBox
   /mx:Panel
/mx:Application

I coded everything in my mail app, so I'm not totally shure if the code
runs at once.

Greetings
Christoph

Josh Noland wrote:
  I am having trouble accessing any Java objects that return something
  other
  than the Java types flex will implicitly convert.  I am using the
  RemoteObject tag. The first time I try to access the result from the 
pojo
  function call I get Error:
  org/apache/commons/collections/FastHashMap in
  the JRun console.  Each successive call will throw Error: null.  I am
  using JRun4.
 
  The code is below.  I have stripped all of the functionality to try
  and get
  rid of the error and to try to get Flex to recognize my remote object
  returned.
 
  For now all I want to do is successfully call the function that
  returns my
  person and display one of the fields from the object.
 
  Has anybody else experienced this type of problem?
 
  Josh
 
 
 
 
  /
  Java Class I am trying to use in Flex
  /
  public class Person implements Serializable  {
 
private String name;
private String birthdate;
 
public Person (){
}
 
public Person (String name, String birthdate) {
  this.name = name;
  this.birthdate = birthdate;
}
 
public void setName(String name) {
  this.name = name;
}
 
public String getName() {
  return name;
}
 
public void setBirthdate(String birthdate) {
  this.birthdate = birthdate;
}
 
public String getBirthdate() {
  return birthdate;
}
  }
 
 
  /*
  Java Function Call that returns an Object to Flex and resides in People
  Object
  */
public Person getPerson(){
  return new Person(Josh, 8/8/2005);
}
 
  /***
  MXML File
  ***/
  mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
 
mx:RemoteObject id=peopleObject source=People
  mx:method name=getPerson
  result=handleResults(event.result)/
/mx:RemoteObject
 
mx:Script
![CDATA[
  function handleResults(eventResult){
var p1:Person = new
  Person(eventResult.getProperty('name'),
  eventResult.getProperty('birthdate'));
  }
]]
/mx:Script
 
mx:Panel width=800 height=600
  mx:HBox
mx:Button label=Get Person
  click={peopleObject.getPerson()} /
  /mx:HBox
/mx:Panel
  /mx:Application
 
  /***
  AS class
  ***/
  // ActionScript Document
  class Person implements DataProvider{
var name:String;
var birthdate:String;
 
function Horse(myName:String, myBirthdate:String){
  this.name = myName;
  this.birthdate = myBirthdate;
}
 
function getName(){
  return(name);
}
function getBirthdate(){
  return(birthdate);
}
  }
 
 
 
 
 
 
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: 
http

RE: [flexcoders] Remote Object Errors

2005-08-08 Thread John Zhao
Hi Josh,

First make sure you use JRun4 U5.  Also please post the complete stack from the 
JRun console.  I wonder where you get the Apache FashHashMap.  It shouldn't be 
there unless you have some extra Apache packages in your classpath. 

John


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Christoph Guse
Sent: Monday, August 08, 2005 10:58 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Remote Object Errors

Hi Josh,

sorry, no more concrete ideas. I use Tomcat instead of JRun.

Christoph

Josh Noland wrote:
Christoph,
   No luck.  I am still getting the Error: 
org/apache/commons/collections/FastHashMap.  When I check the network 
monitor in Flex Builder it is making the request as expected but I am not 
seeing it catch the result object.  Do you have any other ideas?

Josh

  
From: Christoph Guse [EMAIL PROTECTED]
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Remote Object Errors
Date: Mon, 08 Aug 2005 11:41:31 +0200

Hi Josh,

you should use the automatic mapping between Java ValueObjects and
ActionScript ValueObjects.  For that your ActionScript VO should look
like this:

/***
AS class
***/
// ActionScript Document
class Person {
  var name:String;
  var birthdate:String;
  public static var registeredClass:Boolean =
Object.registerClass([full path in WEB-INF / java class name],Person);
}

Don't use a constructor in the AS VO, the constructor is called AFTER
FLEX filled the attributes from the Java VO.

Your MXML file could look like this:

/***
MXML File
***/
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;

  mx:RemoteObject id=peopleObject source=People
mx:method name=getPerson
result=handleResults(event.result)/
  /mx:RemoteObject

  mx:Script
  ![CDATA[
import Person;
var my_person:Person;

function handleResults(event){
my_person = event.result;
}
  ]]
  /mx:Script

  mx:Panel width=800 height=600
mx:HBox
  mx:Form
  mx:FormItem label=Person name
 mx:Label text={my_person.name} /
  /mx:FormItem
  mx:FormItem label=birthday
 mx:Label text={my_person.birthdate} /
  /mx:FormItem
  /mx:Form
  mx:Button label=Get Person
click={peopleObject.getPerson()} /
/mx:HBox
  /mx:Panel
/mx:Application

I coded everything in my mail app, so I'm not totally shure if the code
runs at once.

Greetings
Christoph

Josh Noland wrote:

I am having trouble accessing any Java objects that return something
other
than the Java types flex will implicitly convert.  I am using the
RemoteObject tag. The first time I try to access the result from the 
  
pojo

function call I get Error:
org/apache/commons/collections/FastHashMap in
the JRun console.  Each successive call will throw Error: null.  I am
using JRun4.

The code is below.  I have stripped all of the functionality to try
and get
rid of the error and to try to get Flex to recognize my remote object
returned.

For now all I want to do is successfully call the function that
returns my
person and display one of the fields from the object.

Has anybody else experienced this type of problem?

Josh




/
Java Class I am trying to use in Flex
/
public class Person implements Serializable  {

  private String name;
  private String birthdate;

  public Person (){
  }

  public Person (String name, String birthdate) {
this.name = name;
this.birthdate = birthdate;
  }

  public void setName(String name) {
this.name = name;
  }

  public String getName() {
return name;
  }

  public void setBirthdate(String birthdate) {
this.birthdate = birthdate;
  }

  public String getBirthdate() {
return birthdate;
  }
}


/*
Java Function Call that returns an Object to Flex and resides in People
Object
*/
  public Person getPerson(){
return new Person(Josh, 8/8/2005);
  }

/***
MXML File
***/
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;

  mx:RemoteObject id=peopleObject source=People
mx:method name=getPerson
result=handleResults(event.result)/
  /mx:RemoteObject

  mx:Script
  ![CDATA[
function handleResults(eventResult){
  var p1:Person = new
Person(eventResult.getProperty('name'),
eventResult.getProperty('birthdate'));
}
  ]]
  /mx:Script

  mx:Panel width=800 height=600
mx:HBox
  mx:Button label=Get Person
click={peopleObject.getPerson()} /
/mx:HBox
  /mx:Panel
/mx:Application

/***
AS class
***/
// ActionScript Document
class Person implements DataProvider{
  var name:String;
  var birthdate:String;

  function Horse(myName:String

RE: [flexcoders] Remote Object Errors

2005-08-08 Thread Peter Farland
Are you missing an apache jar from your /WEB-INF/lib directory? Check with the 
jars that existed with the default flex web application installation and 
compare them to those present in your own web app. 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh 
Noland
Sent: Monday, August 08, 2005 9:18 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Remote Object Errors

Christoph,
   No luck.  I am still getting the Error: 
org/apache/commons/collections/FastHashMap.  When I check the network 
monitor in Flex Builder it is making the request as expected but I am not 
seeing it catch the result object.  Do you have any other ideas?

Josh

From: Christoph Guse [EMAIL PROTECTED]
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Remote Object Errors
Date: Mon, 08 Aug 2005 11:41:31 +0200

Hi Josh,

you should use the automatic mapping between Java ValueObjects and
ActionScript ValueObjects.  For that your ActionScript VO should look
like this:

/***
AS class
***/
// ActionScript Document
class Person {
   var name:String;
   var birthdate:String;
   public static var registeredClass:Boolean =
Object.registerClass([full path in WEB-INF / java class name],Person);
}

Don't use a constructor in the AS VO, the constructor is called AFTER
FLEX filled the attributes from the Java VO.

Your MXML file could look like this:

/***
MXML File
***/
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;

   mx:RemoteObject id=peopleObject source=People
 mx:method name=getPerson
result=handleResults(event.result)/
   /mx:RemoteObject

   mx:Script
   ![CDATA[
 import Person;
 var my_person:Person;

 function handleResults(event){
 my_person = event.result;
 }
   ]]
   /mx:Script

   mx:Panel width=800 height=600
 mx:HBox
   mx:Form
   mx:FormItem label=Person name
  mx:Label text={my_person.name} /
   /mx:FormItem
   mx:FormItem label=birthday
  mx:Label text={my_person.birthdate} /
   /mx:FormItem
   /mx:Form
   mx:Button label=Get Person
click={peopleObject.getPerson()} /
 /mx:HBox
   /mx:Panel
/mx:Application

I coded everything in my mail app, so I'm not totally shure if the code
runs at once.

Greetings
Christoph

Josh Noland wrote:
  I am having trouble accessing any Java objects that return something
  other
  than the Java types flex will implicitly convert.  I am using the
  RemoteObject tag. The first time I try to access the result from the 
pojo
  function call I get Error:
  org/apache/commons/collections/FastHashMap in
  the JRun console.  Each successive call will throw Error: null.  I am
  using JRun4.
 
  The code is below.  I have stripped all of the functionality to try
  and get
  rid of the error and to try to get Flex to recognize my remote object
  returned.
 
  For now all I want to do is successfully call the function that
  returns my
  person and display one of the fields from the object.
 
  Has anybody else experienced this type of problem?
 
  Josh
 
 
 
 
  /
  Java Class I am trying to use in Flex
  /
  public class Person implements Serializable  {
 
private String name;
private String birthdate;
 
public Person (){
}
 
public Person (String name, String birthdate) {
  this.name = name;
  this.birthdate = birthdate;
}
 
public void setName(String name) {
  this.name = name;
}
 
public String getName() {
  return name;
}
 
public void setBirthdate(String birthdate) {
  this.birthdate = birthdate;
}
 
public String getBirthdate() {
  return birthdate;
}
  }
 
 
  /*
  Java Function Call that returns an Object to Flex and resides in People
  Object
  */
public Person getPerson(){
  return new Person(Josh, 8/8/2005);
}
 
  /***
  MXML File
  ***/
  mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
 
mx:RemoteObject id=peopleObject source=People
  mx:method name=getPerson
  result=handleResults(event.result)/
/mx:RemoteObject
 
mx:Script
![CDATA[
  function handleResults(eventResult){
var p1:Person = new
  Person(eventResult.getProperty('name'),
  eventResult.getProperty('birthdate'));
  }
]]
/mx:Script
 
mx:Panel width=800 height=600
  mx:HBox
mx:Button label=Get Person
  click={peopleObject.getPerson()} /
  /mx:HBox
/mx:Panel
  /mx:Application
 
  /***
  AS class
  ***/
  // ActionScript Document
  class Person implements DataProvider{
var name:String;
var birthdate:String

[flexcoders] Remote Object Busy Cursor after Popup closed...

2005-06-14 Thread jamiebadman
Hi,

First... thanks for all the help that's been offered to me from you 
guys in reponse to my (mostly) stupid questions over the past couple 
of weeks - it's MUCH appreciated.

Ok... now for another possibly stupid question ;-)

I have the 'showBusyCursor' set to 'true' on all my RemoteObject 
definitions.

It seems to work ok except...

When I *close* a popup window, the busy cursor appears, despite 
there being no obvious call to any RemoteObject being made. It stays 
in this state.

Does anyone have any idea what might be causing this ? And if so, 
what should I do to avoid this ?

Or failing that, is there a way I can simply toggle the state of the 
BusyCursor ?

Thanks in advance!

Jamie.




 
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:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Remote Object Busy Cursor after Popup closed...

2005-06-14 Thread Matt Chotin










Is there any chance youre running
this in FlexBuilder with the Network Monitor on? If so, can you try it running
in the browser without FB? Weve had others ask about random calls to a
RemoteObject that we couldnt track down either, but I think that FB
might have played a role. Also, is the RemoteObject defined in your popup
window or is it in another component? If its in the popup window itself
try moving it to a different component so that its not being destroyed
when the popup closes.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jamiebadman
Sent: Tuesday, June 14, 2005 9:12
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remote
Object Busy Cursor after Popup closed...





Hi,

First... thanks for all the help that's been
offered to me from you 
guys in reponse to my (mostly) stupid questions
over the past couple 
of weeks - it's MUCH appreciated.

Ok... now for another possibly stupid question ;-)

I have the 'showBusyCursor' set to 'true' on all
my RemoteObject 
definitions.

It seems to work ok except...

When I *close* a popup window, the busy cursor
appears, despite 
there being no obvious call to any RemoteObject
being made. It stays 
in this state.

Does anyone have any idea what might be causing
this ? And if so, 
what should I do to avoid this ?

Or failing that, is there a way I can simply
toggle the state of the 
BusyCursor ?

Thanks in advance!

Jamie.














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] remote object authentication in websphere

2005-04-28 Thread Shahnavaz Alware










Hi,



I have been struggling with Authentication of the remote
object service on Websphere 6.0. This is the first time I am doing this
configuration so not sure what I am doing wrong. I will list what steps I did
so far.



-- Flex-config.xml



named

 object
name=responsibilityAssignmentDelegate


sourcecom.software.ResponsibilityAssignmentDelegate/source

 typestateless-class/type

 use-custom-authenticationtrue/use-custom-authentication

 allow-unnamed-accessfalse/allow-unnamed-access

 roles

 roleadmin/role

 /roles 

 /object

/named





-- Web.xml



 security-constraint

  display-nameTest1/display-name

  web-resource-collection

  web-resource-nameProtected
Page/web-resource-name

  descriptionTest
with J2EE/description

  url-pattern/amfgateway/responsibilityAssignmentDelegate/url-pattern

  http-methodGET/http-method

  http-methodPOST/http-method

  /web-resource-collection

  auth-constraint

  descriptionadmin/description

  role-nameAdmin/role-name

  /auth-constraint

 /security-constraint

 security-role

  descriptionadmin/description

  role-nameAdmin/role-name

 /security-role



In Websphere I am using custom user registry and Global
Authentication is enabled. I can login to Websphere Admin Console using my
user/pwd, but cant get authenticated if I try from flex login.



Thank you, 



Shahn











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] remote object authentication in websphere

2005-04-28 Thread Lin Lin










Hi,

You are missing the auth-method setting,
for example:

 login-config


auth-methodBASIC/auth-method

/login-config



In your
flex installation, under resources\security\examples there are samples for
using flex with authentication. Please look at the readme.txt for configuration
, and addingusers.txt for how to add users for different app server.





-lin











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Shahnavaz Alware
Sent: Thursday, April 28, 2005
5:56 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] remote
object authentication in websphere





Hi,



I have been struggling with Authentication of the remote
object service on Websphere 6.0. This is the first time I am doing this
configuration so not sure what I am doing wrong. I will list what steps I did
so far.



-- Flex-config.xml



named

 object
name=responsibilityAssignmentDelegate


sourcecom.software.ResponsibilityAssignmentDelegate/source

 typestateless-class/type


use-custom-authenticationtrue/use-custom-authentication

 allow-unnamed-accessfalse/allow-unnamed-access


roles


roleadmin/role

 /roles 

 /object

/named





-- Web.xml



 security-constraint



display-nameTest1/display-name


 web-resource-collection



web-resource-nameProtected Page/web-resource-name



descriptionTest with J2EE/description



url-pattern/amfgateway/responsibilityAssignmentDelegate/url-pattern



http-methodGET/http-method



http-methodPOST/http-method


 /web-resource-collection


 auth-constraint



descriptionadmin/description



role-nameAdmin/role-name


 /auth-constraint

 /security-constraint

 security-role



descriptionadmin/description



role-nameAdmin/role-name

 /security-role



In Websphere I am using custom user registry and Global
Authentication is enabled. I can login to Websphere Admin Console using my
user/pwd, but cant get authenticated if I try from flex login.



Thank you, 



Shahn












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] Remote object that returns an array of objects

2005-04-06 Thread Jeff Krueger

Peter,

I think we could assume that Simon Fifield from the news group is
having the same problem as well.  Would you be able to maybe do a simple POC
to prove if this is an issue I am only having or something that is
repeatable and maybe reportable as a bug.  As I mentioned I currently have a
work around with the extra class, but it would be nice to not have to do
that.

Thanks

Jeff


-Original Message-
From: Peter Farland [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 05, 2005 3:57 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Remote object that returns an array of objects



Perhaps there's something going wrong when casting to Array (or UserVO,
though that doesn't effect the second test)? However, I've not heard of
this issue before... has anyone else?


 

-Original Message-
From: Jeff Krueger [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 05, 2005 5:56 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Remote object that returns an array of objects


Hm, that worked!

Here is the log, not sure if it shows anything.  Any idea how I can get
that
to an object?

Jeff


Info: Completed 'net.crownmedia.flex.user.FlexUserDelegate.getAll' with
reply me
thod 'onResult' in 156ms
Info: Serializing response
  (Message #0 targetURI=/2/onResult, responseURI=null)
(Array #0)
  [0] = (Typed Object #1 'net.crownmedia.flex.user.vo.UserVO')
password = secret
timeZone = (Typed Object #2
'net.crownmedia.flex.common.vo.TimeZoneVO')
  timeZoneCode = MST
  timeZoneDescription = Mountain Standard Time
  dateUpdated = Thu Mar 31 07:43:20 MST 2005
  gmtOffset = -2.52E7
  _remoteClass = net.crownmedia.flex.common.vo.TimeZoneVO
  updatedByUserProfileId = null
  createdByUserProfileId = null
  dateCreated = Thu Mar 31 07:43:20 MST 2005
userName = cmi
dateUpdated = null
_remoteClass = net.crownmedia.flex.user.vo.UserVO
person = (Typed Object #3
'net.crownmedia.flex.user.vo.PersonVO')
  jobTitle = null
  occupation = null
  dateUpdated = Thu Mar 31 07:43:20 MST 2005
  _remoteClass = net.crownmedia.flex.user.vo.PersonVO
  updatedByUserProfileId = null
  createdByUserProfileId = null
  middleName = Media
  dateCreated = Thu Mar 31 07:43:20 MST 2005
  firstName = Crown
  nickName = CMI
  lastName = International
  titlePrefix = null
updatedByUserProfileId = null
securityKeys = (Array #4)
  [0] = (Typed Object #5
'net.crownmedia.flex.security.vo.SecurityKeyVO'
)
keyDescription = Insert folder
dateUpdated = Thu Mar 31 07:43:20 MST 2005
_remoteClass =
net.crownmedia.flex.security.vo.SecurityKeyVO
keyName = Folder.insert
updatedByUserProfileId = null
createdByUserProfileId = null
dateCreated = Thu Mar 31 07:43:20 MST 2005
  [1] = (Typed Object #6
'net.crownmedia.flex.security.vo.SecurityKeyVO'
)
keyDescription = View folder
dateUpdated = Thu Mar 31 07:43:20 MST 2005
_remoteClass =
net.crownmedia.flex.security.vo.SecurityKeyVO
keyName = Folder.view
updatedByUserProfileId = null
createdByUserProfileId = null
dateCreated = Thu Mar 31 07:43:20 MST 2005
  [2] = (Typed Object #7
'net.crownmedia.flex.security.vo.SecurityKeyVO'
)
keyDescription = Update folder
dateUpdated = Thu Mar 31 07:43:20 MST 2005
_remoteClass =
net.crownmedia.flex.security.vo.SecurityKeyVO
keyName = Folder.update
updatedByUserProfileId = null
createdByUserProfileId = null
dateCreated = Thu Mar 31 07:43:20 MST 2005
  [3] = (Typed Object #8
'net.crownmedia.flex.security.vo.SecurityKeyVO'
)
keyDescription = Delete folder
dateUpdated = Thu Mar 31 07:43:20 MST 2005
_remoteClass =
net.crownmedia.flex.security.vo.SecurityKeyVO
keyName = Folder.delete
updatedByUserProfileId = null
createdByUserProfileId = null
dateCreated = Thu Mar 31 07:43:20 MST 2005
  [4] = (Typed Object #9
'net.crownmedia.flex.security.vo.SecurityKeyVO'
)
keyDescription = View user
dateUpdated = Thu Mar 31 07:43:20 MST 2005
_remoteClass =
net.crownmedia.flex.security.vo.SecurityKeyVO
keyName = User.view
updatedByUserProfileId = null
createdByUserProfileId = null
dateCreated = Thu Mar 31 07:43:20 MST 2005
createdByUserProfileId = null
status = APPROVED
dateCreated = null
application = (Typed Object #10
'net.crownmedia.flex.common.vo.Applicati
onVO')
  applicationName = CMI
  dateUpdated = Thu Mar 31 07:43:20 MST 2005

RE: [flexcoders] Remote object that returns an array of objects

2005-04-06 Thread Tracy Spratt

I've only partly understood this thread, but I do know you can't really
cast to an Array using the ordinary syntax: Array(object).  You can
use untyped objects to do it like this:

function castToArray(o):Array{
Return o;
}

Tracy

-Original Message-
From: Peter Farland [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 05, 2005 5:57 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Remote object that returns an array of objects



Perhaps there's something going wrong when casting to Array (or UserVO,
though that doesn't effect the second test)? However, I've not heard of
this issue before... has anyone else?


 

-Original Message-
From: Jeff Krueger [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 05, 2005 5:56 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Remote object that returns an array of objects


Hm, that worked!

Here is the log, not sure if it shows anything.  Any idea how I can get
that
to an object?

Jeff


Info: Completed 'net.crownmedia.flex.user.FlexUserDelegate.getAll' with
reply me
thod 'onResult' in 156ms
Info: Serializing response
  (Message #0 targetURI=/2/onResult, responseURI=null)
(Array #0)
  [0] = (Typed Object #1 'net.crownmedia.flex.user.vo.UserVO')
password = secret
timeZone = (Typed Object #2
'net.crownmedia.flex.common.vo.TimeZoneVO')
  timeZoneCode = MST
  timeZoneDescription = Mountain Standard Time
  dateUpdated = Thu Mar 31 07:43:20 MST 2005
  gmtOffset = -2.52E7
  _remoteClass = net.crownmedia.flex.common.vo.TimeZoneVO
  updatedByUserProfileId = null
  createdByUserProfileId = null
  dateCreated = Thu Mar 31 07:43:20 MST 2005
userName = cmi
dateUpdated = null
_remoteClass = net.crownmedia.flex.user.vo.UserVO
person = (Typed Object #3
'net.crownmedia.flex.user.vo.PersonVO')
  jobTitle = null
  occupation = null
  dateUpdated = Thu Mar 31 07:43:20 MST 2005
  _remoteClass = net.crownmedia.flex.user.vo.PersonVO
  updatedByUserProfileId = null
  createdByUserProfileId = null
  middleName = Media
  dateCreated = Thu Mar 31 07:43:20 MST 2005
  firstName = Crown
  nickName = CMI
  lastName = International
  titlePrefix = null
updatedByUserProfileId = null
securityKeys = (Array #4)
  [0] = (Typed Object #5
'net.crownmedia.flex.security.vo.SecurityKeyVO'
)
keyDescription = Insert folder
dateUpdated = Thu Mar 31 07:43:20 MST 2005
_remoteClass =
net.crownmedia.flex.security.vo.SecurityKeyVO
keyName = Folder.insert
updatedByUserProfileId = null
createdByUserProfileId = null
dateCreated = Thu Mar 31 07:43:20 MST 2005
  [1] = (Typed Object #6
'net.crownmedia.flex.security.vo.SecurityKeyVO'
)
keyDescription = View folder
dateUpdated = Thu Mar 31 07:43:20 MST 2005
_remoteClass =
net.crownmedia.flex.security.vo.SecurityKeyVO
keyName = Folder.view
updatedByUserProfileId = null
createdByUserProfileId = null
dateCreated = Thu Mar 31 07:43:20 MST 2005
  [2] = (Typed Object #7
'net.crownmedia.flex.security.vo.SecurityKeyVO'
)
keyDescription = Update folder
dateUpdated = Thu Mar 31 07:43:20 MST 2005
_remoteClass =
net.crownmedia.flex.security.vo.SecurityKeyVO
keyName = Folder.update
updatedByUserProfileId = null
createdByUserProfileId = null
dateCreated = Thu Mar 31 07:43:20 MST 2005
  [3] = (Typed Object #8
'net.crownmedia.flex.security.vo.SecurityKeyVO'
)
keyDescription = Delete folder
dateUpdated = Thu Mar 31 07:43:20 MST 2005
_remoteClass =
net.crownmedia.flex.security.vo.SecurityKeyVO
keyName = Folder.delete
updatedByUserProfileId = null
createdByUserProfileId = null
dateCreated = Thu Mar 31 07:43:20 MST 2005
  [4] = (Typed Object #9
'net.crownmedia.flex.security.vo.SecurityKeyVO'
)
keyDescription = View user
dateUpdated = Thu Mar 31 07:43:20 MST 2005
_remoteClass =
net.crownmedia.flex.security.vo.SecurityKeyVO
keyName = User.view
updatedByUserProfileId = null
createdByUserProfileId = null
dateCreated = Thu Mar 31 07:43:20 MST 2005
createdByUserProfileId = null
status = APPROVED
dateCreated = null
application = (Typed Object #10
'net.crownmedia.flex.common.vo.Applicati
onVO')
  applicationName = CMI
  dateUpdated = Thu Mar 31 07:43:20 MST 2005
  _remoteClass = net.crownmedia.flex.common.vo.ApplicationVO
  updatedByUserProfileId = null
  createdByUserProfileId = null

[flexcoders] Remote object that returns an array of objects

2005-04-05 Thread Jeff Krueger










All,



 I have a method on my app server called
getAllUser() that returns UserVO[]. When I get that back in flex as an Array
the items inside the array are of type object, instead of the actionScript
UserVO that is associated with that java type being returned. My work around
for this is to create a UserArrayVO class on both sides (App Server and Flex)
and in that class is just one variable that is of type UserVO[] on the server
and Array on flex and then I get back the correct classes in flex. So my
question is, is this the way to do something like this? Obviously flex knows
how to handle the objects when it is within another class, just not when it is
an array of them coming back.



Thanks



Jeff 













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] Remote object that returns an array of objects

2005-04-05 Thread Peter Farland





Are you using Object.registerClass() to register the 
UserVO type to map the fully qualified ActionScript class name to that returned 
by Java (rather than the old Flex 1.0 _remoteClass which I strongly discourage 
in Flex 1.5)?

If so, then the next step is verify that the server 
sent back Typed AMF Objects in the RemoteObject response rather than generic AMF 
Objects.

To do so, you want to rely on server side logging for 
this as it is more reliable and client AMF debugging tools (notably it avoids 
the issue in the old Flash Remoting NetConnection Debugger where by registered 
objects are printed as "undefined" in the trace output - possibly related to a 
bug in AS2 that registered type instances answer true to a test for "== 
null"...the work around to this bug in your own code isto use the 
strictequality test of "=== null" or "!== null")

If you're working on a local Flex server and launched 
your app server on the command line - enable console logging in 
/WEB-INF/flex/flex-config.xml and then modify the AMF Gateway logging settings 
by turning on "Debug" level logging in the /WEB-INF/flex/gateway-config.xml 
file.

You should see in AMF trace whether Typed objects were sent 
(and the classname that was specified for the type).



From: Jeff Krueger 
[mailto:[EMAIL PROTECTED] Sent: Tuesday, April 05, 2005 11:47 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
Remote object that returns an array of objects


All,

 
I have a method on my app server called getAllUser() that returns UserVO[]. 
When I get that back in flex as an Array the items inside the array are of 
type object, instead of the actionScript UserVO that is associated with that 
java type being returned. My work around for this is to create a 
UserArrayVO class on both sides (App Server and Flex) and in that class is just 
one variable that is of type UserVO[] on the server and Array on flex and then I 
get back the correct classes in flex. So my question is, is this the way 
to do something like this? Obviously flex knows how to handle the objects 
when it is within another class, just not when it is an array of them coming 
back.

Thanks

Jeff 








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] Remote object that returns an array of objects

2005-04-05 Thread Simon Fifield





Hi 
Jeff,

You 
don't mention if you are using the Cairngorm frameworkor not, but I do and 
I also use ValueObjects. I took the ViewHelper/ViewLocator pattern and created a 
ValueObject (or Model) Pattern so that finding ValueObjects from anywhere in 
your app is as easy as the ViewHelper pattern.

If I 
understand your question correctly its the same thing that I do - wrapping a 
single array of VOs within a VO. Not be a master of programming patterns and 
methodologies, I too would be interested in knowing if this is a good solution 
for our situations.

Regards,
Simon 
Fifield


  -Original Message-From: Jeff Krueger 
  [mailto:[EMAIL PROTECTED]Sent: 05 April 2005 
  16:47To: flexcoders@yahoogroups.comSubject: [flexcoders] 
  Remote object that returns an array of objects
  
  All,
  
   
  I have a method on my app server called getAllUser() that returns UserVO[]. 
  When I get that back in flex as an Array the items inside the array are 
  of type object, instead of the actionScript UserVO that is associated with 
  that java type being returned. My work around for this is to create a 
  UserArrayVO class on both sides (App Server and Flex) and in that class is 
  just one variable that is of type UserVO[] on the server and Array on flex and 
  then I get back the correct classes in flex. So my question is, is this 
  the way to do something like this? Obviously flex knows how to handle 
  the objects when it is within another class, just not when it is an array of 
  them coming back.
  
  Thanks
  
  Jeff 
  







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] Remote object that returns an array of objects

2005-04-05 Thread Jeff Krueger










Simon,



 Hi
I am using the Cairngorm framework. My problem is not in finding a value
object in the code as much as getting an array of object back form the server. But
thanks for the information.



Jeff













From: Simon Fifield
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 05, 2005
10:00 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Remote
object that returns an array of objects







Hi Jeff,











You don't mention if you are using the
Cairngorm frameworkor not, but I do and I also use ValueObjects. I took
the ViewHelper/ViewLocator pattern and created a ValueObject (or Model) Pattern
so that finding ValueObjects from anywhere in your app is as easy as the
ViewHelper pattern.











If I understand your question correctly
its the same thing that I do - wrapping a single array of VOs within a VO. Not
be a master of programming patterns and methodologies, I too would be interested
in knowing if this is a good solution for our situations.











Regards,





Simon Fifield











-Original Message-
From: Jeff Krueger
[mailto:[EMAIL PROTECTED]
Sent: 05 April 2005 16:47
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remote
object that returns an array of objects

All,




I have a method on my app server called getAllUser() that returns UserVO[].
When I get that back in flex as an Array the items inside the array are
of type object, instead of the actionScript UserVO that is associated with that
java type being returned. My work around for this is to create a
UserArrayVO class on both sides (App Server and Flex) and in that class is just
one variable that is of type UserVO[] on the server and Array on flex and then
I get back the correct classes in flex. So my question is, is this the
way to do something like this? Obviously flex knows how to handle the
objects when it is within another class, just not when it is an array of them
coming back.



Thanks



Jeff 












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] Remote object that returns an array of objects

2005-04-05 Thread Simon Fifield





Hi 
Jeff,

I do 
exactly what you are doing in Test 2, I duplicated this pattern from the Login 
example of the Cairngorm framework files. If you find a better way, let me know 
because it does add unnecessary extra work to wrap an extra value object around 
your array when that's all you want back from the server.

Regards,
Simon 
Fifield

  -Original Message-From: Jeff Krueger 
  [mailto:[EMAIL PROTECTED]Sent: 05 April 2005 
  21:56To: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] Remote object that returns an array of 
  objectsI use the UserVO within script in the 
  application, not in the exact script,but in other places. I 
  was doing an alert with the typeof function. I don't have a function 
  butI do have lots of public vars which come back undefined. So I 
  assume theywere not of the proper type.I think I have a test case 
  that should prove the class is available but I amnot sure. I am 
  using the cairngorm framework. So in my command class inthe onResult 
  class I can test these two sets of code. Obviously I switchout the 
  java code to return the correct types to match the test.Test 1 (Fails, 
  but I do get the correct length array of 1 item)var tempArray:Array = 
  Array (event.result);for (var i = 0; itempArray.length; 
  i++){ var tempUser:UserVO = 
  UserVO(tempArray[i]); 
  mx.core.Application.alert ("Test with userVo " + 
  tempUser.userName);}Test 2 (Succeeds)var temp:UserArrayVO = 
  UserArrayVO (event.result);var tempUser:UserVO = 
  UserVO(temp.userArray[0]);mx.core.Application.alert ("Test2 with userVo " 
  + tempUser.userName);Does that test make any sense or prove or 
  disprove anything?ThanksJeff-Original 
  Message-From: Peter Farland [mailto:[EMAIL PROTECTED] Sent: 
  Tuesday, April 05, 2005 2:15 PMTo: flexcoders@yahoogroups.comSubject: 
  RE: [flexcoders] Remote object that returns an array of 
  objects[snip]Info: Serializing response (Message 
  #0 targetURI=/2/onResult, responseURI=null) (Array 
  #0) [0] = (Typed Object #1 
  'net.crownmedia.flex.user.vo.UserVO')[/snip]The AMF trace says 
  objects are being sent back as Typed AMF Objects inboth cases... so now 
  you have to determine whether the type is linked inat compile time (this 
  will depend on more than just an import statement- you actually have to 
  use the type somewhere in the script) so that itis available at 
  runtime.When you said "the items inside the array are of type object" 
  how areyou determining that they are just a plain old ActionScript object? 
  Notethat typeof() in AS2 does not tell you the class name of an instance, 
  italways says object for anything that is derived from object. Do 
  you have a function on your ActionScript UserVO class that you cancall to 
  check whether it was correctly instantiated as 
  UserVO?Yahoo! Groups 
  Links







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] Remote object that returns an array of objects

2005-04-05 Thread Jeff Krueger

I don't really do anything in my constructor.  I use to set the
_remoteClass.  

class net.crownmedia.flex.vo.user.UserVO
{
public static var SUCCESFULSTATUS:String = APPROVED;
public function UserVO()
{
//  _remoteClass = net.crownmedia.flex.user.vo.UserVO;
}

public var _remoteClass : String;

public var userProfileId:String;
public var personId:String;
public var userName:String;
public var password:String;
public var status:String;
public var person:PersonVO;
public var timeZone:TimeZoneVO;
public var application:ApplicationVO;
public var securityKeys:Array;

private static var doRegister:Boolean = Object.registerClass(
net.crownmedia.flex.user.vo.UserVO, UserVO );

}



-Original Message-
From: Peter Farland [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 05, 2005 3:04 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Remote object that returns an array of objects


Can you show me the constructor of your ActionScript UserVO class?

Note that ActionScript object instantiation from deserialized AMF is
different from, say, normal Java object instantiation.

i.e. The ActionScript pseudo code might look something like this (note,
I'm not an AS coder and this isn't real ActionScript... just a
reflection of my understanding of what goes on):
 
  var myInstance:MyType = MyType.prototype.clone();
  myInstance.someProperty = suppliedValue;
  myInstance.anotherProperty = anotherSuppliedValue;
  ...
  myInstance.constructor();
 
This allows you to mimic passing constructor arguments. If you set
defaults in your constructor then you should first check to see if a
property is undefined so that you don't override the deserialized value.

 

-Original Message-
From: Jeff Krueger [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 05, 2005 4:56 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Remote object that returns an array of objects


I use the UserVO within script in the application, not in the exact
script,
but in other places.  

I was doing an alert with the typeof function.  I don't have a function
but
I do have lots of public vars which come back undefined.  So I assume
they
were not of the proper type.

I think I have a test case that should prove the class is available but
I am
not sure.  I am using the cairngorm framework.  So in my command class
in
the onResult class I can test these two sets of code.  Obviously I
switch
out the java code to return the correct types to match the test.

Test 1 (Fails, but I do get the correct length array of 1 item)
var tempArray:Array = Array (event.result);
for (var i = 0; itempArray.length; i++)
{
var tempUser:UserVO = UserVO(tempArray[i]);
mx.core.Application.alert (Test with userVo  +
tempUser.userName);
}

Test 2 (Succeeds)
var temp:UserArrayVO = UserArrayVO (event.result);
var tempUser:UserVO = UserVO(temp.userArray[0]);
mx.core.Application.alert (Test2 with userVo  + tempUser.userName);

Does that test make any sense or prove or disprove anything?

Thanks

Jeff


-Original Message-
From: Peter Farland [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 05, 2005 2:15 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Remote object that returns an array of objects



[snip]
Info: Serializing response
  (Message #0 targetURI=/2/onResult, responseURI=null)
(Array #0)
  [0] = (Typed Object #1 'net.crownmedia.flex.user.vo.UserVO')
[/snip]

The AMF trace says objects are being sent back as Typed AMF Objects in
both cases... so now you have to determine whether the type is linked in
at compile time (this will depend on more than just an import statement
- you actually have to use the type somewhere in the script) so that it
is available at runtime.

When you said the items inside the array are of type object how are
you determining that they are just a plain old ActionScript object? Note
that typeof() in AS2 does not tell you the class name of an instance, it
always says object for anything that is derived from object. 

Do you have a function on your ActionScript UserVO class that you can
call to check whether it was correctly instantiated as UserVO?



 
Yahoo! Groups Links



 





 
Yahoo! Groups Links



 





 
Yahoo! Groups Links



 





 
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:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Remote object that returns an array of objects

2005-04-05 Thread Peter Farland

Just curious, what does:

mx.core.Application.alert (Test with userVo  +
event.result[0].userName);

do? 



 
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:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Remote object that returns an array of objects

2005-04-05 Thread Jeff Krueger

Hm, that worked!

Here is the log, not sure if it shows anything.  Any idea how I can get that
to an object?

Jeff


Info: Completed 'net.crownmedia.flex.user.FlexUserDelegate.getAll' with
reply me
thod 'onResult' in 156ms
Info: Serializing response
  (Message #0 targetURI=/2/onResult, responseURI=null)
(Array #0)
  [0] = (Typed Object #1 'net.crownmedia.flex.user.vo.UserVO')
password = secret
timeZone = (Typed Object #2
'net.crownmedia.flex.common.vo.TimeZoneVO')
  timeZoneCode = MST
  timeZoneDescription = Mountain Standard Time
  dateUpdated = Thu Mar 31 07:43:20 MST 2005
  gmtOffset = -2.52E7
  _remoteClass = net.crownmedia.flex.common.vo.TimeZoneVO
  updatedByUserProfileId = null
  createdByUserProfileId = null
  dateCreated = Thu Mar 31 07:43:20 MST 2005
userName = cmi
dateUpdated = null
_remoteClass = net.crownmedia.flex.user.vo.UserVO
person = (Typed Object #3 'net.crownmedia.flex.user.vo.PersonVO')
  jobTitle = null
  occupation = null
  dateUpdated = Thu Mar 31 07:43:20 MST 2005
  _remoteClass = net.crownmedia.flex.user.vo.PersonVO
  updatedByUserProfileId = null
  createdByUserProfileId = null
  middleName = Media
  dateCreated = Thu Mar 31 07:43:20 MST 2005
  firstName = Crown
  nickName = CMI
  lastName = International
  titlePrefix = null
updatedByUserProfileId = null
securityKeys = (Array #4)
  [0] = (Typed Object #5
'net.crownmedia.flex.security.vo.SecurityKeyVO'
)
keyDescription = Insert folder
dateUpdated = Thu Mar 31 07:43:20 MST 2005
_remoteClass = net.crownmedia.flex.security.vo.SecurityKeyVO
keyName = Folder.insert
updatedByUserProfileId = null
createdByUserProfileId = null
dateCreated = Thu Mar 31 07:43:20 MST 2005
  [1] = (Typed Object #6
'net.crownmedia.flex.security.vo.SecurityKeyVO'
)
keyDescription = View folder
dateUpdated = Thu Mar 31 07:43:20 MST 2005
_remoteClass = net.crownmedia.flex.security.vo.SecurityKeyVO
keyName = Folder.view
updatedByUserProfileId = null
createdByUserProfileId = null
dateCreated = Thu Mar 31 07:43:20 MST 2005
  [2] = (Typed Object #7
'net.crownmedia.flex.security.vo.SecurityKeyVO'
)
keyDescription = Update folder
dateUpdated = Thu Mar 31 07:43:20 MST 2005
_remoteClass = net.crownmedia.flex.security.vo.SecurityKeyVO
keyName = Folder.update
updatedByUserProfileId = null
createdByUserProfileId = null
dateCreated = Thu Mar 31 07:43:20 MST 2005
  [3] = (Typed Object #8
'net.crownmedia.flex.security.vo.SecurityKeyVO'
)
keyDescription = Delete folder
dateUpdated = Thu Mar 31 07:43:20 MST 2005
_remoteClass = net.crownmedia.flex.security.vo.SecurityKeyVO
keyName = Folder.delete
updatedByUserProfileId = null
createdByUserProfileId = null
dateCreated = Thu Mar 31 07:43:20 MST 2005
  [4] = (Typed Object #9
'net.crownmedia.flex.security.vo.SecurityKeyVO'
)
keyDescription = View user
dateUpdated = Thu Mar 31 07:43:20 MST 2005
_remoteClass = net.crownmedia.flex.security.vo.SecurityKeyVO
keyName = User.view
updatedByUserProfileId = null
createdByUserProfileId = null
dateCreated = Thu Mar 31 07:43:20 MST 2005
createdByUserProfileId = null
status = APPROVED
dateCreated = null
application = (Typed Object #10
'net.crownmedia.flex.common.vo.Applicati
onVO')
  applicationName = CMI
  dateUpdated = Thu Mar 31 07:43:20 MST 2005
  _remoteClass = net.crownmedia.flex.common.vo.ApplicationVO
  updatedByUserProfileId = null
  createdByUserProfileId = null
  dateCreated = Thu Mar 31 07:43:20 MST 2005


-Original Message-
From: Peter Farland [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 05, 2005 3:38 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Remote object that returns an array of objects


Just curious, what does:

mx.core.Application.alert (Test with userVo  +
event.result[0].userName);

do? 



 
Yahoo! Groups Links



 





 
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:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Remote object that returns an array of objects

2005-04-05 Thread Peter Farland


Perhaps there's something going wrong when casting to Array (or UserVO,
though that doesn't effect the second test)? However, I've not heard of
this issue before... has anyone else?


 

-Original Message-
From: Jeff Krueger [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 05, 2005 5:56 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Remote object that returns an array of objects


Hm, that worked!

Here is the log, not sure if it shows anything.  Any idea how I can get
that
to an object?

Jeff


Info: Completed 'net.crownmedia.flex.user.FlexUserDelegate.getAll' with
reply me
thod 'onResult' in 156ms
Info: Serializing response
  (Message #0 targetURI=/2/onResult, responseURI=null)
(Array #0)
  [0] = (Typed Object #1 'net.crownmedia.flex.user.vo.UserVO')
password = secret
timeZone = (Typed Object #2
'net.crownmedia.flex.common.vo.TimeZoneVO')
  timeZoneCode = MST
  timeZoneDescription = Mountain Standard Time
  dateUpdated = Thu Mar 31 07:43:20 MST 2005
  gmtOffset = -2.52E7
  _remoteClass = net.crownmedia.flex.common.vo.TimeZoneVO
  updatedByUserProfileId = null
  createdByUserProfileId = null
  dateCreated = Thu Mar 31 07:43:20 MST 2005
userName = cmi
dateUpdated = null
_remoteClass = net.crownmedia.flex.user.vo.UserVO
person = (Typed Object #3
'net.crownmedia.flex.user.vo.PersonVO')
  jobTitle = null
  occupation = null
  dateUpdated = Thu Mar 31 07:43:20 MST 2005
  _remoteClass = net.crownmedia.flex.user.vo.PersonVO
  updatedByUserProfileId = null
  createdByUserProfileId = null
  middleName = Media
  dateCreated = Thu Mar 31 07:43:20 MST 2005
  firstName = Crown
  nickName = CMI
  lastName = International
  titlePrefix = null
updatedByUserProfileId = null
securityKeys = (Array #4)
  [0] = (Typed Object #5
'net.crownmedia.flex.security.vo.SecurityKeyVO'
)
keyDescription = Insert folder
dateUpdated = Thu Mar 31 07:43:20 MST 2005
_remoteClass =
net.crownmedia.flex.security.vo.SecurityKeyVO
keyName = Folder.insert
updatedByUserProfileId = null
createdByUserProfileId = null
dateCreated = Thu Mar 31 07:43:20 MST 2005
  [1] = (Typed Object #6
'net.crownmedia.flex.security.vo.SecurityKeyVO'
)
keyDescription = View folder
dateUpdated = Thu Mar 31 07:43:20 MST 2005
_remoteClass =
net.crownmedia.flex.security.vo.SecurityKeyVO
keyName = Folder.view
updatedByUserProfileId = null
createdByUserProfileId = null
dateCreated = Thu Mar 31 07:43:20 MST 2005
  [2] = (Typed Object #7
'net.crownmedia.flex.security.vo.SecurityKeyVO'
)
keyDescription = Update folder
dateUpdated = Thu Mar 31 07:43:20 MST 2005
_remoteClass =
net.crownmedia.flex.security.vo.SecurityKeyVO
keyName = Folder.update
updatedByUserProfileId = null
createdByUserProfileId = null
dateCreated = Thu Mar 31 07:43:20 MST 2005
  [3] = (Typed Object #8
'net.crownmedia.flex.security.vo.SecurityKeyVO'
)
keyDescription = Delete folder
dateUpdated = Thu Mar 31 07:43:20 MST 2005
_remoteClass =
net.crownmedia.flex.security.vo.SecurityKeyVO
keyName = Folder.delete
updatedByUserProfileId = null
createdByUserProfileId = null
dateCreated = Thu Mar 31 07:43:20 MST 2005
  [4] = (Typed Object #9
'net.crownmedia.flex.security.vo.SecurityKeyVO'
)
keyDescription = View user
dateUpdated = Thu Mar 31 07:43:20 MST 2005
_remoteClass =
net.crownmedia.flex.security.vo.SecurityKeyVO
keyName = User.view
updatedByUserProfileId = null
createdByUserProfileId = null
dateCreated = Thu Mar 31 07:43:20 MST 2005
createdByUserProfileId = null
status = APPROVED
dateCreated = null
application = (Typed Object #10
'net.crownmedia.flex.common.vo.Applicati
onVO')
  applicationName = CMI
  dateUpdated = Thu Mar 31 07:43:20 MST 2005
  _remoteClass = net.crownmedia.flex.common.vo.ApplicationVO
  updatedByUserProfileId = null
  createdByUserProfileId = null
  dateCreated = Thu Mar 31 07:43:20 MST 2005


-Original Message-
From: Peter Farland [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 05, 2005 3:38 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Remote object that returns an array of objects


Just curious, what does:

mx.core.Application.alert (Test with userVo  +
event.result[0].userName);

do? 



 
Yahoo! Groups Links



 





 
Yahoo! Groups Links



 





 
Yahoo! Groups Links

RE: [flexcoders] Remote object mapping properties

2005-04-01 Thread Doodi, Hari - BLS CTR










Yes, they should match.





Thanks! 
Hari 



-Original Message-
From: Jeff Krueger
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 31, 2005
7:40 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remote
object mapping properties



Sorry if this is an obvious one, but
I can't find in any documentation that confirms what I am finding.
My question is does the variable in the actionScript class have to be the
same name as the variable in the java class that it is mapping to. From
what I am seeing it does. Can anyone confirm that?



Thanks



Jeff 














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] Remote object mapping properties

2005-03-31 Thread Jeff Krueger










Sorry if this is an obvious one, but I cant find in
any documentation that confirms what I am finding. My question is does the
variable in the actionScript class have to be the same name as the variable in
the java class that it is mapping to. From what I am seeing it does. Can
anyone confirm that?



Thanks



Jeff 













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] Remote object mapping properties

2005-03-31 Thread Abdul Qabiz

Hi,

 My question is does the variable in the actionScript class have to be the
same name as
 the variable in the java class that it is mapping to. 

YesIf you want to map an ActionScript class to a typed java class on
server, you need to have following things:
 
- Your ActionScript class should have same name as Java class has.
- Property name in ActionScript class should match with property/getter
names in Java class.
- You need to register your class using Object.registerClass(com.Product,
com.Product); Assuming com.Product is java class on server and also in AS..
- Your ActionScript class cannot use properties that are declared as
getter/setter properties using the get and set keywords; the properties must
be real variables. 



For more info, see this page:

http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/js/html/w
whelp.htm?href=2246.htm

And this page:
http://livedocs.macromedia.com/flex/15/flex_docs_en/0778.htm


Hope that helps... 
 
 
-abdul



From: Jeff Krueger [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 01, 2005 6:10 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remote object mapping properties



Sorry if this is an obvious one, but I can't find in any documentation that
confirms what I am finding.  My question is does the variable in the
actionScript class have to be the same name as the variable in the java
class that it is mapping to.  From what I am seeing it does.  Can anyone
confirm that?

 

Thanks

 

Jeff 

 




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]
mailto:[EMAIL PROTECTED] 
  
*   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
http://docs.yahoo.com/info/terms/ . 





 
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:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Remote object mapping properties

2005-03-31 Thread Jeff Krueger

Thanks for answering my question.  I read both of these links before.
Despite the fact they mention how data types are converted, how arrays are
handled in conversions, how to hide attributes, how to register a class, how
getters and setters effect items I can't find where it states what you did.
So thank you for confirming that.

Thanks

Jeff


-Original Message-
From: Abdul Qabiz [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 31, 2005 9:36 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Remote object mapping properties


Hi,

 My question is does the variable in the actionScript class have to be the
same name as
 the variable in the java class that it is mapping to. 

YesIf you want to map an ActionScript class to a typed java class on
server, you need to have following things:
 
- Your ActionScript class should have same name as Java class has.
- Property name in ActionScript class should match with property/getter
names in Java class.
- You need to register your class using Object.registerClass(com.Product,
com.Product); Assuming com.Product is java class on server and also in AS..
- Your ActionScript class cannot use properties that are declared as
getter/setter properties using the get and set keywords; the properties must
be real variables. 



For more info, see this page:

http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/js/html/w
whelp.htm?href=2246.htm

And this page:
http://livedocs.macromedia.com/flex/15/flex_docs_en/0778.htm


Hope that helps... 
 
 
-abdul



From: Jeff Krueger [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 01, 2005 6:10 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remote object mapping properties



Sorry if this is an obvious one, but I can't find in any documentation that
confirms what I am finding.  My question is does the variable in the
actionScript class have to be the same name as the variable in the java
class that it is mapping to.  From what I am seeing it does.  Can anyone
confirm that?

 

Thanks

 

Jeff 

 




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]
mailto:[EMAIL PROTECTED] 
  
*   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
http://docs.yahoo.com/info/terms/ . 





 
Yahoo! Groups Links



 





 
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:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Remote Object architectural question

2005-03-03 Thread Peter Farland
It does so by design (a much requested feature that was added in Flex 1.0),
but in order for you to skip the Java Bean like deserialization, you could
do the following:

1. Don't send type information using the _remoteClass property (I've never
been a fan of this method of object typing)
2. Don't register the AS class using Object.registerClass

Without these two bits of information, it should be treated like a normal
java.util.Map. With this map, you could do your own bean setter logic.



-Original Message-
From: wcucsd [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 03, 2005 3:25 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remote Object architectural question




Flexcoders,

I have 2 Java classes: bean and service. The service class has a 
save method that takes a bean so it knows what to save. I want to 
use the Flex RemoteObject data service to call the service's save 
method and pass it a bean. When I do that, Flex appears to be 
calling all of the setXXX(arg) methods on the bean, whether I want 
it to or not. Is this how the Remote Object data service was 
designed? If so, is there any way of breaking that and forcing 
(or allowing) Flex to only call certain setXXX(arg) methods on the 
bean?

Thanks,
-Will







Yahoo! Groups Links










RE: [flexcoders] Remote object problem

2005-02-23 Thread Allen Manning



Kleber,

Have you 
tried looking at the traffic in the Net Connection Debugger? There may be 
a request that is attempting to be made, but the end point can't be 
found.

HTH,
Allen











Allen 
Manning, Technical Director 

Prismix 
Ltd t: +44 (0)870 749 1100 f:+44 
(0)870 749 1200 w: www.prismix.com 













From: Kleber Henrique Voigt Pereira 
[mailto:[EMAIL PROTECTED] Sent: 23 February 2005 
16:15To: flexcoders@yahoogroups.comSubject: [flexcoders] 
Remote object problem
Hi there,I make an app that's take data by a coldfusion 
component. The data is showin the datagrid, but the busycursor never stop, 
and the page never concludethe load of page. Any idea where I'm 
wrong?My code:mx:RemoteObject id="temposCFC"endpoint="http://localhost/flashservices/gateway"source="weiler.intranet.components.controleTempos" 
showBusyCursor="true" mx:method name="getDesenho" 
result="oDesenho(event)" 
//mx:RemoteObjectmx:Script 
function oDesenho(){ 
temposCFC.getDesenho.send(); 
}/mx:Script!-- 
..--mx:DataGrid id="dg_desenhos" 
width="100%" height="100%"dataProvider="{temposCFC.getDesenho.result}" 
initialize="oDesenho()"  
mx:columns 
mx:Array 
mx:DataGridColumn columnName="desenho" 
headerText="Desenho"/ 
mx:DataGridColumn width="150" 
columnName="descricao"headerText="Descrição"/ 
mx:DataGridColumn width="70" 
columnName="usinagem"headerText="Usinagem"/ 
mx:DataGridColumn width="70" 
columnName="montagem"headerText="Montagem"/ 
mx:DataGridColumn width="40" 
columnName="total"headerText="Total"/ 
/mx:Array 
/mx:columns/mx:DataGrid


RE: [flexcoders] Remote Object Tag flashservices/gateway

2005-02-17 Thread Peter Farland
You could comment out the default in flex-config.xml and provide it via the
flashvars param in the HTML OBJECT PARAMs, but another way might be to reset
the connection to a new URL after the service is created (but before any
methods are invoked).


mx:RemoteObject id=myRO ... /

mx:Script

function changeURL(url:String)
{
myRO.connection.connect(url);
}

/mx:Script



-Original Message-
From: Battershall, Jeff [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 17, 2005 4:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remote Object Tag  flashservices/gateway



OK, is there ANY way to stipulate the endpoint of a Remote Object at
runtime? My attempts to set this value programmatically are failing.
I'd rather not have to HARDCODE this value within my Flex app, which means
that I must alter my source code for each deployment.

Maybe I'm missing something, but so far, no dice. 

Jeff Battershall
Application Development Consultant
Dow Jones Indexes
[EMAIL PROTECTED]
(609) 520-5637 (p)
(484) 477-9900 (c)



Yahoo! Groups Links










RE: [flexcoders] Remote Object Tag flashservices/gateway

2005-02-17 Thread Battershall, Jeff
Thank you, Peter, that works. Should have delved a little deeper.

One thing I'd like to know, are there any performance implications by
persisting a remote object instance for use around the application?
That's how I've got things architected, in the hopes that I would take
the object instantiation overhead out of the picture.

Jeff

-Original Message-
From: Peter Farland [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 17, 2005 4:44 PM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] Remote Object Tag  flashservices/gateway



You could comment out the default in flex-config.xml and provide it via
the flashvars param in the HTML OBJECT PARAMs, but another way might be
to reset the connection to a new URL after the service is created (but
before any methods are invoked).


mx:RemoteObject id=myRO ... /

mx:Script

function changeURL(url:String)
{
myRO.connection.connect(url);
}

/mx:Script



-Original Message-
From: Battershall, Jeff [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 17, 2005 4:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remote Object Tag  flashservices/gateway



OK, is there ANY way to stipulate the endpoint of a Remote Object at
runtime? My attempts to set this value programmatically are
failing. I'd rather not have to HARDCODE this value within my Flex app,
which means that I must alter my source code for each deployment.

Maybe I'm missing something, but so far, no dice. 

Jeff Battershall
Application Development Consultant
Dow Jones Indexes
[EMAIL PROTECTED]
(609) 520-5637 (p)
(484) 477-9900 (c)


 
Yahoo! Groups Links



 




 
Yahoo! Groups Links



 








RE: [flexcoders] Remote object method execution sequence?

2004-05-07 Thread Matt Chotin








You are correct that they would happen
after 12. If you can point out in the docs where you think that's
unclear it'd be appreciated.



Matt



-Original Message-
From: sbyrne_dorado
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 06, 2004 1:51
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remote
object method execution sequence?



I'm trying to understand when a remote method
invocation will occur
during the execution of an action script
method. What I've read so
far indicates that it's safe to annotate the
PendingCall object
returned from the invocation because the
invocation [I think it is:]
won't occur until the calling method has
returned. 

What I am not clear on is whether it's when the
immediately executing
method returns, or when the entire method
invocation stack returns to
the UI event listener loop. Here's an
example with numerical time
points for illustration:

1: button press happens
2: click handler 'clickHandler' is invoked
3: clickHandler calls 'doRemoteInvocation'
4: doRemoteInvocation calls 'invokeRemote1'
5: invokeRemote1 invokes the actual remote method,
decorates the 
 PendingCall returned object
6: invokeRemote1 returns
7: doRemoteInvocation then calls 'invokeRemote2'
8: invokeRemote2 invokes the actual remote method
(not the same method
 that invokeRemote1 invoked),
decorates PendingCall object
9: invokeRemote2 returns
10: doRemoteInvocation returns
11: clickHandler returns
12: button click pressing completes

What I am guessing happens (based on the statement
that there's pretty
much only 1 thread running in Flex) is that only
at time 12 or after
do the actual remote method invocations
occur. The documentation that
I have read sort of seems like the remote
invocations happen at 6 and
9. I'd like to be able to count on them not
happening until after 10
at least 

Any help would be greatly appreciated!!!