Re: [flexcoders] XML List Collection Filter Function

2010-05-17 Thread Angelo Anolin
not break the XML. Angelo From: Alex Harui To: "flexcoders@yahoogroups.com" Sent: Mon, 17 May, 2010 12:22:29 Subject: Re: [flexcoders] XML List Collection Filter Function Try: return itm.EmployeeEmail. toString( ).toLowerCase( ).indexOf

Re: [flexcoders] XML List Collection Filter Function

2010-05-17 Thread Alex Harui
, 14 May, 2010 12:09:50 Subject: Re: [flexcoders] XML List Collection Filter Function Post the XML and the filterfunction On 5/14/10 8:54 AM, "Angelo Anolin" wrote: Hi FlexCoders, For some reason, I do not know why my filter function being applied to an XML list collection does

Re: [flexcoders] XML List Collection Filter Function

2010-05-17 Thread Angelo Anolin
Any ideas? Thanks. Angelo From: Alex Harui To: "flexcoders@yahoogroups.com" Sent: Fri, 14 May, 2010 12:09:50 Subject: Re: [flexcoders] XML List Collection Filter Function Post the XML and the filterfunction On 5/14/10 8:54 AM, "Ang

Re: [flexcoders] XML List Collection Filter Function

2010-05-14 Thread Alex Harui
Post the XML and the filterfunction On 5/14/10 8:54 AM, "Angelo Anolin" wrote: Hi FlexCoders, For some reason, I do not know why my filter function being applied to an XML list collection does not filter those fields that are email addresses. Is this a bug or something? I traced the fi

RE: [flexcoders] XML Problem ? how to retreive children from XML without having the same attributs of the principal object

2010-03-24 Thread Tracy Spratt
Very interesting, thanks! Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Oleg Sivokon Sent: Wednesday, March 24, 2010 12:46 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders

Re: [flexcoders] XML Problem ? how to retreive children from XML without having the same attributs of the principal object

2010-03-24 Thread Oleg Sivokon
Tracy, You are wrong on that remark, if you do valueOf()@attributename, then you are safe. This is because E4X-specific opcodes act like with() construction, i.e. they just push the current XML node context in front of every other context in the context lookup chain. While XML class is dynamic,

RE: [flexcoders] XML Problem ? how to retreive children from XML without having the same attributs of the principal object

2010-03-24 Thread Tracy Spratt
available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Nini7016 Nini7016 Sent: Wednesday, March 24, 2010 10:45 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] XML Problem ? how to retreive children from XML without having the same

RE: [flexcoders] XML Problem ? how to retreive children from XML without having the same attributs of the principal object

2010-03-24 Thread Nini7016 Nini7016
Thank you very very much :):) To: flexcoders@yahoogroups.com From: olegsivo...@gmail.com Date: Wed, 24 Mar 2010 15:42:59 +0200 Subject: Re: [flexcoders] XML Problem ? how to retreive children from XML without having the same attributs of the principal object

Re: [flexcoders] XML Problem ? how to retreive children from XML without having the same attributs of the principal object

2010-03-24 Thread Oleg Sivokon
default xml namespace = " http://docs.oasis-open.org/wsbpel/2.0/process/executable";; var xml:XML = http://enterprise.netbeans.org/bpel/SimulationEmprunt1/beInAssInAcEn"; xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:sxt=" http

RE: [flexcoders] xml parsing

2010-03-16 Thread Tracy Spratt
The double colon is the namespace accessor. But I do not really understand that example. Unless you can use a wildcard as a namespace? I have managed to mostly avoid dealing with namespaces so far. Tracy Spratt, Lariat Services, development services available _ From: flexcoders

Re: [SPAM] Re: [SPAM] Re: [SPAM] Re: [SPAM] Re: [flexcoders] XML e4x error

2009-11-30 Thread Daniel Freiman
-- > > *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On > Behalf Of *Daniel Freiman > *Sent:* Thursday, November 19, 2009 10:57 AM > *To:* flexcoders@yahoogroups.com > *Subject:* [SPAM] Re: [SPAM] Re: [SPAM] Re: [SPAM] Re: [flexcoders] XML &g

RE: [SPAM] Re: [SPAM] Re: [SPAM] Re: [SPAM] Re: [flexcoders] XML e4x error

