[flexcoders] Query Cleansing

2005-08-19 Thread Scott Barnes
I've come across a small annoyance (easily fixed) but one that kind of triggered an initial extra level of development. Basically I went down the path of returning a query from a CFC to FLEX. Nothing overly exciting about that. Except the property character casing popped its ugly head up the

RE: [flexcoders] Changing the wrongLengthError in a DateValidator

2005-08-19 Thread Matt Chotin
The field in 1.x is abstracted away from the validator so that its really only working with the value.  Because of the way Validators are generated there isnt even really a field property on the Validator, its just a code-gen construct that is used to register the Validator in a larger

RE: [flexcoders] Query Cleansing

2005-08-19 Thread Dirk Eismann
Hi Scott, we usually go a different route here. It turns out to be totally transparent and if implemented correctly then your Flex app will be able to work with either CF or any custom J2EE soultion that returns POJOs or collections thereof - we have a facade.cfc that wraps calls to the

[flexcoders] Re: Query Cleansing

2005-08-19 Thread Andrew Spaulding
Hey Scott, I had to deal with a similar scenario a while ago and posted a solution on flexdaddy http://www.flexdaddy.info/2005/06/16/strongly-type-a-cf-return-using-cairngorm/ Let me know if that is what you're kinda after ;-) Cheers, Andrew Spaulding www.flexdaddy.info --- In

RE: [flexcoders] How to draw a line on the canves which is in the panel?

2005-08-19 Thread Philippe Maegerman
What you are doing actualy is draw a line on the Application container, not on the canvas, because the function resides on the Application level, and you use the word 'this' to create your movieClip. You could pass a reference to the canvas to your function:

[flexcoders] Re: Constructor not called when calling myClass

2005-08-19 Thread trumpet1971
Hi Grady, I checked all code for 'typo errors', and checked for the return type that shouldn't be there, and this all seemed ok. But your suggestion brought me to other ideas of solving my problem.. so thanks a lot for your answer ! Cheers, Chiel --- In flexcoders@yahoogroups.com, [EMAIL

Re: [flexcoders] Re: Query Cleansing

2005-08-19 Thread Scott Barnes
I feel so dumb, i've totally overlooked flashgateway.io.ASObject Thanks Dirk, (i've got pretty much the exact setup as you described, only array of objects now has unlocked a lot more aa...i'm such a n00bie) Scott p.s thanks andrew too ;) hehe. On 8/19/05, Andrew Spaulding [EMAIL

RE: [flexcoders] Is it possible to return multiple recordsets to Flex from one Remote Object call

2005-08-19 Thread Allen Manning
Darius, I dont know, passing back an uber array feels a bit monolithic (but maybe good for performance?). Why not break them down into different Arrays of Value Objects. For example: EmployeeListVO array of Employee VOs InvoiceListVO array of Invoice VOs FooListVO array of

[flexcoders] Application preloader

2005-08-19 Thread Philippe Maegerman
I am trying to reuse the preloader component that was explained page 648 in the Flex RIA book, but no success. I copied -file 'preloader.swc' in my root -folder 'com/iterationtwo/preloader/' in my root I added mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"

RE: [flexcoders] Application preloader

