RE: [flexcoders] Re: setUsernamePassword on RemoteObject

2005-07-05 Thread Peter Farland
Credentials sent in custom manner are never sent using HTTP Headers. The information is contained within the AMF/HTTP POST body. The Flex-only API, setUsernamePassword, works on a per request basis and sends credential information inside a special Flex Envelope type which can have per-request

RE: [flexcoders] Newbie can't find selectedItem in comboBox when dataProvider is remoteObject

2005-07-01 Thread Peter Farland
Additional note for Daman's option 2.) After turning on remote-objects-debug in flex-config.xml, you'd either: a) Use the NetConnection Debugger.swf from the extras folder that ships with Flex to watch AMF traffic as you did in Flash MX. b) Turn on the gateway Debug level logging in

RE: [flexcoders] RE: Font question

2005-06-27 Thread Peter Farland
Flex compiles applications to a SWF file. SWF files are decoded and rendered by the Flash Player. The Flash Player can anti-alias fonts if the font glyph (i.e. the shape outline of each individual character) information is embedded in the SWF. You must embed each face of a font family in order to

RE: [flexcoders] All potential Properties and Methods of ASObject ??

2005-06-24 Thread Peter Farland
? If not, then I may as well keep using my native DataSets and/or DataTables. Can you all clarify this for me? Thanks in advance, Mike -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter Farland Sent: Friday, June 24, 2005 2:00 PM To: flexcoders

RE: [flexcoders] SSL Flex

2005-06-17 Thread Peter Farland
I believe you need to do the latter: https://localhost/server.php; The protocol attribute is used to decide which proxy URL to use (http or https). If you're not using the proxy you should get a compile time warning that the protocol attribute is only for when useProxy=true (the default).

RE: [flexcoders] Java intefaces as remote objects?

2005-06-16 Thread Peter Farland
RemoteObject would need an implementation of an interface in order to invoke it... how would you specify this? It seems that once you've specified the implementation you don't really care about the interface anymore... so you're back to a concrete object. From: flexcoders@yahoogroups.com

RE: [flexcoders] Flex serializer vs CF7 deserializer

2005-06-14 Thread Peter Farland
I'm not familiar with the requirements for CFC SOAP invocation, but this is an unofficial work around that I've not tested but might work. Before invoking the MXML WebService's method, try changing the WebService's XMLEncoder's handling of Objects: mx:WebService id=myCFCWebService ... mx:Script

RE: [flexcoders] Web browser crashing on remote method call

2005-06-13 Thread Peter Farland
It sounds like you might be in an infinite loop somewhere on the client... a common way to get into such a loop is when processing object graphs with circular references. From your MXML code listing below (i.e. it shows direct binding of the RO result as a data provider) I don't see that you're

RE: [flexcoders] Re: Web browser crashing on remote method call

2005-06-13 Thread Peter Farland
toString() { return type.toString(); } public static final Status UNASSIGNED = new Status(UNA); public static final Status ASSIGNED = new Status(ASG); public static final Status ACKNOWLEDGED = new Status(ACK); } --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote

RE: [flexcoders] Re: Web browser crashing on remote method call

2005-06-13 Thread Peter Farland
().getMyValue(); } --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Unfortunately we did not remove statics from the Java Bean serialization rules of RemoteObject in Flex 1.5. It's a known issue and will be fixed going forward. As a work around for now would

RE: [flexcoders] Re: Web browser crashing on remote method call

2005-06-13 Thread Peter Farland
- public SiblingPojo(){} --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Can you post the constructor code for the AS representation of the POJO classes? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kevin

RE: [flexcoders] Servlet Filters and AMF

2005-06-09 Thread Peter Farland
While AMF is just an HTTP post processed by a J2EE servlet - the problem will be that the underlying Flash NetConnection would not handle being redirected to a login page (say, and HTML page or what have you)... also, you should not write anything to the response output stream as this will corrupt

RE: [flexcoders] RemoteObject and the whitelist, etc.

2005-06-08 Thread Peter Farland
Are you aware of the Flash Player's sandbox security restrictions? Do you have crossdomain.xml files on each remoting server that you need to contact? Note that this is independent of whitelist security. Whitelists are a Flex/Remoting only consideration... they don't relate to the Flash Player's

RE: [flexcoders] CrossDomain.xml file question