2009-11-19 Thread Tracy Spratt
s.com] On Behalf Of Daniel Freiman Sent: Thursday, November 19, 2009 10:57 AM To: flexcoders@yahoogroups.com Subject: [SPAM] Re: [SPAM] Re: [SPAM] Re: [SPAM] Re: [flexcoders] XML e4x error Ok, that fixes the problem, but it doesn't explain why the problem was happening in the first pla

Re: [SPAM] Re: [SPAM] Re: [SPAM] Re: [flexcoders] XML e4x error

2009-11-19 Thread Daniel Freiman
> > > > Tracy Spratt, > > Lariat Services, development services available > ---------- > > *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On > Behalf Of *Daniel Freiman > *Sent:* Wednesday, November 18, 2009 8:37 PM > *To

RE: [SPAM] Re: [SPAM] Re: [SPAM] Re: [flexcoders] XML e4x error

2009-11-18 Thread Tracy Spratt
xcod...@yahoogroups.com] On Behalf Of Daniel Freiman Sent: Thursday, November 19, 2009 12:42 AM To: flexcoders@yahoogroups.com Subject: [SPAM] Re: [SPAM] Re: [SPAM] Re: [flexcoders] XML e4x error I think I tried that already but I'll double check in the morning. Based on the XML and

Re: [SPAM] Re: [SPAM] Re: [flexcoders] XML e4x error

2009-11-18 Thread Daniel Freiman
On > Behalf Of *Daniel Freiman > *Sent:* Wednesday, November 18, 2009 8:37 PM > *To:* flexcoders@yahoogroups.com > *Subject:* [SPAM] Re: [SPAM] Re: [flexcoders] XML e4x error > > > > > > I've stated the symptom. As you can see in the given XML, there is a child >

RE: [SPAM] Re: [SPAM] Re: [flexcoders] XML e4x error

2009-11-18 Thread Tracy Spratt
: flexcoders@yahoogroups.com Subject: [SPAM] Re: [SPAM] Re: [flexcoders] XML e4x error I've stated the symptom. As you can see in the given XML, there is a child named path. So I should be getting value for that code instead of a null error. I don't know why it's not pic

Re: [SPAM] Re: [flexcoders] XML e4x error

2009-11-18 Thread Daniel Freiman
actual goal of your expression? > > > > Tracy Spratt, > > Lariat Services, development services available > -- > > *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On > Behalf Of *Daniel Freiman > *Sent:* Wednesday, November 18, 2009 3

RE: [SPAM] Re: [flexcoders] XML e4x error

2009-11-18 Thread Tracy Spratt
vices, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Daniel Freiman Sent: Wednesday, November 18, 2009 3:53 PM To: flexcoders@yahoogroups.com Subject: [SPAM] Re: [flexcoders] XML e4x error I've tried that previous

Re: [flexcoders] XML e4x error

2009-11-18 Thread Daniel Freiman
I've tried that previously. There wasn't any difference, which should be expected given the request path. - Daniel Freiman On Wed, Nov 18, 2009 at 3:46 PM, InvertedSpear wrote: > > > > The only thing I can see in the one that is giving you a problem is > different > from the others is there is

Re: [flexcoders] XML e4x error

2009-11-18 Thread InvertedSpear
The only thing I can see in the one that is giving you a problem is different from the others is there is a tag. The one above it has a pair. This could be being read as a null text instead of a 0 length string. Try changing that and let us know. ~Mike Daniel Freiman wrote: > > I'm running th

Re: [flexcoders] xml as dataprovider to datagrid

2009-08-01 Thread Guy Morton
Single item nodes get turned into objects, not arraycollections. This is a common source of confusion and pain. AFAIK, there is no easy way to deal with this - your code must anticipate the two data types. Guy On 02/08/2009, at 11:34 AM, shizny wrote: Hello, I'm having some really weird i

RE: [flexcoders] XML data translated to wrong datatype

2009-07-06 Thread Tracy Spratt
The default resultFormat is "object", which attempts to cnvert your xml into a tree of dynamic objects, making its best guess about the data types. Switch to resultFormat="e4x" which will give you your data in its unmodified xml/string format. Tracy Spratt, Lariat Services, development ser

RE: [flexcoders] XML issue driving me nuts

