[flexcoders] Re: ValueObjects?

2005-07-23 Thread Andrew Spaulding
Hey Jesse, I don't think I understand your problem :p Why can't you just use Object.registerClass("com.myPackage.myVO", "com.myPackage.myVO"); in the constructor of your value object? This should work fine with openAMF. Can you please explain your problem again, I don't understand what is wrong

RE: [flexcoders] Flex and CFCs -- problems displaying recordsets in datagrids

2005-07-23 Thread dfatta
Thanks for the advice, Tariq. I ordered the book last week and am looking forward to giving it a read. Does the book give examples on how to create a result handler? In terms of CFCs, I'm converting a MVC Fusebox 4 coldfusion app to a Flex interface. Since the application is allready very lar

>< [flexcoders] Re: update a list with new value from RemoteOject result

2005-07-23 Thread Ghislain Simard
Voila the main & the popup: http://www.macromedia.com/2003/mxml"; backgroundColor="#FF" horizontalAlign="center" verticalAlign="middle" childCreated="monTableau()" >

>< [flexcoders] Re: update a list with new value from RemoteOject result

2005-07-23 Thread Ghislain Simard
ok...it's a Query now same problemDatagrid is not updated --- In flexcoders@yahoogroups.com, "Stacy Young" <[EMAIL PROTECTED]> wrote: > An array of structures? Cause u won't be able to bind a single struct to > a datagrid... > > > > Stace > > > > > >

RE: >< [flexcoders] Re: update a list with new value from RemoteOject result

