[flexcoders] WSDLifficulty - bad SOAP encoding

2007-03-03 Thread Sean McKibben
I ran in to a problem today with Flex's SOAP encoding which I think is a bug in the SOAP encoder. It seems like whatever I did to call one of my webservice methods, Flex would give me an error as it was encoding my request. The error was something like the following: TypeError: Error #1009:

Re: [flexcoders] Cairngorm .99 VO Question

2005-09-15 Thread Sean McKibben
I am not sure what the best practice is, but I often bind UI items directly to objects in my model - sometimes a particular instance might be bound to multiple controls both inbound and outbound. Because of this, sending the objects in my model directly to a remote service could suffer from the "

Re: [flexcoders] OH, For the love of all that's good, please help!

2005-08-23 Thread Sean McKibben
I ran into this as well. Looking at the SOAP encoded message, it appeared to me that flex wasn't making clean SOAP (pun definitely intended).When we switched over to using the CFC's RemoteObject instead of the WebService, things started working again. Wasn't too hard of a switch, and I'll take th

[flexcoders] Reverse-binding repeater items

2005-08-03 Thread Sean McKibben
So, I attempted the following: It works if I don't use the mx:Binding expression, if I do use it, the first item doesn't work so good, but successive items seem to work. I'm

Re: [flexcoders] Re: guid/uuid generation

2005-07-13 Thread Sean McKibben
t it creates exactly what you are after. Also it is all written in Actionscript 2.0 cheers, Andrew Spaulding www.flexdaddy.info--- In flexcoders@yahoogroups.com, Sean McKibben <[EMAIL PROTECTED]> wrote: > Is anyone aware of a guid generation system for flex/flash? I'm  > buildin

[flexcoders] guid/uuid generation

2005-07-13 Thread Sean McKibben
Is anyone aware of a guid generation system for flex/flash? I'm building a system which does quite a bit on the client before a trip to the server, and it needs to make some references amongst objects that the server can understand, so a real guid generator would be the best way to do that.I know

Re: [flexcoders] Reorder tree via dragging

2005-07-07 Thread Sean McKibben
PROTECTED]> wrote: > I think dataForFormat("items") or dataForFormat("source"), not sure > which is valid for Tree, might give you the original items as > opposed to the copies. > > > Matt > > > From: flexcoders@yahoogroups.com > [mailto:

[flexcoders] Reorder tree via dragging

2005-07-06 Thread Sean McKibben
So I'm trying to make a tree which can reorder its nodes by dragging them. One of the things I wanted to do is prevent a parent item from being dragged on to any of its children, and to show that during the dragOver event. In order to calculate whether the source is being dragged on to any

Re: [flexcoders] Sort arrows in DataGrid

2005-07-03 Thread Sean McKibben
hings have been discussed in past. Please search the archives with appropriate keywords to find those threads. http://www.mail-archive.com/flexcoders%40yahoogroups.com-abdul -Original Message----- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of S

[flexcoders] Sort arrows in DataGrid

2005-07-02 Thread Sean McKibben
Is there a way to set the sortIndex of a datagrid manually, or to manually clear the sort arrow? I have a DataGrid which allows things to be dropped in to it at arbitrary locations, which would change it to unsorted, but I can't figure out how to remove the sort arrow in the header to refle

[flexcoders] SOAP through a socket

2005-06-22 Thread Sean McKibben
webservice result. Any ideas for manually invoking the deserializer with either an XML string or a XML object? Thanks, Sean McKibben -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders

Re: [flexcoders] Collections between Flex and Web services

2005-06-15 Thread Sean McKibben
I'm running in to similar issues with webServices going to CF7 (see my "Flex serializer vs CF7 deserializer" posts). Something that I've found which aids troubleshooting is to look at the actual soap envelope which gets sent between the client and server.I've noticed that the SOAP encoding seems

Re: [flexcoders] Design flaw in DataGrid sorting

2005-06-15 Thread Sean McKibben
- > From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]On > Behalf Of Sean McKibben > Sent: Tuesday, June 14, 2005 9:35 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Design flaw in DataGrid sorting > > > I have to call the data grid's sor