2009-04-08 Thread Tracy Spratt
] On Behalf Of Keith Sent: Wednesday, April 08, 2009 8:45 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] XML issue driving me nuts For the first one, try pointing the source property to the "node" XMLList. Before it was pointing to an XML datatype. -- Kei

Re: [flexcoders] XML issue driving me nuts

2009-04-08 Thread Keith
For the first one, try pointing the source property to the "node" XMLList. Before it was pointing to an XML datatype. -- Keith H -- www.keith-hair.net elevight wrote: My short test code is down at the bottom after my description of the problem. My object is to populate two mx:Tree o

Re: [flexcoders] XML Entity won't parse inside MXML

2009-03-16 Thread Josh McDonald
Also note that the curly braces go *outside* the quotes - if you were putting the number 7 in your attribute, it would be If you do this: Then your attribute will have the value of "{7}" instead of "7". -Josh 2009/3/17 Josh McDonald > The (xml source code) -> XML|XMLList stage in MXMLC is

Re: [flexcoders] XML Entity won't parse inside MXML

2009-03-16 Thread Josh McDonald
The (xml source code) -> XML|XMLList stage in MXMLC isn't so good. Often I need to embed XML as Binary objects, and go via String to parse it. That's not much useful information though, so the answer to your problem is: Note that despite the similar syntax I don't think these expressions a

RE: [flexcoders] XML File size limit?

2009-03-07 Thread Alex Harui
The limit should be way more than 2mb. The limits are imposed by the amount of memory available, and the time required to process the XML.. Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexco

RE: [flexcoders] XML Parsing - maintaining a record pointer

2009-02-20 Thread Tracy Spratt
evelopment bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Sam Lai Sent: Friday, February 20, 2009 4:12 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] XML Parsing - maintaining a record pointer You c

Re: [flexcoders] XML Parsing - maintaining a record pointer

2009-02-20 Thread Sam Lai
You could use a different variable name in the inner loop, that way it won't change the object in the outer loop. On 2/21/09, Libby wrote: > hi, flexCoders! > thanks for all ur help in the past! > > Does Flex maintain your record pointer while reading an xml file? > basically what i want to do is

RE: [flexcoders] XML attributes

2009-02-10 Thread Ryan Graham
Ah, good call Tracy... thanks for clearing that up. -Ryan From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Tuesday, February 10, 2009 2:13 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] XML attributes I think it is the

RE: [flexcoders] XML attributes

2009-02-10 Thread Tracy Spratt
roups.com] On Behalf Of Ryan Graham Sent: Tuesday, February 10, 2009 11:55 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] XML attributes It doesn't like the final keyword in there I believe. When you need to add attributes or properties that use actionscript keywords, drop back

RE: [flexcoders] XML attributes

2009-02-10 Thread Ryan Graham
It doesn't like the final keyword in there I believe. When you need to add attributes or properties that use actionscript keywords, drop back to string keys for access: m_xml["@final-note"] = "8"; HTH, Ryan From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf

Re: [flexcoders] XML - What var type can I use for my XML nodes?

2009-02-05 Thread - -
Hi Tracy, it still doesn't work... From: Tracy Spratt To: flexcoders@yahoogroups.com Sent: Thursday, February 5, 2009 3:54:34 PM Subject: RE: [flexcoders] XML - What var type can I use for my XML nodes? Clean the Project: Menu, Project, Clean.   Tracy S

RE: [flexcoders] XML - What var type can I use for my XML nodes?

2009-02-05 Thread Tracy Spratt
@yahoogroups.com Subject: Re: [flexcoders] XML - What var type can I use for my XML nodes? Hi Tracy, I get "An Internal build error..." with: text="{_xmlVar.date}" Thanks! -David From: Tracy Spratt To: flexcoders@yahoogroup

Re: [flexcoders] XML - What var type can I use for my XML nodes?

2009-02-05 Thread - -
Hi Tracy, I get "An Internal build error..." with: text="{_xmlVar.date}" Thanks! -David From: Tracy Spratt To: flexcoders@yahoogroups.com Sent: Thursday, February 5, 2009 1:03:41 PM Subject: RE: [flexcoders] XML - What var type can I

RE: [flexcoders] XML - What var type can I use for my XML nodes?

