RE: [flexcoders] Using Value Objects CFC's

2005-07-24 Thread Malcolm
Ok think I am going to have to admit defeat here, I have now tried the following...I have created a cfc version of the Login Value Object. LoginVO.cfc cfcomponent cfproperty name=username type=string cfproperty name=password type=string /cfcomponent - CFC cfcomponent

Re: [flexcoders] Re: ValueObjects?

2005-07-24 Thread JesterXL
OpenAMF you are supposed to configure this in your openamf config xml file, and as you said, inside your Flash. With Flex since I don't have a config file I just do the ActionScript part only? - Original Message - From: Andrew Spaulding [EMAIL PROTECTED] To:

Re: [flexcoders] Re: ValueObjects?

2005-07-24 Thread JesterXL
Hrm... doing that doesn't work, inside the constructor, or during initialize of Application. Does it matter that this returns false? trace(remoteObject.method.result instanceof ContentTemplate); - Original Message - From: JesterXL [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent:

[flexcoders] how to save a component from the main apps

2005-07-24 Thread Ghislain Simard
I have a main apps which is calling a component. In the main app,I have a button to save the form inside the component. How do I tell the the main app that I want to save the info inside the component? mx:Application ... mx:Panel comp:myCompFrm mx:Panel mx:Button click=???//

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

2005-07-24 Thread superabe superabe
Thanks for the reply, but I could not get this to work. Nothing shows up when I try using a custom AccordionHeader class. However I did manage to achive my objective by programatically looping over the Accordion instance's headers ( using getHeaderAt() ) and setting the values for :

[flexcoders] Re: opposite of initialize

2005-07-24 Thread Ghislain Simard
My main is calling many components. The focusOut that I'm trying to trigger is inside those components. in the following example the focusOut didn't triggered. main.mxml mx:Application ... mx:Panel id=myPanel EEfrm:myComp id=SiteBatimentFrm/ /mx:Panel myComp.mxml mx:VBox

Re: [flexcoders] reskinning a list control

2005-07-24 Thread Clint Modien
Try this... 1. The default rowRender for mx:List is SelectableRow. 2. SelectableRow has a background property. 3. Try subclassing the SelectableRow class and overriding the background property and setting it to your new gradient swf. On 7/22/05, Devin Holloway [EMAIL PROTECTED] wrote: I'd

Re: [flexcoders] how to save a component from the main apps

2005-07-24 Thread Clint Modien
1. inside your myCompFrm write a save function: public function save(){.. saves the form...} 2. give your comp:myCompFrm an id property comp:myCompFrm id=myForm 3.call the func on the control from the button click mx:Button click={myForm.save()} /On 7/24/05, Ghislain Simard [EMAIL PROTECTED]

Re: [flexcoders] no more then one icon per menu