2005-07-23 Thread Stacy Young
An array of structures? Cause u won’t be able to bind a single struct to a datagrid…   Stace   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ghislain Simard Sent: Saturday, July 23, 2005 6:27 PM To: flexcoders@yahoogroups.com Subject: >< [fl

[flexcoders] Re: update a list with new value from RemoteOject result

2005-07-23 Thread Ghislain Simard
no..it's a structure. --- In flexcoders@yahoogroups.com, "Stacy Young" <[EMAIL PROTECTED]> wrote: > Wait, ur using CF...is this a recordset ur returning? Try: > > > > ecranRO.affichage.result._items > > > > -Stace > > > > > > From: flexcoders@yahoogr

[flexcoders] Re: update a list with new value from RemoteOject result

2005-07-23 Thread Ghislain Simard
yes...Here is the result: Result (object #2) .[0]: 74 .[1]: "hkhj" --- In flexcoders@yahoogroups.com, "Stacy Young" <[EMAIL PROTECTED]> wrote: > Have u tried tracing the value to see if ur actually getting anything > back? > > > > > > From: flexcode

RE: [flexcoders] Re: update a list with new value from RemoteOject result

2005-07-23 Thread Stacy Young
Wait, ur using CF...is this a recordset ur returning? Try:   ecranRO.affichage.result._items   -Stace   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ghislain Simard Sent: Saturday, July 23, 2005 5:56 PM To: flexcoders@yahoogroups.com Subj

RE: [flexcoders] Re: update a list with new value from RemoteOject result

2005-07-23 Thread Stacy Young
Have u tried tracing the value to see if ur actually getting anything back?   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ghislain Simard Sent: Saturday, July 23, 2005 5:56 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: update a

[flexcoders] Re: update a list with new value from RemoteOject result

2005-07-23 Thread Ghislain Simard
I can see the grid moving for inserting the value...but there is no value text inside. --- In flexcoders@yahoogroups.com, "Stacy Young" <[EMAIL PROTECTED]> wrote: > Try setting the result of the service call to a function...and have that > function set the dataprovider of ur grid. > > Would gr

RE: [flexcoders] Re: update a list with new value from RemoteOject result

2005-07-23 Thread Stacy Young
Try setting the result of the service call to a function…and have that function set the dataprovider of ur grid. Would grab u an example from livedocs but seems to be down…   -Stace   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ghislain S

Re: [flexcoders] Using Value Objects & CFC's

2005-07-23 Thread Douglas Knudsen
a CFC can except "types" defined by another CFC. In the cfargumnet tag use the CFC name, dot.noted.paths.are.ok.too. Note, the CFC method can also return "types" defined by CFCs too. DK On 7/23/05, Tariq Ahmed <[EMAIL PROTECTED]> wrote: > Hey Malcolm. Well CFC's generally only accept dataty

[flexcoders] Re: update a list with new value from RemoteOject result

2005-07-23 Thread Ghislain Simard
I have a grid and a button to add record in the grid and the database. Once the button is clicked, a popup appear asking for text. I want to save that name using a remoteObject in the database and gives me back the name and the newly ID created. I ant to display that result in the datagrid.

[flexcoders] Re: update a list with new value from RemoteOject result

2005-07-23 Thread Ghislain Simard
The grid is not updated... --- In flexcoders@yahoogroups.com, "Stacy Young" <[EMAIL PROTECTED]> wrote: > Can u maybe explain the problem in more detail? Is the grid not > updating? > > > > -Stace > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAI

[flexcoders] ValueObjects?

2005-07-23 Thread JesterXL
Currently proving OpenAMF is a piece of $h|t, hoping you can help. When hitting Java in Flash, we have to register our value objects like so: Object.registerClass("com.JavaClass", com.ActionScriptClass); Then, when we get a response, this'll trace out true: function resultHandler(result:ResultE

RE: [flexcoders] Re: update a list with new value from RemoteOject result

2005-07-23 Thread Stacy Young
Can u maybe explain the problem in more detail? Is the grid not updating?   -Stace   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ghislain Simard Sent: Saturday, July 23, 2005 3:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re:

Re: [flexcoders] opposite of initialize

2005-07-23 Thread JesterXL
Why didn't focusOut work? - Original Message - From: "Ghislain Simard" <[EMAIL PROTECTED]> To: Sent: Saturday, July 23, 2005 4:27 PM Subject: [flexcoders] opposite of initialize Is there an attributes which could trigger a function when the user is leaving a panel...doesn't matter whe

[flexcoders] opposite of initialize

2005-07-23 Thread Ghislain Simard
Is there an attributes which could trigger a function when the user is leaving a panel...doesn't matter where he is clicking? Something opposite to initialize I've tried without success unload, childDestroyed, focusOut. Thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/fle

Re: [flexcoders] Flex and CFCs -- problems displaying recordsets in datagrids

2005-07-23 Thread Tariq Ahmed
Good stuff! - Well I don't know if there's really a standard with respect to CF to Flex communications. Certainly there are naming convention standards that I see being adopted from the Flash/Java development side of things, and having things returned in a non-predictable manner can cost you

Re: [flexcoders] Using Value Objects & CFC's

2005-07-23 Thread Tariq Ahmed
Hey Malcolm. Well CFC's generally only accept datatypes they understand: boolean, string, numeric, array, struct, etc... This article may give you a head start: http://www.flexingcfmx.com/index.cfm?mode=entry&entry=D36D5CE5-FB00-283B-A23A89CB46949A4D Malcolm wrote: >Hi yo'll > >I am using Remo

[flexcoders] Re: update a list with new value from RemoteOject result

2005-07-23 Thread Ghislain Simard
I have no model. I'm communicating to the RemoteObject directly see: --- In flexcoders@yahoogroups.com, "Stacy Young" <[EMAIL PROTECTED]> wrote: > You could bind you

[flexcoders] no more then one icon per menu

2005-07-23 Thread Devin Holloway
I was adding icons to the menus in the MenuBar. When I added the icon for "print preview", it worked fine. Then I added the icon for "print", and it showed up, but the "print preview" icon disapeared. So then I removed the icon from "print", and the "print preview" one

[flexcoders] use diff themes(graphical skins) for 2 Accordion

2005-07-23 Thread superabe superabe
Hello List, Is'nt there any way of specifying different theme skins to be used by diff instances of the same component? E.G. Accordion "A" has green graphical skins with a Icon on the top right. Accordion "B" has blue graphical skins with no Icon Form the docs it seem like we can specify only

RE: [flexcoders] update a list with new value from RemoteOject result

2005-07-23 Thread Stacy Young
You could bind your result to a model and have your list and datagrid bound to their specific model. Whenever the result is received from the server, the model will be updated…and in turn, your UI components.   HTH, Stace   From: flexcoders@yahoogroups.com [mailto:flexcoders@

RE: [flexcoders] Datagrid Oddity

2005-07-23 Thread Stacy Young
Cellrenderer did the job. Any need for me to submit a bug report?   -Stace   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Friday, July 22, 2005 2:58 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Datagrid Odd

[flexcoders] update a list with new value from RemoteOject result

2005-07-23 Thread Ghislain Simard
Hi, I have a list and a datagrid that I would like to update. How to update all the columns and refresh the DataGrid and List dynamically using the RemoteObject result? The idea is that I would like to insert in the list the new created record with his new ID received from the RemoteObject re

[flexcoders] 1

2005-07-23 Thread Flexcoders
1 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS  Visit your group "flexcoders" on the web.   To unsubscribe from thi

[flexcoders] Using Value Objects & CFC's

2005-07-23 Thread Malcolm
Hi yo'll I am using Remote Objects (definitely the way to go) with ColdFusion 7 (CFC). I have no problems passing strings to a CFC but can't seem to be able to use Value Objects, is this possible? Or put another way can a CFC argument be of the type Object? Using example code from the Cairngorm