2009-02-05 Thread Tracy Spratt
[Bindable]public var _xmlVar:XML; private function init():void{ _xmlVa = testID.result.(@now=='today')[0]; //NOTE the array[0] brackets. ... All e4x expessions return an XMLList, even if there is only one node, so you must specify that node toput it in an XML variable. Tracy Spratt La

RE: [flexcoders] XML Query

2009-02-04 Thread Tracy Spratt
childIndex(). Time to read over the XML docs. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of markgoldin_2000 Sent: Wednesday, February 04, 2009 2:03 PM

RE: [flexcoders] XML walkdown Help

2009-02-03 Thread Ryan Graham
From: flexcoders@yahoogroups.com on behalf of Wally Kolcz Sent: Tue 2/3/2009 10:32 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] XML walkdown Help This is the code i am using. I tried this since I have to be on the test server (remote) to use the BD version since i am running Adob

RE: [flexcoders] XML walkdown Help

2009-02-03 Thread Tracy Spratt
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Ryan Graham Sent: Tuesday, February 03, 2009 12:03 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] XML walkdown Help Yeah, notice the 2 distinct namespaces being used here: The reponse/result wrapper

RE: [flexcoders] XML walkdown Help

2009-02-03 Thread Wally Kolcz
; Sent: Tuesday, February 03, 2009 9:03 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] XML walkdown Help Yeah, notice the 2 distinct namespaces being used here: The reponse/result wrapper uses "http://www.newatlanta.com/bluedragon/cfc/prmc/PRMCProjects/edu/umich

Re: [flexcoders] XML walkdown Help

2009-02-03 Thread Steve Mathews
wrote: > If I set it your way, then what do I then do with the dot notation to get > to the XMLList? > > > > -- > *From*: "Tracy Spratt" > *Sent*: Tuesday, February 03, 2009 8:34 AM > > *To*: flexcoders@yahoogroups.com &g

RE: [flexcoders] XML walkdown Help

2009-02-03 Thread Wally Kolcz
If I set it your way, then what do I then do with the dot notation to get to the XMLList? From: "Tracy Spratt" Sent: Tuesday, February 03, 2009 8:34 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] XML walkdown Help columnList wi

RE: [flexcoders] XML walkdown Help

2009-02-03 Thread Ryan Graham
com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Tuesday, February 03, 2009 9:35 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] XML walkdown Help columnList will need to be prefixed with the ns:: also. As will all nodes. I'd advise setting the default n

RE: [flexcoders] XML walkdown Help

2009-02-03 Thread Tracy Spratt
oders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Wally Kolcz Sent: Tuesday, February 03, 2009 10:23 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] XML walkdown Help Thanks for being patient and helping me. I really need to read more about XML and Flex/AS3. I am so us

RE: [flexcoders] XML walkdown Help

2009-02-03 Thread Wally Kolcz
28 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] XML walkdown Help Good, you are on the way. You are only one step from your columnList. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups

RE: [flexcoders] XML walkdown Help

2009-02-03 Thread Tracy Spratt
03, 2009 7:54 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] XML walkdown Help Ok, I tried both approaches and they gave me this. http://www.newatlanta.com/bluedragon/cfc/prmc/PRMCProjects/edu/um ich/security" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";

RE: [flexcoders] XML walkdown Help

2009-02-03 Thread Wally Kolcz
t;Tracy Spratt" Sent: Monday, February 02, 2009 1:44 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] XML walkdown Help Yes, darn it, missed that, Ryan is correct, there will a namespace problem. You can define a default" namespace, and not have to use th

RE: [flexcoders] XML walkdown Help

2009-02-02 Thread Tracy Spratt
yan Graham Sent: Monday, February 02, 2009 4:01 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] XML walkdown Help Looks like you're having namespace issues. The default namespace is http://www.newatlanta.com/bluedragon/cfc/prmc/PRMCProjects/edu/umich/sec urity <http://www.ne

RE: [flexcoders] XML walkdown Help

2009-02-02 Thread Tracy Spratt
to:flexcod...@yahoogroups.com] On Behalf Of Wally Kolcz Sent: Monday, February 02, 2009 3:42 PM To: flexcoders@yahoogroups.com Subject: re: [flexcoders] XML walkdown Help Here is a more accurate output on the Blue Dragon server: http://www.newatlanta.com/bluedragon/cfc/prmc/PRMCProjects/edu/um ich/security&q