2005-07-24 Thread Clint Modien
deepa and matt posted this a while back... might solve your problem... ?xml version=1.0 encoding=iso-8859-1? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml mx:Script![CDATA[ [Embed(source=b.jpg)] var iconFilter:String; //For each child Menu, set an iconFunction function

Re: [flexcoders] Re: how to save a component from the main apps

2005-07-24 Thread Clint Modien
1.create a save() function inside each component 2. create a save() function in the application that calls save() on each of the components.On 7/24/05, Ghislain Simard [EMAIL PROTECTED] wrote:What could it be done if I have different components inside the main app whew I want to save that

[flexcoders] Re: how to save a component from the main apps

2005-07-24 Thread Ghislain Simard
How to get a generic save function which is saving the component that is opened? main.mxml function save():Void{ save component that is opened??? } --- In flexcoders@yahoogroups.com, Clint Modien [EMAIL PROTECTED] wrote: 1.create a save() function inside each component 2. create a

Re: [flexcoders] Re: how to save a component from the main apps

2005-07-24 Thread Clint Modien
http://livedocs.macromedia.com/flex/15/asdocs_en/mx/containers/ViewStack.html#selectedChild On 7/24/05, Ghislain Simard [EMAIL PROTECTED] wrote: How to get a generic save function which is saving the componentthat is opened?main.mxml function save():Void{save component that is opened??? }--- In

[flexcoders] accessing a different component once inside one of them

2005-07-24 Thread Ghislain Simard
I'm inside a component, trying to get access to another component and passing a value at the same. Any idea? main.mxml mx:Application mx:Panel mx:ViewStack id=vsl comp:myComp1 id=myComp1/ comp:myComp2 id=myComp2/ /mx:ViewStack /mx:Panel myComp1:

[flexcoders] before posting please read the faq

2005-07-24 Thread Clint Modien
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt -- 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

[flexcoders] Re: accessing a different component once inside one of them

2005-07-24 Thread Ghislain Simard
How can I connect back to a another stack component in the main app...see the code inside the function changeStack. The id called vsl is not recognized. Thanks main.mxml mx:Application mx:Panel mx:ViewStack id=vsl comp:myComp1 id=myComp1/ comp:myComp2

Re: [flexcoders] Re: accessing a different component once inside one of them

2005-07-24 Thread Sreejith Unnikrishnan
What you are trying to do would not work as far I as know. What you shoud be doing is creating an eventListener in myComp1 like below. mx:Metadata [Event("changeSelection")] /mx:Metadata Then pass that event to the main app using dispatchEvent({type:"changeSelection", variables}); Your

RE: [flexcoders] Re: accessing a different component once inside one of them

2005-07-24 Thread Steven Webster
Ghislain, There are a number of different ways of doing this, both covered in Developing Rich Clients with Macromedia Flex. Crudely, you could refer to mx.core.Application.application.vs1 (mx.core.Application.application is a static reference to the top-level of your app). Alternatively, you

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

2005-07-24 Thread Tariq Ahmed
The book in general has some best practices to pretty much everything. But your CF approach sounds good; we're in a similar situation in that we have a large knowledge management system built in CF - there will never be a plan to redo that in another language, and the flex stuff we build just

[flexcoders] Adobe Anticipates MacroDobe transaction will close in fall of 2005

2005-07-24 Thread Tariq Ahmed
Adobe Anticipates Adobe-Macromedia Transaction Will Close in Fall 2005 Filed under: Graphic Design News J.Rodriguez @ 11:21 pm Adobe announced that the Securities and Exchange Commission yesterday declared effective the registration statement on Form S-4 containing the joint proxy

[flexcoders] TextInput value passed to RemoteObject

2005-07-24 Thread Ghislain Simard
When I pass no value coming from a textinput to a CFC called with remoteObject and when the CFC is waiting for a numeric...How do I configure the empty value before passing to the CFC? CALL: MethodName: EEwizard3.cf.superficie.sauvegarde Parameters (object #2) .[0]: 1 .[1]: STATUS:

[flexcoders] refreshing a component

2005-07-24 Thread Ghislain Simard
Each time I'm leaving a component I want it saved (kind of save on exit). I've tried to use focusOut...didn't work. Is there way to do so? Each time I'm getting inside a component I want it to be refreshed automatically. When using Initialize, creationComplete, ChildCreated it's created

RE: [flexcoders] TextInput value passed to RemoteObject

2005-07-24 Thread Stacy Young
Use a change or focusOut that calls a function which in turn makes the remote call. This allows you to manipulate what youre sending rather than direct data binding between ui component and the service. -Stace From: flexcoders@yahoogroups.com

Re: [flexcoders] UNSOLVED problem in using web authentication using different website.

2005-07-24 Thread Manu Juyal
Hi all, I am still not able to figure out how to do it... Please post some suggetions that I can try... :( On 7/22/05, Manu Juyal [EMAIL PROTECTED] wrote: here is code snippet again I am using HTTPService to do authentication and also to retrieve the data. Following is the part of the

RE: [flexcoders] colorPicker component

2005-07-24 Thread Matt Chotin
I dont think weve released an updated version and I havent played to see if theres a bug.  Its full-fledged in 2.0 though so well make sure that it gets a test case. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Philippe Maegerman Sent: Friday, July

RE: [flexcoders] ComboBox cellRenderer

2005-07-24 Thread Matt Chotin
mx:ComboBox dataProvider={sizes.size} creationComplete=event.target.getDropdown().cellRenderer = sizeRenderer; event.target.getDropdown().variableRowHeight=true / That worked for me. However I did see the problems with the scrollbar and it looks like a bug in the list related to

RE: [flexcoders] Re: Global Variable or session Attribute

2005-07-24 Thread Matt Chotin
Yep, Application.application can hold your variable, or a singleton class, statics on a class, or whatever other mechanism is appealing. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jaya_selva Sent: Friday, July 22, 2005 2:37 AM To:

RE: [flexcoders] Flex und SOAP Parameters (PS)

2005-07-24 Thread Matt Chotin
Hmm, are you creating the WSDL by hand or is something doing it for you? Probably when created the value and then set it back to empty you are passing empty strings instead of no value at all. Sounds like the WSDL will need updating to set only one as being required. Matt

RE: [flexcoders] XML Aggregation Failed

2005-07-24 Thread Matt Chotin
As far as I know Flex isnt doing any xml aggregation (the proxy does not interpret the XML nor would the web service decoder). So Id check your web service The word aggregation doesnt appear in our source anywhere J Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] DataProvider API doing strange things... very confused!

2005-07-24 Thread Matt Chotin
That is odd. I found that when I changed the type of globalModel from DataProvider to Array the length returned correctly. Must be some weird casting going on in the VM thats screwing things up. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] Datagrid Oddity

2005-07-24 Thread Matt Chotin
Sure J From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stacy Young Sent: Saturday, July 23, 2005 11:18 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Datagrid Oddity Cellrenderer did the job. Any need for me to submit a bug report?

RE: [flexcoders] refreshing a component

2005-07-24 Thread Matt Chotin
Focus is generally not passed to containers which is what your components are. I think youll need to have your component monitor the focus of its children and then when focus has left a child (but has not entered another child of the component) thats when youll know focus is gone. And

RE: [flexcoders] Re: ValueObjects?

2005-07-24 Thread Matt Chotin
We generally do it in a static in your class: Static var doRegister = Object.registerClass(, ) Make sure you have a typed reference to your class in your Flex app though. The class has to be linked into the SWF and that means another class must refer to it by its type. Matt

[flexcoders] DataProvider filters?

2005-07-24 Thread Aldo Bucchi
Hi all, According to the docs, the flex DataProvider class can broadcast the event filterModel. However I cannot find anything about filters in the docs. Anyone? Thanks, -Aldo -- : Aldo Bucchi : mobile (56) 8 429 8300 -- Flexcoders Mailing List FAQ: