[flexcoders] open source TreeGrid, disclosure triangle
Anyone work with the open source treegrid component from sourceforge? (Not the flexlib version) If so, how can I change the disclosure icon from the + and - sign to a triangle?
[flexcoders] Re: summaryFunction for alphabetical strings or chronological dates
Perhaps I didn't describe this well. Has anyone played enough with the AdvancedDatagrid to get into the SummaryFunction? Or maybe it just needs a bump... *BUMP* :) --- In flexcoders@yahoogroups.com, ryanharlin [EMAIL PROTECTED] wrote: Anyone know how to use the summaryFunction in the new AdvancedDatagrid (ADG) to return the first alphabetical occurrence in a group? date would be cool too, but I'll stick to alpha if it helps explain the summaryFunction. THANKS!
[flexcoders] summaryFunction for alphabetical strings or chronological dates
Anyone know how to use the summaryFunction in the new AdvancedDatagrid (ADG) to return the first alphabetical occurrence in a group? date would be cool too, but I'll stick to alpha if it helps explain the summaryFunction. THANKS!
[flexcoders] Re: accessing nested objects... what am I missing?!?!
So things are half-working. I say half-working because they work but they give me an error when I compile. switching a viewstack in the nested mxml app is done like this in my code: viewstack in main file is called mainscreens inside that viewstack are two fr tags so it looks like this: mx:ViewStack id=mainScreens fr:appOne id=appOne / fr:appTwo id=appTwo / /mx:ViewStack If I try and change a viewstack that's in appOne, called 'myView', I do this (based on advice earlier in this thread): click = mainScreens.myView.selectedChild = screen2; If try to run this app I get an error that says: 1119:Access of possibly undefined property myView through a reference with static type mx.containers:ViewStack BUT IT WORKS! If I ignore the error and run the app, the code works. But I get the error every time I compile and I think it's messing up other things below it in the program. --- In flexcoders@yahoogroups.com, Adnan Doric [EMAIL PROTECTED] wrote: It is better to dispatch events from your nested component and handle them in your parent component. --- In flexcoders@yahoogroups.com, ryanharlin ryanharlin@ wrote: Thanks for the help. Your solution worked in practice but I do still get an error prior to compiling. If I ignore the error and compile, though, it works. But similarly, I want to be able to call functions that are in these different mxml files. So if I have an mxml file called navigation.mxml embedded in the master app file called master.mxml, how can I call master.mxml functions from navigation.mxml? Back from the flash days, I thought this would work: root.myFunction(); but it doesn't. I'm sure this problem is related to my earlier post, that's why I have it in the same thread. thanks, ryan --- In flexcoders@yahoogroups.com, ryanharlin ryanharlin@ wrote: I have a simple enough question, I think. But I've been struggling with it for two days. I have an mxml application which has a viewstack in it. The children in the viewstack are fr: tags for other mxml files It looks like this: mx:ViewStack id=mainScreens fr:interfacePanel id=interfacePanel / fr:otherPanel id=otherPanel / /mx:ViewStack In the mxml file called interfacePanel I have another viewstack with interface screens on them. How can I select different children of that viewstack from the main mxml app. I would think I'd do something like this: mx:button click=mainScreens.interfacePanel.secondViewstack.selectedChild = Page2; / But that doesn't work. Does anyone know the method of addressing object across multiple nested mxml files? Thanks! Hopefully someone can show me what I'm missing.
[flexcoders] navigation via mx:Tree
I'd like to have an mx:Tree that acts as a navigation menu; where clicking an item in the Tree switches a viewStack to the corresponding page. I have an xml file with nodes that look like this: section name=Folder 1 sectName=Folder 1 catID=1 subsection name=Item 1 subName=itemOne / subsection name=Item 2 subName=itemTwo / /section When rendered in a tree it creates a folder called Folder 1 with two sub-items called Item 1 and Item 2, respectively. I have a function that's triggered onChange for the tree that looks like this: public function treeChanged(event:Event):void { selectedNode=Tree(event.target).selectedItem; var myDestination:String = [EMAIL PROTECTED]; trace ([EMAIL PROTECTED]); } That runs fine. Clicking on a item in the Tree traces itemOne or itemTwo in the console. Now... I then have a viewStack with children named itemOne and itemTwo. And I want to have the tree change read the newly selected item in the tree and go to the corresponding viewStack child. So I added this to the function: public function treeChanged(event:Event):void { selectedNode=Tree(event.target).selectedItem; var myDestination:String = [EMAIL PROTECTED]; myViewstack.selectedChild = [EMAIL PROTECTED]; } unfortunately, this doesn't work. does anyone see how to do this better?
[flexcoders] Re: accessing nested objects... what am I missing?!?!
Thanks for the help. Your solution worked in practice but I do still get an error prior to compiling. If I ignore the error and compile, though, it works. But similarly, I want to be able to call functions that are in these different mxml files. So if I have an mxml file called navigation.mxml embedded in the master app file called master.mxml, how can I call master.mxml functions from navigation.mxml? Back from the flash days, I thought this would work: root.myFunction(); but it doesn't. I'm sure this problem is related to my earlier post, that's why I have it in the same thread. thanks, ryan --- In flexcoders@yahoogroups.com, ryanharlin [EMAIL PROTECTED] wrote: I have a simple enough question, I think. But I've been struggling with it for two days. I have an mxml application which has a viewstack in it. The children in the viewstack are fr: tags for other mxml files It looks like this: mx:ViewStack id=mainScreens fr:interfacePanel id=interfacePanel / fr:otherPanel id=otherPanel / /mx:ViewStack In the mxml file called interfacePanel I have another viewstack with interface screens on them. How can I select different children of that viewstack from the main mxml app. I would think I'd do something like this: mx:button click=mainScreens.interfacePanel.secondViewstack.selectedChild = Page2; / But that doesn't work. Does anyone know the method of addressing object across multiple nested mxml files? Thanks! Hopefully someone can show me what I'm missing.
[flexcoders] accessing nested objects... what am I missing?!?!
I have a simple enough question, I think. But I've been struggling with it for two days. I have an mxml application which has a viewstack in it. The children in the viewstack are fr: tags for other mxml files It looks like this: mx:ViewStack id=mainScreens fr:interfacePanel id=interfacePanel / fr:otherPanel id=otherPanel / /mx:ViewStack In the mxml file called interfacePanel I have another viewstack with interface screens on them. How can I select different children of that viewstack from the main mxml app. I would think I'd do something like this: mx:button click=mainScreens.interfacePanel.secondViewstack.selectedChild = Page2; / But that doesn't work. Does anyone know the method of addressing object across multiple nested mxml files? Thanks! Hopefully someone can show me what I'm missing.
[flexcoders] Re: Flex Data Services painfully slow?
Yeah, I've got 2 gigs in the MacBook and 1 gig given to Windows. The database is an access MDB file right now. The difference in speed when testing from the internal ip address here on the home network vs. from outside via the external ip address is such a dramatic difference that I can't chalk it up to the computer because the computer behaves fine on the internal IP address. As an example, loading a datagrid that hits the mdb file with four records in the database takes a few seconds on when going to 192.168...:8700 but when going to 216.45...:8700 it takes nearly 3 minutes. That can't be the computer. It's got to be a network issue. I'm just not good enough to know what that issue would be. --- In flexcoders@yahoogroups.com, boy_trike [EMAIL PROTECTED] wrote: My setup is pretty basic. I'm coding at home the requests come into my router which is set up to forward port 8700 to the MacBook which is running Windows and hosts the DB, Coldfusion, and FDS. Just curious, I ASSUME you have 2G of ram in your macbook and therefore allocate 1G for windows, AND your Database (which is) AND Coldfusion (a REAL J2EE App Server) AND FDS in 1 GIG with a SLOW laptop harddisk? I mention this because I am doing my development on both a Macbook Pro and a MacPro (with 4 gig) and the MacPro is MUCH faster (about 2-4X faster). bruce -- 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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Flex Data Services painfully slow?
Hmmm... the CFCs are the auto-generated ones from the Create CFC Wizard. Are they notoriously inefficient? --- In flexcoders@yahoogroups.com, Kelly [EMAIL PROTECTED] wrote: My first guess would be to look for inefficient looping or queries in Coldfusion. Put timers in your cfc's to see how long they are taking to execute on their own. That is the most likely culprit. --Kelly _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ryanharlin Sent: Monday, October 23, 2006 5:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex Data Services painfully slow? How could I diagnose and identify routing and/or DNS problems? My setup is pretty basic. I'm coding at home the requests come into my router which is set up to forward port 8700 to the MacBook which is running Windows and hosts the DB, Coldfusion, and FDS. There's no DNS I'm running and I access by direct IP address. Any thoughts on how to test both of these good suggestions? --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com, Paul Andrews paul@ wrote: I can't really say about FDS being slow, but on other systems where we've had painful network transfers, it's often been followed back to a DNS routing problem. Paul - Original Message - From: Matt Chotin To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com Sent: Monday, October 23, 2006 10:56 PM Subject: RE: [flexcoders] Flex Data Services painfully slow? Is there a proxy server involved somehow maybe? There is no licensing throttling or anything like that. It just sounds like you're having routing problems or something similar? -- From: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com [mailto:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of ryanharlin Sent: Monday, October 23, 2006 7:24 AM To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] Flex Data Services painfully slow? I'm getting into developing a flex application with Flex Data Management Services using Coldfusion CFCs to talk to the backend. All's going well enough, except for one problem. When I test from outside the internal network... ie. hit the server from home over a regular broadband connection... the data that loads into my datagrid takes almost 2 minutes to load. Slow is not an accurate enough word. It's more like 'unusable' or 'deal breaker.' Even on the faster internal network testing the pages have noticeable delays when loading. After entering the localhost:8700 address in the browser and hitting enter it sits for a while on waiting for localhost... before the page loads. Is all this solved when you go beyond a single machine to host the database, coldfusion development server, and flex development server? Or are the development server licenses throttled back to make them non-options for those that would consider rolling out without licensing the real deal? -- 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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Flex Data Services painfully slow?
I'm getting into developing a flex application with Flex Data Management Services using Coldfusion CFCs to talk to the backend. All's going well enough, except for one problem. When I test from outside the internal network... ie. hit the server from home over a regular broadband connection... the data that loads into my datagrid takes almost 2 minutes to load. Slow is not an accurate enough word. It's more like 'unusable' or 'deal breaker.' Even on the faster internal network testing the pages have noticeable delays when loading. After entering the localhost:8700 address in the browser and hitting enter it sits for a while on waiting for localhost... before the page loads. Is all this solved when you go beyond a single machine to host the database, coldfusion development server, and flex development server? Or are the development server licenses throttled back to make them non-options for those that would consider rolling out without licensing the real deal? -- 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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Flex Data Services painfully slow?
How could I diagnose and identify routing and/or DNS problems? My setup is pretty basic. I'm coding at home the requests come into my router which is set up to forward port 8700 to the MacBook which is running Windows and hosts the DB, Coldfusion, and FDS. There's no DNS I'm running and I access by direct IP address. Any thoughts on how to test both of these good suggestions? --- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: I can't really say about FDS being slow, but on other systems where we've had painful network transfers, it's often been followed back to a DNS routing problem. Paul - Original Message - From: Matt Chotin To: flexcoders@yahoogroups.com Sent: Monday, October 23, 2006 10:56 PM Subject: RE: [flexcoders] Flex Data Services painfully slow? Is there a proxy server involved somehow maybe? There is no licensing throttling or anything like that. It just sounds like you're having routing problems or something similar? -- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ryanharlin Sent: Monday, October 23, 2006 7:24 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Data Services painfully slow? I'm getting into developing a flex application with Flex Data Management Services using Coldfusion CFCs to talk to the backend. All's going well enough, except for one problem. When I test from outside the internal network... ie. hit the server from home over a regular broadband connection... the data that loads into my datagrid takes almost 2 minutes to load. Slow is not an accurate enough word. It's more like 'unusable' or 'deal breaker.' Even on the faster internal network testing the pages have noticeable delays when loading. After entering the localhost:8700 address in the browser and hitting enter it sits for a while on waiting for localhost... before the page loads. Is all this solved when you go beyond a single machine to host the database, coldfusion development server, and flex development server? Or are the development server licenses throttled back to make them non-options for those that would consider rolling out without licensing the real deal? -- 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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] compilation error?
I'm trying to set up and run the CRM coldfusion example from the adobe dev website. Everything seems to go well and I can run the .cfm files to access the datasource in a traditional coldfusion setting. But when i try to run the .mxml file (the last step of the tutorial) I get the following error: 1 Exception found. Exception flex.messaging.config.ConfigurationException Configuration error encountered on line 9, column 52: 'Open quote is expected for attribute class.' What would this mean and how would I fix it? I'm new to coldfusion and flex. I love flex and the mxml language but I'm finding the documentation on Flex Data Services to be a little lacking in detail. I can't wait for the first flex books to come out. Thanks to all for any help! Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM ~- -- 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 * 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: http://docs.yahoo.com/info/terms/