RE: [flexcoders] XML walkdown Help

2009-02-02 Thread Ryan Graham
bruary 02, 2009 1:42 PM To: flexcoders@yahoogroups.com Subject: re: [flexcoders] XML walkdown Help Here is a more accurate output on the Blue Dragon server: http://www.newatlanta.com/bluedragon/cfc/prmc/PRMCProjects/edu/um ich/security" xmlns:soap="http://schemas.xmlsoap.org/so

re: [flexcoders] XML walkdown Help

2009-02-02 Thread Wally Kolcz
Here is a more accurate output on the Blue Dragon server: http://www.newatlanta.com/bluedragon/cfc/prmc/PRMCProjects/edu/umich/security"; xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="

re: [flexcoders] XML walkdown Help

2009-02-02 Thread Wally Kolcz
Here is a more accurate output on the Blue Dragon server: http://www.newatlanta.com/bluedragon/cfc/prmc/PRMCProjects/edu/umich/security"; xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="

RE: [flexcoders] XML walkdown Help

2009-02-02 Thread Wally Kolcz
uot;;> wkolcz admin Wally Kolcz Everything else came up blank. From: "Tracy Spratt" Sent: Monday, February 02, 2009 11:56 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcod

RE: [flexcoders] XML walkdown Help

2009-02-02 Thread Tracy Spratt
Is what you posted the result of doing trace(xmlResult.toXMLString)? What happens if you trace(xmlResult.loginReturn.toXMLString())? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@y

RE: [flexcoders] XML Filtering

2009-01-22 Thread Tracy Spratt
That is a good question. I cannot think of a way to do that with pure e4x. Maybe someone else will. If I needed this, I would get all the filter values: var xlFilters:XMLList = root..filter.text(); I'd create an associative array to hold flags for the found values: var oFoundFilters:Object

Re: [flexcoders] XML Decoding

2008-12-09 Thread Richard Rodseth
om [mailto:[EMAIL PROTECTED] *On > Behalf Of *Richard Rodseth > *Sent:* Friday, August 15, 2008 5:07 PM > *To:* flexcoders@yahoogroups.com > *Subject:* Re: [flexcoders] XML Decoding > > > > Not yet, though I saw a reference to that in my Googling. I think I'm just > going to

RE: [flexcoders] XML object line

2008-10-14 Thread Tracy Spratt
What happens if you build the xml with a string containing that line? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of diehlryan Sent: Monday, October 13, 2008 11:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] XML objec

RE: [flexcoders] XML problem

2008-09-04 Thread Tracy Spratt
If your resultFormat is the default "object", then Flex is converting your XML into a nested dynamic object structure. This conversion is a bit of a black box and you have little or no control over it. It WILL convert strings like "0.1" to a decimal ".1". Might be doing other conversions as well

RE: [flexcoders] xml contains list with sometimes only one element

2008-08-26 Thread Kenneth Sutherland
I'd do it like this. Not tested the below code, but it's the same as stuff I've used before that works fine. Just pass the XML that you get returned to the function. Slightly different approach but should be good for any number of XML entries private function populatePerson(xml : XML) : void {

RE: [flexcoders] XML Data - getting unique attributes

2008-08-21 Thread Tracy Spratt
oders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Sutherland Sent: Thursday, August 21, 2008 11:58 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] XML Data - getting unique attributes You could do something like the following. Use a dictionary to store you're unique values.

RE: [flexcoders] XML Data - getting unique attributes

2008-08-21 Thread Gordon Smith
I think you'll have to loop. But don't build up an Array... you'd have to search the Array every time to determine whether that value has already been added. You should use an Object or Dictionary as a set. Gordon Smith Adobe Flex SDK Team From: flexcoders

RE: [flexcoders] XML Data - getting unique attributes

2008-08-21 Thread Kenneth Sutherland
You could do something like the following. Use a dictionary to store you're unique values. So iterate through your data and use the data as the key for the dictionary Var myDictionary : Dictionary = new Dictionary(); myDictionary[value] = value; //value would be whatever you are wishing to st

RE: [flexcoders] XML Decoding