2005-06-08 Thread Peter Farland
A crossdomain.xml file resides on each remote server that is expected to be contacted from a SWF hosted on another server. For example, you could place a crossdomain.xml file on http://www.abc.com/crossdomain.xml and in there allow 192.168.10.160 loaded SWFs (i.e. Flex apps) to contact it.

RE: [flexcoders] complex Remote Objects

2005-06-08 Thread Peter Farland
Yep - Matt'sdiagnosis is correct.Your OgoPhoneVO constructor might look something like this to make sure it doesn't override the initial states of the deserialized result objects: public function OgoPhoneVO() { if (info === undefined) { info = ""; number = ""; telephoneId =

RE: [flexcoders] Re: Cairngorm .99 + Flex-Config + Services.mxml

2005-06-02 Thread Peter Farland
Hi Dave, sorry I didn't get back to you earlier on this. I started replying about 2am last night but got sidetracked playing IT-support person for my family. Many thanks to Dirk for stepping in. The first configuration works with the wildcard as it is a short-hand allowed for CFMX to

RE: [flexcoders] VO problem

2005-06-01 Thread Peter Farland
methods. I promise I will use private static var reg:Boolean = Object.registerClass(ogo.vo.OgoAccountTestVO, ogo.vo.OgoAccountTestVO); so you are pleased with my results ;-) Greets Christoph Peter Farland wrote: Only public bean-like variables (either public member variables or properties that have

RE: [flexcoders] Re: Cairngorm .99 + Flex-Config + Services.mxml

2005-06-01 Thread Peter Farland
Hey Dave, Lots to discuss here. There are compile time considerations and runtime considerations. Firstly, from the AMF trace that you posted I see several things worth mentioning: 1. The MethodName is listed as usersService.loginUser which implies the service name was usersService and the

RE: [flexcoders] CF7, CFCs as Remote Objects, and AMF

2005-05-31 Thread Peter Farland
When you say that you inspect the object that gets returned, do you mean the object that is returned to the client back in ActionScript? If so, then I'm confused by your attempt to use Len() as this is a CF function, no? Can you be more specific where the inspection is taking place when you say,

RE: [flexcoders] Re: CF7, CFCs as Remote Objects, and AMF

2005-05-31 Thread Peter Farland
:) --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: When you say that you inspect the object that gets returned, do you mean the object that is returned to the client back in ActionScript? If so, then I'm confused by your attempt to use Len() as this is a CF function

RE: [flexcoders] VO problem

2005-05-31 Thread Peter Farland
Only public bean-like variables (either public member variables or properties that have the correctly named getX/setX accessors as per the bean naming convention) from your Java class can be serialized/deserialized. Only public member variables from your AS class can be serialized/deserialzied

RE: [flexcoders] CFlogin, SetCredentials and the RemoteObject

2005-05-27 Thread Peter Farland
What version of CF are you using Dave? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dave buhlerSent: Friday, May 27, 2005 10:36 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] CFlogin, SetCredentials and the RemoteObject Thanks! On 5/27/05, Indy

RE: [flexcoders] Converting Java POJO to Actionscript Errors

2005-05-27 Thread Peter Farland
(Hi suzy, firstly, I'm a little confused as to how Kevin Ewok's response turned into your message - are you saying you're having the same issue as Kevin? Let me first comment on Kevin's issue which will provide good background for yours...). On looking again at the warning Keven is getting from

RE: [flexcoders] Re: Converting Java POJO to Actionscript Errors

2005-05-27 Thread Peter Farland
I've tried assigning the returned remote object to a general AS object (see example below)...that does not workthat's what causing these errors. [Pete] The hack I meant was something like this (I've not tested this, just something I guessed might work): static var reg:Boolean =

RE: [flexcoders] Re: Converting Java POJO to Actionscript Errors

2005-05-27 Thread Peter Farland
single POJO in the datagridafter all, the datagrid was first populated with an array of the SAME POJOs w/o having to register any classes!! I think I'm getting a head-ache!! --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: (Hi suzy, firstly, I'm a little confused

RE: [flexcoders] CFlogin, SetCredentials and the RemoteObject

2005-05-27 Thread Peter Farland
difficulties. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dave buhlerSent: Friday, May 27, 2005 3:03 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] CFlogin, SetCredentials and the RemoteObject Hi Peter,MX 7 installed on JRun4Dave On 5/27/05, Peter Farland [EMAIL

RE: [flexcoders] deserialization bug: constructor runs AFTER properties are populated

2005-05-20 Thread Peter Farland
Actually, this is not a bug and is by design as per the Flash Player's handling of any object deserialization (LSO, AMF, etc). We discussed this on the list a few months ago... is it easy to search the archives for past messages (I admit I've not done it to date). Pete -Original

RE: [flexcoders] deserializing Maps with AMF (RemoteObject)

2005-05-20 Thread Peter Farland
Are you coercing the Array to a String (say, via simple concatenation) in a trace()? Perhaps associative Array keys aren't shown when toString in Flash... can you try a for in loop instead? Or as a quick test do trace(result[key1]). The conversion of Map - ECMA Array is a legacy behavior from

RE: [flexcoders] Web Services and CF7

2005-05-19 Thread Peter Farland
Some more detailed information on this - the issue is that the IIS connector doesn't handle the ;jsessionid token in URLs unless it appears after the query string.The J2EEservlet spec does not specify that this token has to appear after the ?symbol and thus manyother app servers handle it

RE: [flexcoders] Web Services and CF7

2005-05-19 Thread Peter Farland
Remoting is great but it has a core limitation of one request at a time due the way AMF was implemented in the player. [Pete] You can simply create a new connection for each RemoteObject by either re-connecting by calling connect on the connection property of the RO or by using a distinct

RE: [flexcoders] Explaining Flex Log In and User Role Functionality to Java Developers

2005-05-18 Thread Peter Farland
Note that the J2EE way to check if a user is authenticated is to ask the current HttpServletRequest object whether it has a current principal (and whether that user is in a role for programmatic authorization). You can get hold of the current request object in your RemoteObject services from the

RE: [flexcoders] SWFs and domains

2005-05-12 Thread Peter Farland
Where is the cross domain file specifically - (i.e. write out the full path using your naming examples of subA and subB below)? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios GianninasSent: Thursday, May 12, 2005 2:23 PMTo:

RE: [flexcoders] Trigger flex from Java listener

2005-05-11 Thread Peter Farland
Title: Trigger flex from Java listener Have you looked at Flash's XMLSocket class? http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary860.html From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeroen De VosSent:

RE: [flexcoders] HttpRequest and HttpSession access in Remote Obj ect

2005-05-06 Thread Peter Farland
-Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brett Palmer Sent: Friday, May 06, 2005 1:53 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] HttpRequest and HttpSession access in Remote Obj ect I think Pradeep's question is the

RE: [flexcoders] HttpRequest and HttpSession access in Remote Obj ect

2005-05-06 Thread Peter Farland
You simply get the HttpServletRequest object from flashgateway.Gateway.getHttpRequest() and then call getSession from there. If a session doesn't exist you need to pass true to getSession so that it will create one for you. This method only works if you are within the same thread that made the

RE: [flexcoders] web services suddenly stopped working!!

2005-05-06 Thread Peter Farland
Something you did yesterday somehow changed your web service. Rather than trying to guess what that waslets try to solve the issue. From the solution you can then construct what might have changed.From your flashlog trace output it seems that a {context.root} token has creeped in to the

RE: [flexcoders] Updating HTTP Service Whitelist at Runtime