Re: [flexcoders] Flex serializer vs CF7 deserializer

2005-06-14 Thread Sean McKibben
Hmm, didn't seem to make any difference to what got sent. I might not be doing it right.I'm using cairngorm, and my delegate starts with:    this.service = ServiceLocator.getInstance().getService( "objectWS" );(in the constructor)then the invocation has:        service.stub.xmlEncoderConfig = new

[flexcoders] Flex serializer vs CF7 deserializer

2005-06-14 Thread Sean McKibben
s: var myObj:Object = new Object(); myObj.arrayTest = [{id:1},2,{name:"hi"}] can't be deserialized by CF, returning the errorstring, "org.xml.sax.SAXException: No deserializer defined for array type" This is driving me CRAZY (or maybe it is the heat). Is there a setting in t

[flexcoders] Design flaw in DataGrid sorting

2005-06-14 Thread Sean McKibben
I have to call the data grid's sorting mechanism flawed. Let's examine a case where you want to sort a dataGrid by a date column. In all likelihood, you're going to have a labelFunction to format your date objects into a string. Depending on your locale, that string is probably not what you

Re: [flexcoders] Re: TreeDataProvider implementation

2005-06-13 Thread Sean McKibben
y well.  Also the code for two TreeDataProviders in shipped in Flash MX 2004 in mx\controls\treeClasses --- In flexcoders@yahoogroups.com, Sean McKibben <[EMAIL PROTECTED]> wrote: > I believe that I need to write my own class which implements  > TreeDataProvider, but am finding the t

[flexcoders] TreeDataProvider implementation

2005-06-13 Thread Sean McKibben
plementation I could peek at, I'd feel much better about heading down this path. It probably isn't all that difficult, but it is a big chunk of time to waste if I can't make it work... Thanks, Sean McKibben graphex at graphex com Yahoo! Groups Links <*> To vis

[flexcoders] CFC Web Services and Boolean types in Flex

2005-06-10 Thread Sean McKibben
y thoughts?(sorry this is a bit more about CF than flex, but actionScript is the more strongly typed language that cares about the difference between "false" and false!)Thanks,Sean McKibben Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcode

[flexcoders] Data Binding and Server Objects

2005-05-27 Thread Sean McKibben
If I'm getting objects from a web service and want to use them in data binding, do I have to re-create them in ActionScript in order for their various properties and sub-objects to be bindable? Ideally, I'd like to just "use what the server gives me" and not rewrite the objects in AS. i.e.:

Re: [flexcoders] Cairngorm 0.99

2005-05-17 Thread Sean McKibben
I copied it out of one of the sample apps included in .99.Any ideas?Thanks,Sean McKibben 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] XMLObjectOutput bug

2005-05-12 Thread Sean McKibben
ting hash codes or using an object reference as a key? Sean McKibben [EMAIL PROTECTED] 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] <*&g

[flexcoders] Re: dispatchEvent in AS class?

2005-04-29 Thread Sean McKibben
ventDispatcher.initialize(sm);//also tried > UIEventDispatcher.initialize and EventDispatcher.initialize(this) I still get the weird warning when my class tries to call dispatchEvent that says "Warning: dispatchEvent is not a function". Any more ideas? Thanks, Sean McKibben > > At 05:49

[flexcoders] dispatchEvent in AS class?

2005-04-29 Thread Sean McKibben
tructor isn't working. Is it possible to send events like this? Any help is appreciated. Thanks, Sean McKibben (code below) import com.iterationtwo.cairngorm.business.*; import mx.utils.Delegate; import mx.events.*; [Event("onSocketOpen")] [Event("onSocketClose")] class com