2008-08-15 Thread Alex Harui
things it might need. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard Rodseth Sent: Friday, August 15, 2008 5:07 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] XML Decoding Not yet, though I saw a reference to that in my Googli

Re: [flexcoders] XML Decoding

2008-08-15 Thread Richard Rodseth
Not yet, though I saw a reference to that in my Googling. I think I'm just going to hold my nose gently and make static factory methods that take an XML argument. I've been experimenting with the XML-backed idea and that's not too bad either. Harder to switch between XML and AMF I guess, but KISS

RE: [flexcoders] XML Decoding

2008-08-15 Thread Tracy Spratt
Have you looked at the Flex 3 functionality that reads the webservice wsdl and generates code for strongly typed access? It was way too complicated for my needs but might help answer your questions. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PRO

Re: [flexcoders] XML Document and Navigation

2008-08-07 Thread Sid Maskit
If you have to perform basically the same operation at each level of your XML, one way to deal with an open-ended number of levels is to use recursion. I apologize for not saying more, but I am running out the door, and don't have time to write up any kind of sample code on this. However, I'm su

Re: [flexcoders] XML is NULL immediatelly following service call, but does appear valid in textarea

2008-07-14 Thread [EMAIL PROTECTED]
Ok thanks. That page does come up for "HTTPservice example" and it is a good example, but I overlooked it because it is not a simple example. I have spent so much of my life looking at so many examples that turn out to be way too complicated to have any meaning at all that I generally disregar

Re: [flexcoders] XML is NULL immediatelly following service call, but does appear valid in textarea

2008-07-14 Thread Josh McDonald
Google is your friend bro :) http://www.adobe.com/devnet/flex/quickstart/httpservice/ On Mon, Jul 14, 2008 at 8:42 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Josh McDonald wrote: > Yes I ended up doing that, but I was originally looking for was some > MXML that would do something like th

Re: [flexcoders] XML is NULL immediatelly following service call, but does appear valid in textarea

2008-07-14 Thread [EMAIL PROTECTED]
Josh McDonald wrote: Yes I ended up doing that, but I was originally looking for was some MXML that would do something like this: urlLoader.addEventListener(Event.COMPLETE, onComplete); as in "completelistener="myResultHandler()" but i realize now that I was wrong. I looked at that page many man

Re: [flexcoders] XML is NULL immediatelly following service call, but does appear valid in textarea

2008-07-13 Thread Josh McDonald
If you look here: http://livedocs.adobe.com/flex/3/langref/mx/rpc/http/mxml/HTTPService.html You can see result and fault are shown up the top for the MXML definition. So you would have -Josh On Mon, Jul 14, 2008 at 3:33 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > There's nothing abou

Re: [flexcoders] XML is NULL immediatelly following service call, but does appear valid in textarea

2008-07-13 Thread [EMAIL PROTECTED]
There's nothing about event listeners in the code hint for HTTPservice. Maybe I just don't know what to look for. What code is it that you think should work ? Josh McDonald wrote: > > It should've worked from the MXML, can you show me what you tried? > > -Josh > > On Mon, Jul 14, 2008 at 2:49 PM,

Re: [flexcoders] XML is NULL immediatelly following service call, but does appear valid in textarea

2008-07-13 Thread Josh McDonald
It should've worked from the MXML, can you show me what you tried? -Josh On Mon, Jul 14, 2008 at 2:49 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Thanks. > > I tried to add the eventListener to the MXML of the HTTPservice, and I > don't see how, but I was able to add it in the script. > J

Re: [flexcoders] XML is NULL immediatelly following service call, but does appear valid in textarea

2008-07-13 Thread [EMAIL PROTECTED]
Thanks. I tried to add the eventListener to the MXML of the HTTPservice, and I don't see how, but I was able to add it in the script. Josh McDonald wrote: > > There's not going to be any data in there immediately after you call > send() - you need to wait (and listen) for the ResultEvent.RESULT

Re: [flexcoders] XML is NULL immediatelly following service call, but does appear valid in textarea

2008-07-13 Thread Josh McDonald
There's not going to be any data in there immediately after you call send() - you need to wait (and listen) for the ResultEvent.RESULT event to occur. -Josh On Mon, Jul 14, 2008 at 1:27 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I have a box in one state, I remove the box and then ad