2005-05-06 Thread Peter Farland
The flex configuration file is read once at start up time in Flex 1.5. It does not watch for changes. Some application servers allow you to auto re-deploy an application when a particular file has changed (JRun can do this by registering a file as a mandatory finger print for a web

RE: [flexcoders] Re: Newbie Question - referencing value in Remote Object

2005-05-06 Thread Peter Farland
, Peter Farland [EMAIL PROTECTED] wrote: Did you try: ro.getCerts.result[i]['field_name'] -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dval823 Sent: Friday, May 06, 2005 2:50 PM To: flexcoders@yahoogroups.com Subject: [flexcoders

RE: [flexcoders] web services suddenly stopped working!!

2005-05-05 Thread Peter Farland
Hmm, {context.root} should have been replaced at compile time by the context root. Are you using mxmlc to compile this on the command line or are you browsing to the .mxml file? If you are using the command line, are you specifying a context root? From: flexcoders@yahoogroups.com

RE: [flexcoders] Date in RemoteObjects as undefined

2005-05-04 Thread Peter Farland
What type is the date field (I mean the fully qualified Java class name)? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of joao_m_fernandes Sent: Wednesday, May 04, 2005 6:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Date in

RE: [flexcoders] crimson.jar flex runtime

2005-05-04 Thread Peter Farland
The Flex 1.5 AMF gateway reads its own configuration file using SAX during servlet initialization and DOM for deserializing/serializing ActionScript XML objects sent via AMF. Are you seeing issues with just the gateway deployed or are you just wondering whether it's theoretically possible

RE: [flexcoders] crimson.jar flex runtime

2005-05-04 Thread Peter Farland
In Flex 1.0 I think the AMF Gateway and the Flex MXML compiler were both behind a bootstrap classloader (you can tell from the servlet mapping in /WEB-INF/web.xml to see if the AMFGatewayServlet is actually loaded by a BootstrapServlet). In Flex 1.5 the AMF Gateway was removed from the

RE: [flexcoders] Split up flex-config.xml

2005-05-03 Thread Peter Farland
Hi Yokota, only one configuration file can be used by the AMFGatewayServlet. The whitelist.parent.node points the gateway's configuration parser to the right element to start constructing its whitelist. This was necessary as Flex 1.5's configuration file has a whitelist for web services, http

RE: [flexcoders] Info on debug

2005-04-29 Thread Peter Farland
On windows, mm.cfg goes in your user directory... by default this will be somewhere like: C:\Documents and Settings\yourloginname\mm.cfg The output file, flashlog.txt, contains messages from the debug version of the Flash Player including any trace() statements you add to your own ActionScript

RE: [flexcoders] Info on debug

2005-04-29 Thread Peter Farland
I think you're confusing two concepts here... If you just want trace output, don't bother right now with the Flex concept of SWD generation with ?debug=true - it's not necessary to get ActionScript trace statements to show up in the log. What is necessary is the debugger version of the Flash

RE: [flexcoders] Info on debug

2005-04-29 Thread Peter Farland
it the proble, if i use FireFox the flashlog.log don't work, then i use ieexplorer work. I don't know because, Ciao Devis ps. ok i don't use generation with ?debug=true . Peter Farland ha scritto: I think you're confusing two concepts here... If you just want trace output, don't bother right now

RE: [flexcoders] basic Authentication

2005-04-26 Thread Peter Farland
From an instance of HttpServletRequest... request.getUserPrincipal().getName(); You can get to the current request in a RemoteObject class by calling the static (thread-local) accessor: flashgateway.Gateway.getHttpRequest() -Original Message- From:

RE: [flexcoders] AMF POJO/hibernate/java.sql.Date Bug?

2005-04-26 Thread Peter Farland
Sorry but the RemoteObject AMF Gateway does not create java.sql.Date instances from ActionScript Dates in Flex 1.5. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, April 26, 2005 3:58 AM To: Flex Coders

RE: [flexcoders] AMF POJO/hibernate/java.sql.Date Bug?

2005-04-26 Thread Peter Farland
; pk.oravdi='00'; pk.shopdi='Z01'; vendita.pk=pk; vendita.stagdi=sc.staga; Can you help me? Devis Peter Farland ha scritto: Sorry but the RemoteObject AMF Gateway does not create java.sql.Date instances from ActionScript Dates in Flex 1.5

RE: [flexcoders] Disappearing struct from CFC using RemoteObject

2005-04-26 Thread Peter Farland
Flash Remoting MX has always had the following rules for data type translation: java.lang.reflect.Array - AMF Strict Array - ActionScript Array java.util.Collection - AMF Strict Array - ActionScript Array java.util.Map - AMF ECMA Array - ActionScript Array with Associative Keys

RE: [flexcoders] BUG ? RPC call with Array lost value !

2005-04-21 Thread Peter Farland
Perhaps your ActionScript class OrderVO constructor is doing something like this: class OrderVO { public function OrderVO(client:String, deposit:String ) { this.client = client; this.deposit = deposit; // ... initialize other

RE: [flexcoders] Font Alias / Anti-Alias Setting

2005-04-19 Thread Peter Farland
Is it that you have small text and are finding not as clear/accurate as you'd like with anti-aliased embedded fonts? If you're embedding from a true type font file (i.e. using a src location in the @font-face definition) you can try turning on the BatikFontManager in /WEB-INF/flex/flex-config.xml

RE: [flexcoders] Re: Error: Cannot invoke method when using a VO

2005-04-12 Thread Peter Farland
The NetConnection Debugger is an old FP6 movie that's provided as an extra to Flex as old Flash Remoting customers are used to it, but it was not built by or for Flex. I suggest you rely on the RemoteObject AMF Gateway's own trace/debug level logging as it will show you the AMF traffic

RE: [flexcoders] Re: Error: Cannot invoke method when using a VO

2005-04-12 Thread Peter Farland
Ideas? Christoph Peter Farland wrote: 1. Stop web application server (which one are you using?) 2. In /WEB-INF/flex/flex-config.xml, set: logging level to debug enable console logging 3. In /WEB-INF/flex/gateway-config.xml, set: logging level to debug 4. Start web application server

RE: [flexcoders] accessing registerClass() class bindings.

2005-04-12 Thread Peter Farland
Google turned up this blog entry: http://dynamicflash.com/2005/03/class-finder/ The main thing to remember when using a hack like this is to ensure that you have the classes linked in at compile time and thus present in the SWF. From: Alex Cruikshank [mailto:[EMAIL PROTECTED] Sent:

RE: [flexcoders] Re: No debugging information available for invocation of methods on server-side

2005-04-11 Thread Peter Farland
Note that the reason why the Throwable class info "NullPointerException" wasn't included in the status info"type" property is because of a default setting on the AMF Gateway. Internal class information is not included in the form of stack traces or exception types as they shouldn't be

RE: [flexcoders] Re: Weird behavior with Internet Explorer

2005-04-07 Thread Peter Farland
in diferent context roots and in this one I managed to put flex with cf... Everything works fine for any browser excepting IE. I'm getting Flex and Cfusion in different context root, too bad that I can't use it under the same. João Fernandes --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL

RE: [flexcoders] Re: Weird behavior with Internet Explorer

2005-04-07 Thread Peter Farland
to it? anyways, thank you very much for this. João Fernandes --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Hmm, I'm trying to think of other known issues with Flex and CF in the same app. This may be a long shot, but I'll tell you about it anyway... Can you try

RE: [flexcoders] Error: flashgateway.io.ASObject

2005-04-06 Thread Peter Farland
You can send an ActionScript Object instance via RemoteObject - the server side representation will be a flashgateway.io.ASObject instance which implements java.util.Map (and actually extends java.util.HashMap). -Original Message- From: Doodi, Hari - BLS CTR [mailto:[EMAIL PROTECTED]

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

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

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

2005-04-05 Thread Peter Farland
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

RE: [flexcoders] Run MXML on PC, Calling to Java on Remote Server - Help

2005-04-04 Thread Peter Farland
If you're using RemoteObject, you can set the endpoint property to a remote Flex / Flash Remoting server in the mx:RemoteObject tag. The default is generated from the url set in the /WEB-INF/flex/flex-config.xml file, which happens to be a relative URL by default (to your local machine). Also,

RE: [flexcoders] Re: Error: Cannot invoke method when using a VO

2005-03-30 Thread Peter Farland
; public var superGroup:Group; public var subGroups:Array; function Group() {} public function get data() { return id; } //... some getters and business methods } --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Have

RE: [flexcoders] Re: Error: Cannot invoke method when using a VO

2005-03-30 Thread Peter Farland
Without seeing the AMF trace on the server side, all I can do is suggest simplifying the case step by step and then work up to the problem at hand. Try a Group type that only has flash intrinsic types as properties... then go down another level... etc. Yahoo! Groups Links * To visit your

RE: [flexcoders] Re: Error: Cannot invoke method when using a VO

2005-03-30 Thread Peter Farland
object name=groupDelegate sourcebusinessdelegates.GroupDelegate/source typestateful-class/type allow-unnamed-accessfalse/allow-unnamed-access /object /named /whitelist -Josh --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL

RE: [flexcoders] Re: Error: Cannot invoke method when using a VO

2005-03-30 Thread Peter Farland
on the client side? Or if it doesn't will the classes still match up with Object.registerClass? --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Without seeing the AMF trace on the server side, all I can do is suggest simplifying the case step by step and then work up

RE: [flexcoders] Error: Cannot invoke method when using a VO

2005-03-28 Thread Peter Farland
Does the Java version of Group have a public no args constructor? -Original Message- From: cazzaran [mailto:[EMAIL PROTECTED] Sent: Monday, March 28, 2005 3:50 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Error: Cannot invoke method when using a VO I have a delegate class

RE: [flexcoders] Re: Error: Cannot invoke method when using a VO

2005-03-28 Thread Peter Farland
] Sent: Monday, March 28, 2005 4:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Error: Cannot invoke method when using a VO Peter, It does... -Josh --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Does the Java version of Group have a public no args

RE: [flexcoders] Re: Error: Cannot invoke method when using a VO

2005-03-28 Thread Peter Farland
sourcebusinessdelegates.GroupDelegate/source typestateful-class/type allow-unnamed-accessfalse/allow-unnamed-access /object /named /whitelist -Josh --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Ah, what does the unnamed whitelist in the remote-object

RE: [flexcoders] Re: Calling Java Servlet

2005-03-25 Thread Peter Farland
Hi Libby, You can invoke a servlet, but it's really a deprecated method of contacting the server from Flash Remoting. It's not a preferred method as the servicename.functioname() invocation isn't as straight forward as a plain old java object classname.methodname() idea. For a servlet

RE: [flexcoders] How to pass AS Objects to a CFC

2005-03-25 Thread Peter Farland
The history of this problem stems way back from Flash Remoting in ColdFusion 6.0. ActionScript 1.0 APIs for Flash Remoting introduced named arguments for CF-based invocation. The syntax for passing named arguments was usually listed like this in documentation:

RE: [flexcoders] RemoteObject : Convert Java Exception to ActionScript Fault

2005-03-23 Thread Peter Farland
The AMF Gateway uses a RuntimeException called flashgateway.GatewayException that has these properties. A thin façade could be built to map your exception type to the gateway exception type. -Original Message- From: Laurent Cornelis [mailto:[EMAIL PROTECTED] Sent: Wednesday, March

RE: [flexcoders] RemoteObject : Convert Java Exception to ActionScript Fault

2005-03-23 Thread Peter Farland
The documentation for Java based services is largely in the Using Data Services section: http://livedocs.macromedia.com/flex/15/flex_docs_en/0742.htm The Flash Remoting gateway did not include a way for users to customize this error information, so this is not exposed in Flex 1.5 as its AMF

RE: [flexcoders] Flex Remoting has UPPERCASE results

2005-03-22 Thread Peter Farland
This is an involved discussion with much to consider... Your request goes something like this when calling CFCs via RemoteObject: Flex - Flash - AMF - (AMF Gateway/Flash Remoting) - ColdFusion - Your CF Page In ActionScript 1.0, the Flash -- -- AMF interation is case insensitive merely because

RE: [flexcoders] internal representation of an array

2005-03-21 Thread Peter Farland
Are there any circular references between elements of your array elements? There is a known issue in Flex 1.5 for circular references between non-Typed (i.e. generic unregistered ActionScript class instances) Objects, Arrays. -Original Message- From: Krzysztof Szlapinski

RE: [flexcoders] Info

2005-03-17 Thread Peter Farland
Go back to: /WEB-INF/flex/gateway-config.xml and set the AMF Gateway logger level back to Error. logger level=Errorflex.services.logging.FlexGatewayLogger/logger Then restart Flex app. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 15,

RE: [flexcoders] flashgateway.Gateway.getHttpRequest().getSession(true);

2005-03-17 Thread Peter Farland
Hi Devis, I thought I answered this question for you on Monday? -Original Message- From: Peter Farland Sent: Monday, March 14, 2005 10:15 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Servlet Session I'd suggest you don't use the session servlet in Flex 1.5. Instead, I'd

RE: [flexcoders] Re: Installing Flex on IIS with JRun??

2005-03-14 Thread Peter Farland
You can do this without the admin console... Unzip the flex.war file (war files are just zip files with a different file name extension) using a suitable name for the top level directory under your server. For example: unzip flex.war to yourserver as: C:\JRun4\servers\yourserver\flex So that

RE: [flexcoders] Submit an editable grid

2005-03-14 Thread Peter Farland
Title: Message What does the API for the "save" method on the RemoteObject service look like? If it is based on something generic, like java.util.Map, then it might leave a type as flashgateway.io.ASObject (which extends java.util.HashMap). If it's ArrayList, then it might notspot that it

RE: [flexcoders] Re: unsupported type found in stream-Flex alert

2005-03-14 Thread Peter Farland
It's ok as long as you don't have code that does this: something.whatever = new String(foo); something.somethingelse = new Number(4); This is a limtation of the Flash Player and the underlying AMF NetConnection that it provides. Instead, the above must be written as follows: something.whatever

RE: [flexcoders] Submit an editable grid

2005-03-14 Thread Peter Farland
Title: Message Have you tried changing your Java API to: public void saveIndi(Individual[] individuals) instead?

RE: [flexcoders] Need an easy way to dump XML results to a file?

2005-03-11 Thread Peter Farland
Have you tried turning on AMF Gateway debug-level logging? The AMF Gateway processes RemoteObject requests on the Flex Server. In /WEB-INF/flex/gateway-config.xml there's a logger element with a level attribute. Set this attribute to Debug and restart the web app. If the logging class is set to

RE: [flexcoders] CFC's and Databinding in FLEX

2005-03-10 Thread Peter Farland
Title: Message What version of CF are you using? -Original Message-From: Matt Chotin [mailto:[EMAIL PROTECTED] Sent: Thursday, March 10, 2005 2:01 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] CFC's and Databinding in FLEX I'm not sure why caps would make a

RE: [flexcoders] problem with RemoteObject and Flash Remoting

2005-03-04 Thread Peter Farland
Title: Message When I trystart this application, I get Flash Remoting error message: "Service threw an exception during method invocation: null". [Pete] The fact that you received that error means that you did hita FR gateway servlet, but a null pointer exception happened. What version

RE: [flexcoders] problem with RemoteObject and Flash Remoting

2005-03-04 Thread Peter Farland
: The version of ColdFusion for J2EE is 6.0 Thanks - Original Message - From: Peter Farland To: 'flexcoders@yahoogroups.com' Sent: Friday, March 04, 2005 5:18 PM Subject: RE: [flexcoders] problem with RemoteObject and Flash Remoting When I trystart this application, I get Flash

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

RE: [flexcoders] Flex + Java Classes (as RemoteObjects) Config Qu estion

2005-03-02 Thread Peter Farland
Hi Ben, Spike is correct - CF 6.1 unfortunately made changes to Jrun's jvm.config level classpath. I've heard from the CF team a while ago that they no longer do this for CF7. If you've tried removing the jvm.config level additions to the classpath and CF 6.1 still runs, then I think you're fine.

RE: [flexcoders] AMFPHP and Flex

2005-03-02 Thread Peter Farland
I imagine certain things won't be supported in AMFPHP - such as calling the setUsernamePassword API or specifying the service type, as these modify the AMF request in a Flex-specific manner. -Original Message- From: daniele | mentegrafica [mailto:[EMAIL PROTECTED] Sent: Wednesday, March

RE: [flexcoders] Flex + Java Classes (as RemoteObjects) Config Qu estion

2005-03-02 Thread Peter Farland
have a feeling that I have seen a technote along those lines, but it was a long time ago and I can't find it now. Spike Peter Farland wrote: Hi Ben, Spike is correct - CF 6.1 unfortunately made changes to Jrun's jvm.config level classpath. I've heard from the CF team a while ago

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

RE: [flexcoders] OT: Relation between CFMX7 and Flex

2005-02-08 Thread Peter Farland
It seems obvious that the new charting and form features are based on Flex 1.5 I believe the CF charting features are completely independent of Flex.

RE: [flexcoders] Excecute sync 2 remote object methods....

2005-02-08 Thread Peter Farland
Can you simply call the second one after the response from the first one has returned? -Original Message- From: flexdaretolove [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 08, 2005 11:25 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Excecute sync 2 remote object

RE: [flexcoders] Samples Error: FormatSourceService

2005-02-03 Thread Peter Farland
This means Flex's proxy couldn't find a service called FormatSourceService in the flex-config.xml configuration. Can you check: a) that the /WEB-INF/flex/flex-config.xml file exists b) that this file contains the necessary sample configurations (i.e. includes an entry for FormatSourceService) -

RE: [flexcoders] Re: Samples Error: FormatSourceService

2005-02-03 Thread Peter Farland
Typically each Flex web application has its own configuration file... though I do see a case where many mirrored web applications could have the same configuration. For some reason I thought there was a context param to specify the location of the Flex configuration file (which would make it

RE: [flexcoders] Re: Samples Error: FormatSourceService

2005-02-03 Thread Peter Farland
A colleague of mine just pointed out that you may be confusing a J2EE web application with the concept of a coldfusion application. If you only have one ColdFusion standalone installation, then you only have one J2EE web application. This means you only have one place to specify a Flex

<    1   2   3   4   5   6