2005-08-19 Thread Philippe Maegerman
FYI it doesn't produce any error, the file is compiled but nothing show up, I saw Jester having the same problem a few weeks ago, but didn't see an answer for that :(( what in the AS file is telling what SWC file to use? is it the className property? Philippe Maegerman From:

RE: [flexcoders] Is it possible to return multiple recordsets to Flex from one Remote Object call

2005-08-19 Thread Steven Webster
I'd take a very different view on this; if you have a business need to pass back a collection of data, that collection of data must have some "semantic" business meaning. Perhaps it is "initialisation data" or "customer overview" or "customer portfolio" or "dashboard summary" or something

Re: [flexcoders] Re: Query Cleansing

2005-08-19 Thread Scott Barnes
Q. I've found that when I return an Array of Objects, i still need to a final cleanse so to speak flex-side. In that, by giving a type it then maps accordingly. If i leave out the re-packing of the result, it treats them as simple objects that aren't typed. --- Command

RE: [flexcoders] Re: Query Cleansing

2005-08-19 Thread Dirk Eismann
Sorry, but i don't get what you're doing in your CFC - why do you instantiate the com.inco.finance.ITW.Invoice component? You're not using it afterwards, do you? Also, passing back a CF Array of ASObject instances maps to an AS Array of typed AS classes so I don't know why you still need this

Re: [flexcoders] How to draw a line on the canves which is in the panel?

2005-08-19 Thread adit sathish
Hi, Only thingyou needed to do is to set the depth of the movie clip. Inyour case it is the line. Below is the updated code. Regards, Adit -- ?xml version="1.0"

[flexcoders] Can Flex do this if so how

2005-08-19 Thread nostra72
How do you use Flex to store something on a database so you can go back to it again when you run the application? For example lets say you want to store passwords on a database, whats the best route for doing so? -- Flexcoders Mailing List FAQ:

Re: [flexcoders] Re: Query Cleansing

2005-08-19 Thread Scott Barnes
On 8/19/05, Dirk Eismann [EMAIL PROTECTED] wrote: Sorry, but i don't get what you're doing in your CFC - why do you instantiate the com.inco.finance.ITW.Invoice component? You're not using it afterwards, do you? oops disregard, left over code chunk (sleep deprived). Also, passing back a CF

[flexcoders] Second attempt at posting

2005-08-19 Thread nostra72
Sorry I sent out a post and I do not think it went through so I am sending it again. How do you use Flex to store something on a database so you can go back to it again when you run the application? For example lets say you want to store passwords on a database, whats the best route for doing

Re: [flexcoders] Can Flex do this if so how

2005-08-19 Thread Scott Barnes
See FLEX + Coldusion | Java | .NET + MSACESS | SQL | MySQL | ORACLE | Informix On 8/20/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: How do you use Flex to store something on a database so you can go back to it again when you run the application? For example lets say you want to store

RE: [flexcoders] Second attempt at posting

2005-08-19 Thread Matt Chotin
Are you talking about a database on a server or you just want it stored for the individual user on their machine. If the individual user then youre talking about a Local Shared Object. If you want it on a remote server then you want to use one of our services (HTTPService, WebService,

Re: [flexcoders] Second attempt at posting

2005-08-19 Thread nostra72
Well both eventually but how about for now I just concern myself with storing things on a local host server. What I want to do is have an application that will remember things when I run it IE passwords, personal info etc etc. -- Flexcoders Mailing List FAQ:

Re: [flexcoders] Can Flex do this if so how

2005-08-19 Thread nostra72
Are you saying I need to do those things? -- 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"

RE: [flexcoders] Second attempt at posting

2005-08-19 Thread Matt Chotin
If youre only talking localhost then Id look into local shared object and see if that fits your needs. If you think you need to do something different how about you tell us which server development technologies youre familiar with and maybe we can give you better guidance.

[flexcoders] Flex / CF server setup guru needed

2005-08-19 Thread Nate Nielsen
Hello all I'm looking for a server guru to set up some environments. This person would be responsible for setting up a number of servers with the following : Windows Server 2000 / 2003 Macromedia Flex Macromedia Cold Fusion Macromedia JRun This would be a perfect opportunity for someone

RE: [flexcoders] Application preloader

2005-08-19 Thread Philippe Maegerman
doing a second attempt on this one ... Ali, Steve ? Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Philippe MaegermanSent: vendredi 19 août 2005 14:32To: flexcoders@yahoogroups.comSubject: [flexcoders] Application preloader I am trying to

RE: [flexcoders] Application preloader

2005-08-19 Thread Matt Chotin
Shouldnt the preloader.swc simply go in the root without the need to add another folder?  Or drop it in your user_classes folder? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Philippe Maegerman Sent: Friday, August 19, 2005 5:47 AM To:

RE: [flexcoders] Application preloader

2005-08-19 Thread Roger Gonzalez
I can't speak to this particular piece of code, but SWCs are found by virtue of being in your library path, not by name. The standard library path is in your config file, and implicitly includes the application directory itself. -RogerRoger Gonzalez[EMAIL PROTECTED] From:

RE: [flexcoders] Can Flex do this if so how

2005-08-19 Thread James
As Flex is the application tier, youll need to develop a supplemental tier. You can use almost anything, but primarily java with all of its capabilities will work. If you look at the examples, you can look at the Occasionally Connected Client, this example uses both the local shared

RE: [flexcoders] Is it possible to return multiple recordsets to Flex from one Remote Object call

2005-08-19 Thread Allen Manning
Steven, I think you are right. My point was more about breaking them into VOs first, rather then piping the whole query back direct. Allen www.prismix.com/ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Steven Webster Sent: 19 August

Re: [flexcoders] Can Flex do this if so how

2005-08-19 Thread nostra72
Where can I find a link to this Occasionally Connected Client -- 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

RE: [flexcoders] Re: Query Cleansing

2005-08-19 Thread Dirk Eismann
AS 2.0 style getter/setters are not supported when doing RemoteObject invokations, you'll have to use simple public fields instead. The instances you retrieve really are instances of your InvoiceVO class, the getter is just not working. to check, simply try this inside the onResult method

[flexcoders] Passing array to web service CFC

2005-08-19 Thread bdardaganian
I've seen a couple of posts about this but haven't found a definitive answer. I'm passing an array from Flex to a web service located in a CFC. It returns an error that states: org.xml.sax.SAXException: No deserializer for array type I've tried any number of workarounds to no avail,

RE: [flexcoders] Is it possible to return multiple recordsets to Flex from one Remote Object call

2005-08-19 Thread dfatta
Allen Stephen, Thank you both for you advice. I like your ideas of passing back an Array of Value Objects. I've read only generalities on how to actually code this. Currently, my Flex app calls a cfc thatincludes a query and populates an Array of Structures. I took a stab at trying to

Re: [flexcoders] XML Parsing

2005-08-19 Thread Clint Modien
Do you have a quick example you could post? On 8/19/05, Kevin Towes (New Toronto Group) [EMAIL PROTECTED] wrote: Has anyone run into an issue when parsing an XML file in FLEX? When the automatic parser parses an XML file, and there is an attribute in the node, the value between the XML tags is

RE: [flexcoders] Calling RemoteObject declared in a mxml component in an application-The property being referenced does not ...

2005-08-19 Thread Oscar . Cortes
It is working but now the Handler is not being called when getMyList() is called in the initialize of a ComboBox. If I call getMyList() from a button for example it works. I didn't have this problem when including the RemoteObject in the same mxml. Any ideas? // Remote call to getMyData in

RE: [flexcoders] How to handle a returned Java Collection in Flex - RemoteObject call

2005-08-19 Thread Oscar . Cortes
It is actually private. The cause might be different. We have a Flex /CF7 installation and there is a file in ColdFusion 7 called gateway-config.xml, and with an entry called lowercase-keys. This seems to explain what we are seeing. I just don't remenber where I read that we should expect an

[flexcoders] Sudenn compile err: Unresolved symbol, __Packages.unescape, required by __Packages.LogicEngine

2005-08-19 Thread Tracy Spratt
Title: Sudenn compile err: Unresolved symbol, __Packages.unescape, required by __Packages.LogicEngine I had just yesterday added escape/unescape to a string I was saving, and it worked fine. This afternoon, I started to get type mismatch errors: unescape found where String expected,

Re: [flexcoders] Re: Query Cleansing

2005-08-19 Thread Scott Barnes
ahh ok, Thanks Dirk. On 8/20/05, Dirk Eismann [EMAIL PROTECTED] wrote: AS 2.0 style getter/setters are not supported when doing RemoteObject invokations, you'll have to use simple public fields instead. The instances you retrieve really are instances of your InvoiceVO class, the getter is

[flexcoders] Scrollbar in canvas

2005-08-19 Thread Rajesh Jayabalan
Hi, I have vScrollPolicy=auto in a canvas and a vbox inside it with a repreater which creates a buch of elements (labels, combos) In some cases the scrollbar works fine and shows correctly, but in some cases the scrollbar does not show up at all, I have tried setting it to on and in that case

[flexcoders] RD Question - Image Manipulation w/ Flex?

2005-08-19 Thread Bim Paras
Hello everyone... I have an RD question regarding Flex's capability as an online image manipulation platform. Currently my company is looking into developing an online application to do simple image manipulation via the browser. A typical case scenario is the application loads an image into

[flexcoders] switch value on numericstepper

2005-08-19 Thread Ghislain Simard
Hi, I have two NumericSteppers where only value 1 or 2 are possible. The value selection of a numericstepper will change the other one the the other value. How to do this? mx:NumericStepper id=step1 minimum=1 maximum=2/ mx:NumericStepper id=step2 minimum=1 maximum=2/ Thanks