Re: [flexcoders] XML to Array Collection

2008-07-03 Thread Simon Bailey
Here is a simple example ripped from an old app which should help: Krome Dr Krome on the scratch using 2 turntables from the boogie down bristol... D-Styles Sick video from D-Styles

RE: [flexcoders] XML Escape Charater handling

2008-04-07 Thread Tracy Spratt
What is the context of your question? Sometimes you can use CDATA, sometimes escape()/unescape(), sometimes manually use HTML entities and sometimes it in not necessary to do anything. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Beh

RE: [flexcoders] xml rss with namespace with e4x

2008-04-05 Thread Alex Harui
I think you need an rss namespace as well set to "http://purl.org/rss/1.0/ " From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hworke Sent: Saturday, April 05, 2008 10:58 AM To: flexcoders@yahoogroups.com Subj

RE: [flexcoders] XML structure and error with listbase

2008-03-05 Thread Tracy Spratt
Well, you access attribute values differently than you access child node values. Did you fix that? If you still use attribute values somewhere, but not in all nodes, then the "@selected" syntax will give this error. Replace it with attribute("selected") Tracy _

Re: [flexcoders] XML, HTTPSerivce, & Setting dataProvider in Action Script

2008-02-12 Thread Sherif Abdou
you have it set in mxml, chartXML.lasResult - Original Message From: Brad Bueche <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Tuesday, February 12, 2008 1:29:36 PM Subject: RE: [flexcoders] XML, HTTPSerivce, & Setting dataProvider in Action Script Thanks! T

RE: [flexcoders] XML, HTTPSerivce, & Setting dataProvider in Action Script

2008-02-12 Thread Brad Bueche
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sherif Abdou Sent: Tuesday, February 12, 2008 1:39 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] XML, HTTPSerivce, & Setting dataProvider in Action Script lastResult doesnt work in Actionscript only MXML, you get nul

Re: [flexcoders] XML, HTTPSerivce, & Setting dataProvider in Action Script

2008-02-12 Thread Sherif Abdou
ubject: Re: [flexcoders] XML, HTTPSerivce, & Setting dataProvider in Action Script lastResult doesnt work in Actionscript only MXML, you get null if you use it in actionScript it should be just private function initApp():void{ chartXML.send(); chartXML.addEventListener( ResultEvent. RESUL

Re: [flexcoders] XML, HTTPSerivce, & Setting dataProvider in Action Script

2008-02-12 Thread Sherif Abdou
lastResult doesnt work in Actionscript only MXML, you get null if you use it in actionScript it should be just private function initApp():void{ chartXML.send(); chartXML.addEventListener(ResultEvent.RESULT,onResult); } private function onResult(event:ResultEvent):void{ //u get event.result }

Re: [flexcoders] xml data in a datagrid

2008-01-29 Thread Sherif Abdou
you would at least need to change the xml for these to work i think so Joe Doe Anywhere USA 555-555- - Original Message From: atlas1j <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Tuesday, January 29, 2008 10:12:48 AM Subject: [flexcoders] xml data in a datagrid

RE: [flexcoders] XML to ArrayCollection

2008-01-27 Thread Tracy Spratt
ray. An XMLList can be wrapped directly. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sherif Abdou Sent: Sunday, January 27, 2008 10:30 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] XML to ArrayCollection I think you may have to iter

Re: [flexcoders] XML to ArrayCollection

2008-01-27 Thread Sherif Abdou
I think you may have to iterate for the Child nodes but try ArrayUtil.toArray(xmldata.items.item); - Original Message From: M.Javed <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Sunday, January 27, 2008 7:26:56 AM Subject: [flexcoders] XML to ArrayCollection Hi, I have to c

Re: [flexcoders] xml node search using xpath method

2008-01-23 Thread Sherif Abdou
this should do it myXML..*.(@label=="G312(50)").toXMLString()); - Original Message From: ravi6mrgn <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Wednesday, January 23, 2008 11:57:46 PM Subject: [flexcoders] xml node search using xpath method Hi All, I am using Flex 3.0. I

Re: [flexcoders] XML List problems

2008-01-10 Thread YOGESH JADHAV
I think you shoud specify the method of php( GET or POST). using result event handler is most preferd way but u can directly assign dataprovider = "{tempXML.lastResult.asset}" and provide datafield="fleet". On Jan 11, 2008 3:10 AM, markcavins <[EMAIL PROTECTED]> wrote: > I have had some help fr

Re: [flexcoders] XML List problems

2008-01-10 Thread Sheriff
it shouldnt be tempXML.lastResult, instead tempXML.result - Original Message From: markcavins <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Thursday, January 10, 2008 3:40:58 PM Subject: [flexcoders] XML List problems I have had some help from some others on this issue but th

Re: [flexcoders] XML List problems

2008-01-10 Thread Sheriff
never mind - Original Message From: markcavins <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Thursday, January 10, 2008 3:40:58 PM Subject: [flexcoders] XML List problems I have had some help from some others on this issue but the battle continues and I am perplexed as to why

Re: [flexcoders] xml and dataprovider for simple chart

2007-12-05 Thread Ian M. Jones
Try... dataProvider ="{xmlData.entry[0].One}" or dataProvider ="{xmlData.*.One}" On 5 Dec 2007, at 15:52, y.mauron wrote: Dear all, I have a problem which certainly be very easy. I have a xml varialbe like the following : var test:String = "813270890280"; var xmlData = new XML(test); and

RE: [flexcoders] XML

2007-11-20 Thread Alex Harui
I thought the following worked: try { var responseXML:XML = new XML(loader.data) } catch (e:Error) { trace("xml is bad"); } From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rafael Faria Sent: Tuesday, Novembe

RE: [flexcoders] XML and ArrayCollections problem

2007-09-26 Thread Alex Harui
LString()); dg.dataProvider = ws.lastResult.user" /> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Warren Sent: Wednesday, September 26, 2007 7:54 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] XML and ArrayCollections problem

RE: [flexcoders] XML and ArrayCollections problem

2007-09-25 Thread Alex Harui
hoogroups.com Subject: RE: [flexcoders] XML and ArrayCollections problem I tried using XMLListCollection, but have the same problem. Is there an alternate syntax I can use to refer to the "users" blocks inside my "friends" block, rather than the "users" property of the

RE: [flexcoders] XML and ArrayCollections problem

2007-09-25 Thread Steve Warren
I tried using XMLListCollection, but have the same problem. Is there an alternate syntax I can use to refer to the "users" blocks inside my "friends" block, rather than the "users" property of the "friends" block? -s --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > >

RE: [flexcoders] XML and ArrayCollections problem

2007-09-24 Thread Alex Harui
xmllistcollection From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Warren Sent: Monday, September 24, 2007 2:20 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] XML and ArrayCollections problem Hey Flexcoders, I'm starting t

RE: [flexcoders] xml data and drag related questions

2007-09-17 Thread Mathe Maema
Yes the node is called comments. I changed its name to commentary but still all other nodes I can access using {dg.selectedItem.nodeName} I really have no idea why things aren't working. Alex Harui <[EMAIL PROTECTED]> wrote: Is it really a tag called “com

RE: [flexcoders] xml data and drag related questions

2007-09-16 Thread Alex Harui
Is it really a tag called "comments" or did you use a comments tag mailto:[EMAIL PROTECTED] On Behalf Of g07m5064 Sent: Sunday, September 16, 2007 1:45 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] xml data and drag related questions I have two questions. First, I have the following x

RE: [flexcoders] XML Data From WebService to Custom Value Object Class?

2007-09-05 Thread Tracy Spratt
If you set resultFormat="object" (the default) Flex will convert the xml into a nested object structure. This is kind of a black box process and you will have to take what it gives as-is. XML <=> Object conversion has actually been discussed quite a bit here. Search the archives. Tracy

RE: [flexcoders] XML, does it have to be RSS?

2007-05-22 Thread Tracy Spratt
No, and the declaration is not even necessary. How is it failing? Is the result handler being called? Can you trace(xml.toXMLString());? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason Sent: Monday, May 21, 2007 2:

Re: [flexcoders] XML, does it have to be RSS?

2007-05-22 Thread Paul J DeCoursey
What does the rest of your xml look like? The example you provided was the root element and it had namespace declarations. removing those and keeping the same xml following that would be the problem. Jason wrote: > Does the XML data HAVE to be an RSS? If I change > > xmlns:content="http://pur

  1   2   >