Re: Web service listener
That seems to work. Thanks! Goran --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: mx:WebService id=WS result=myResultHandler(event) / mx:Script Function myResultHandler(oEvent:Object):Void { trace(oEvent.result.toString()); //or something like that } -Original Message- From: goran187 [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 3:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Web service listener Does anyone know how to create a listener for a Web service? To be more precise: I have a web service called WS. When I call a method WS.MethodName.send() I want to be able to listen to WS.MethodName.result. When the result is returned I want to executre a function. Thanks, Goran Yahoo! Groups Links
RE: [flexcoders] Execute code before any component is put on the stage
Title: Message Hmm, this is an interesting idea. I still have one small problem though. When i use this MXMLObject interface my code will be run before the visual mxml components, right? But in the code i need to load an external ini file, wich could takesome time. When its loaded, some visual components mich be on the stage. A possible solution was to use the mx:String tag. This way the content would be included in the swf. There is however one problem with the mx:String tag, it tries to parse the string thats in the source. And with css files, { and } are pretty common... So is there a way to include a string in a flex application (compile time) without having it parsed? Greetz Erik From: Dirk Eismann [mailto:[EMAIL PROTECTED] Sent: vrijdag 18 februari 2005 16:56To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Execute code before any component is put on the stage Ahh - I see :) If your parser is a "code only" classyou do notnecessarily need to subclass a Flex class.Take a look at the mx.core.MXMLObject interface. By implementing it you can use your class in MXML and still get it initialized before visible UI components. Cheers, Dirk -Original Message-From: Erik Westra [mailto:[EMAIL PROTECTED]Sent: Friday, February 18, 2005 4:48 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Execute code before any component is put on the stage What i want to achieve? I created a custom CSS parser wich enables u to set styles per component instance and also enable u to use CSS classes with the same nameon different types of elements (instances). In order to doso i needed to make the UIObject extend a class of my own at runtime (wich is fairly easy) the problem was, this needed to be done before the components are instantiated. I'll send the source with an example when i haveit cleaned up and ready to go :) Greetz Erik From: Dirk Eismann [mailto:[EMAIL PROTECTED] Sent: vrijdag 18 februari 2005 16:39To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Execute code before any component is put on the stage Sorry, but what exactly do you want to achieve? The initialize event on the main app will fire when all components are initialized, that's true. Flex instantiates the components from bottom totop, the most nested component is initialized first. Dirk. -Original Message-From: Erik Westra [mailto:[EMAIL PROTECTED]Sent: Friday, February 18, 2005 4:19 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Execute code before any component is put on the stage When the initialize event is called, all 'mx:'tags that refer to mxml files (wich are compiled to components) are allready instantiated. If they were not u would not be able to (for example) setthe text of a TextArea instance. Greetz Erik From: Dirk Eismann [mailto:[EMAIL PROTECTED] Sent: vrijdag 18 februari 2005 16:08To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Execute code before any component is put on the stage Try the initialize event on the main Application tag: mx:Application initialize="yourFunction()" ... Dirk. -Original Message-From: Erik Westra [mailto:[EMAIL PROTECTED]Sent: Friday, February 18, 2005 3:26 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Execute code before any component is put on the stage Is it possible to execute some code before aflex application starts with instantiating visual components? Greetz Erik
RE: [flexcoders] popup window with custom component ( not extending TitleWindow )
WineDetail.mxml There is no property with the name 'PopUpDetail' The class PopUpDetail, is it in the same folder as WineDetail? Is the class PopUpDetail in the same folder as the .mxml file with the application tag in it? If not, add this line to your script (at the TOP): import path.to.file.PopUpDetail; Greetz Erik -Original Message- From: Owen van Dijk [mailto:[EMAIL PROTECTED] Sent: dinsdag 22 februari 2005 17:42 To: flexcoders@yahoogroups.com Subject: [flexcoders] popup window with custom component ( not extending TitleWindow ) I've been working on a Flex application that requires a modal popupwindow. I have created a PopUpDetail.mxml that uses a Canvas. I then have another custom MXML component that is also based on a Canvas. The component is called WineDetail.mxml. In WineDetail.mxml is a Script block that uses the following AS ( straight from the Flex book ): -- function openWineDetail() { var parentToPopUpOver = this; var isModal:Boolean = true; var initObj = {}; var popUp = mx.managers.PopUpManager.createPopUp( parentToPopUpOver, PopUpDetail, isModal, initObj ); } -- WineDetail is then put into a Repeater object , something like this: mx:Repeater id=rp dataProvider={jumboWS.GetWineTop10.result.diffgram.NewDataSet.Table} WineDetail wineID={rp.currentItem.ID} winenumber={rp.currentIndex} winedetaillabel={rp.currentItem.NAME} wineimage={host}Images/wine/wine_{rp.currentItem.ID}_1.jpg xmlns=* / /mx:Repeater note the xmlns attribute. When i click on a WineDetail component, it's supposed to create a PopUpWindow, but i never got it to work.I'm getting the following error, among others: WineDetail.mxml There is no property with the name 'PopUpDetail' It might be something obvious i'm missing here, but i'm working against a killer deadline, and this close to find another hack around it...if somebody has a clue, you may enlighten me :) ( I figured that it's something as simple as using a Titlewindow instead of a Canvas? ) Thnx -- Owen van Dijk Yahoo! Groups Links
RE: [flexcoders] Execute code before any component is put on the stage
mx:String is special-cased in the compiler. File an enhancement request at http://www.macromedia.com/go/wish for the do-not-parse capability. Currently the backslash technique you found is the only way to do it if I remember right. Matt From: Erik Westra [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 1:37 AM To: [EMAIL PROTECTED] Subject: RE: [flexcoders] Execute code before any component is put on the stage Yeah I thought of that solution too. What works too is escape the {and }. Mx:String is not a actionscript class as faras I can tell, if it was I could simply subclass it... Just wondering: how hard would it be to add a tag to flex that wont parse the content passed with a source attribute? Greetz Erik -Original Message- From: Dirk Eismann [mailto:[EMAIL PROTECTED] Sent: dinsdag 22 februari 2005 10:32 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Execute code before any component is put on the stage Hi Erik, the only way of compiling external files into a Flex app I know of is to use the source attribute of the Script, Style, Model or XML tags. Maybe the last one works for you if you do something like this (not tested, just an idea): 1) Define an external XML file with just onenode. This node is a CDATA node that won't get parsed as XML. 2) Place your CSS definitions into this CDATA block. 3) Pull the file into your app during compile time with the mx:XML tag and parse it afterwards !-- inside your mxml file -- mx:XML id=styleData source=externalCSS.xml !-- externalCSS.xml -- ?xml version=1.0 encoding=utf-8? style ![CDATA[ myStyle { font-size: 42; font-weight: bold; } ]] /style You'll then have to parse the CDATA part by your self, of course. Dirk. -Original Message- From: Erik Westra [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 10:17 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Execute code before any component is put on the stage Hmm, this is an interesting idea. I still have one small problem though. When i use this MXMLObject interface my code will be run before the visual mxml components, right? But in the code i need to load an external ini file, wich could take some time. When its loaded, some visual components mich be on the stage. A possible solution was to use the mx:String tag. This way the content would be included in the swf. There is however one problem with the mx:String tag, it tries to parse the string thats in the source. And with css files, { and } are pretty common... So is there a way to include a string in a flex application (compile time) without having it parsed? Greetz Erik Yahoo! Groups Links
RE: [flexcoders] recalculate panel height
You need to resize the VBox, to shrink down to match the DataGrid, you cant leave it at 100%. Since youre going to resize the VBox anyway Id just do that and leave the DG height alone. Matt From: Tom Fitzpatrick [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 4:44 AM To: [EMAIL PROTECTED] Subject: [flexcoders] recalculate panel height I have a panel that contains three VBoxes. Each VBox contains 3 datagrids. The panel's height and the heights of the VBoxes are set to 100%. I also have a function that shows and hides the datagrids inside the top VBox by toggling their rowHeight between 0 and 14 and their visibility between true and false. How do I get the panel container to recalculate its height depending on whether the datagrids in the top VBox are showing or hidden? And - is this the most efficient way to show/hide the datagrids?
Re: [flexcoders] Coolest Flex Site Ever!
Looks nice, but did you have a specific reason to use Flex instead of just Flash?? Because it looks like it could have been done with Flash a lot easier then to do all this with flex??? But anyway looks great, Michael sfalien wrote: Want to see something totally different made with Flex and uses almost 100% custom built components, with really tight interation with Flash? Check out my new site that I built (with some help from Macromedia) for Macy's Juniors Brand called This Is IT. http://www.thisit.com Enjoy! Yahoo! Groups Links
RE: [flexcoders] Re: Axis Webservices
Rob, Have you tried accessing the web service without using the proxy? I'd be curious to see the effect. From what I know about Tomcat 5.5.7, the major difference would be the use of JDK 1.5. I can't imagine why you'd ever get a 405from a web service call. Are POST requests turned off? I can't imagine why they would be. Have you looked at the generated HTTP headers using something like tcptunnel from Apache? Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY ext. 89 Mobile: 1.703.489.6466 Take PowerBuilder to the Web with EAF 4.0 http://www.cynergysystems.com/public/products/eaf From: Rob [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 1:31 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: Axis Webservices I am having the same issue; however, in my specific case, a review of Tomcats log revealsthat the underlying error is a http 405 error on the POST, in other words, when I issue the send() method I receive the error. The WSDL can be viewed fine when called directly, but going though the flashproxy is when the problem happens. Whats interesting is that the same WSDL and other code works fine onTomcat 4.1I have this problem only with Tomcat 5.5.7Im still researching my specific issue and will reply back if I get an updateMy specific question at this point is whether I have configured the flashproxy servlet correctly (if thats possible in flex-config)and/or whether Tomcats change to servlet spec 2.4 from 2.3 has somehow introduced this for the flashproxyagain, still researching. From: Carson Hager [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 1:15 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: Axis Webservices Can you post theWSDL for your web service? Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY ext. 89 Mobile: 1.703.489.6466 Take PowerBuilder to the Web with EAF 4.0 http://www.cynergysystems.com/public/products/eaf From: valysivec27 [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 10:50 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Axis Webservices The webservice is running on the same machine under Tomcat. The flex application runs on Flex-JRun. I want to mention that I was able to connect to google webservices but without any luck to the webservices I'm running locally.The "Vacancy" web services has some required input parameters and when I igore them I got an eror that the input parameters are missing.. then after I add them, I'm getting "unable to connect to endpoint" error message. Any ideas are welcome,Thanks.Valy--- In flexcoders@yahoogroups.com, "Carson Hager" [EMAIL PROTECTED] wrote: I see you're using localhost. Are the Axis implementation and Flex implementations on the same machine? Have you opened up localhost for web services in flex-config.xml? Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com http://www.cynergysystems.com/ Email: [EMAIL PROTECTED] Office: 866-CYNERGY ext. 89 Mobile: 1.703.489.6466 Take PowerBuilder to the Web with EAF 4.0 http://www.cynergysystems.com/public/products/eaf _ From: valysivec27 [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 9:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Axis Webservices Hello Flexcoders, I want to connect via flex to an Axis Webservice hosted by Tomcat J2EE app server but I'm getting "unable to connect to endpoint WEB SERVICE NAME" error. Here is the webservice declaration: mx:WebService id="employeeWS" wsdl="http://localhost/app/services/Vacancy?wsdl" showBusyCursor="true" useProxy="false" fault="alert(event.fault.faultstring)" mx:operation name="getRate" result="resultService = event.result" mx:request param1100/param1 /mx:request /mx:operation /mx:WebService Any thoughts? Thank you verymuch. Did you guys use flex + axis webservices? Are there any incompatibilities? _ 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] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ .
RE: [flexcoders] Coolest Flex Site Ever!
I think it looks good, but its slow in my machine I got tired of waiting ;) -Original Message-From: Valy Sivec [mailto:[EMAIL PROTECTED]Sent: Tuesday, February 22, 2005 12:53 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Coolest Flex Site Ever! Nice work!. It looks great!. Although, I have few comments: 1. the title page is not set correctly 2. it tooks a while to load the page, which is fine by me, but not sure about my manager :)) Regards, Valysfalien [EMAIL PROTECTED] wrote: Want to see something totally different made with Flex and uses almost 100% custom built components, with really tight interation with Flash? Check out my new site that I built (with some help from Macromedia)for Macy's Juniors Brand called This Is IT. http://www.thisit.comEnjoy! Do you Yahoo!?All your favorites on one personal page Try My Yahoo!
Re: [flexcoders] macromedia.css.LocatorParser error
Hi Cathy, thanks for your reply. I have tried out your suggestion. Now I receive the following error-message: 16 Errors found.Error /home/webspace/xxx.staging.xxx.de/style/style.css:-1 macromedia.css.LocatorParserError /WEB-INF/flex/frameworks/mx/core/UIObject.as The class 'mx.styles.StyleProtoChain' could not be loaded.Error /WEB-INF/flex/frameworks/mx/core/UIObject.as:65 The class 'mx.core.UIObjectDescriptor' could not be loaded.Error /WEB-INF/flex/frameworks/mx/core/UIObject.as:203 The class 'mx.styles.CSSStyleDeclaration' could not be loaded.Error /WEB-INF/flex/frameworks/mx/core/UIComponent.as The class 'mx.managers.SystemManager' could not be loaded.Error /WEB-INF/flex/frameworks/mx/core/UIComponent.as:48 There is no class with the name 'mx.core.UIObject'.Error /WEB-INF/flex/frameworks/mx/core/View.as:16 The class 'mx.skins.RectBorder' could not be loaded.Error /WEB-INF/flex/frameworks/mx/core/View.as:28 The class 'mx.core.UIObject' could not be loaded.Error /WEB-INF/flex/frameworks/mx/core/View.as:32 The class 'mx.core.UIObject' could not be loaded.Error /WEB-INF/flex/frameworks/mx/core/View.as:46 The class 'mx.core.UIObject' could not be loaded. Error /WEB-INF/flex/frameworks/mx/core/View.as:49 The class 'mx.core.UIObject' could not be loaded. What could be the cause? Has it anything to do with the mx.swc? Thank you in advance for your reply... CU Benjamin - Original Message - From: Cathy Murphy To: flexcoders@yahoogroups.com Sent: Tuesday, February 22, 2005 5:36 PM Subject: RE: [flexcoders] macromedia.css.LocatorParser error Would you add -Dtrace.error to your jvm.config file? This should be under jrun-root/bin/jvm.config. Then, restart the server and try your test file. This should provide additional information. We haven't seen any issues with macromedai.css.LocatorParserwith Flex andJRun/ColdFusion. It might be related to classloader issues withyour particular setup. Please also provide any additions to the server classpath. - Cathy From: Benjamin Steiner [mailto:[EMAIL PROTECTED] Sent: Sunday, February 20, 2005 7:04 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] macromedia.css.LocatorParser error Hi, at the moment I'm trying to get my Flex-application running on the server. On the server Flex is installed under Coldfusion/JRun.Operating system is Linux. Unfortunatelly, when starting the application on the server the following error-message is being shown: macromedia.css.LocatorParser If commenting the line which is including my CSS, everything works perfect. So the CSScertainlyhas no syntax-errors. I also receive the error-message when the CSS is empty. Does anybody know any solutions? Perhaps some settings of the server have to be done to get the server load the CSS? Or has it anything to do with the global.css? Thank you in advance for your help Cheerio! Benjamin
Re: [flexcoders] Coolest Flex Site Ever!
Very nice. I just find the IT menu a tad obnoxious... sfalien wrote: Want to see something totally different made with Flex and uses almost 100% custom built components, with really tight interation with Flash? Check out my new site that I built (with some help from Macromedia) for Macy's Juniors Brand called This Is IT. http://www.thisit.com Enjoy! Yahoo! Groups Links
Re: Instantiate an HTTPService object in ActionScrip t
I figured it out. The HTTPService depends on the document object's url to do it's job. So that the HTTPService has this I implemented the MXMLObject interface as follows: class ASDataManager implements mx.core.MXMLObject { //implements MXMLObject var _id:String; var _document:Object; public function initialized(document:Object, id:String):Void { _id = id; _document = document; retrieveDefault.initialized(document, id) } This allows me to use my DataManager in an ActionScript varible or as an MXML tag. Very cool. Also, I had to manually set the HTTPService's proxyURL property. This is something normally done by flex. In my case, the proxy for my guiboApp site assigned as follows: retrieveDefault.proxyURL = /guiboApp/flashproxy That's it. It now works as an independant component. Bill --- In flexcoders@yahoogroups.com, billheit [EMAIL PROTECTED] wrote: Thanks for your help. Yes, I realize that the web service is called asynchronously. However, I had not gotten that far yet. The HTTPService.send method did not make a request to my web service (which I was monitoring) and so I knew something was not working. What values could I try passing to the initialized method. Is id the name of the HTTPService? What could I pass as an document object? Bill --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Creating an HTTPService not through a tag is not officially supported right now. I don't remember if not calling initialized will actually hurt you, mostly it would screw up validation if you had any but I think it should be OK. The bigger problem is that you're trying to access the result too quickly. You need to do it in a result handler (addEventListener (result)) since the call is asynchronous. Don't forget to use Delegates. Matt _ From: billheit [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 1:05 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Instantiate an HTTPService object in ActionScript I am trying to create a custom component to manage my Web Services. So far I have created a class that contains a variable of type mx.servicetags.HTTPService as follows: class DataManager extends Object{ public var requestService:mx.servicetags.HTTPService; public function ASDataManager(){ super(); // mx.servicetags.HTTPService.initialize() requestService = new mx.servicetags.HTTPService() requestService.url = http://bheitstuman03/GBOS/ObjectService.asmx/requestObjects http://bheitstuman03/GBOS/ObjectService.asmx/requestObjects requestService.method = get requestService.resultFormat = object var params:Object = new Object() params.objectXML = params.credentials = UserBob;BobsPassword requestService.request = params requestService.addEventListener(fault, this.handleFault); } public function getData(){ requestService.send() var test:Object test = requestService.result } public function handleFault(event):Void{ trace(Send Fault); } } However, when I create an instance of this above DataManager and call the getData method, it doesn't work. After stepping through the code, I noticed that it does call the HTTPService's send method but the local _document variable has no value. I also noticed that the initialized function sets this variable's value as follows: public function initialized(document : Object, id : String) : Void { _id = id; _document = document; } Does anyone know how to instantiate a working HTTPService object within ActionScript? Yahoo! Groups Sponsor http://us.ard.yahoo.com/SIG=129i3ttta/M=324658.6070095.7083352.30011 76/D=gr oups/S=1705007207:HM/EXP=1109106304/A=2343726/R=0/SIG=12imu8r9h/*http :/clk.a tdmt.com/VON/go/yhxxxvon01900091von/direct/01/time=1109019904991955 http://us.ard.yahoo.com/SIG=129i3ttta/M=324658.6070095.7083352.30011 76/D=gr oups/S=1705007207:HM/EXP=1109106304/A=2343726/R=1/SIG=12imu8r9h/*http :/clk.a tdmt.com/VON/go/yhxxxvon01900091von/direct/01/time=1109019904991955 Get unlimited calls to http://us.ard.yahoo.com/SIG=129i3ttta/M=324658.6070095.7083352.30011 76/D=gr oups/S=1705007207:HM/EXP=1109106304/A=2343726/R=1/SIG=12imu8r9h/*http :/clk.a tdmt.com/VON/go/yhxxxvon01900091von/direct/01/time=1109019904991955 U.S./Canada http://us.ard.yahoo.com/SIG=129i3ttta/M=324658.6070095.7083352.30011 76/D=gr oups/S=1705007207:HM/EXP=1109106304/A=2343726/R=1/SIG=12imu8r9h/*http :/clk.a tdmt.com/VON/go/yhxxxvon01900091von/direct/01/time=1109019904991955 http://view.atdmt.com/VON/view/yhxxxvon01900091von/direct/01/time=1 1090199 04991955 http://us.adserver.yahoo.com/l? M=324658.6070095.7083352.3001176/D=groups/S= :HM/A=2343726/rand=180738204 _ Yahoo! Groups
RE: [flexcoders] Re: Axis Webservices
I agree on the post errorstrange, especially since its working fine with TC4.1...Ill try bypassing the proxy to see what happens From: Carson Hager [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 1:51 PM To: [EMAIL PROTECTED] Subject: RE: [flexcoders] Re: Axis Webservices Rob, Have you tried accessing the web service without using the proxy? I'd be curious to see the effect. From what I know about Tomcat 5.5.7, the major difference would be the use of JDK 1.5. I can't imagine why you'd ever get a 405 from a web service call. Are POST requests turned off? I can't imagine why they would be. Have you looked at the generated HTTP headers using something like tcptunnel from Apache? Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY ext. 89 Mobile: 1.703.489.6466 Take PowerBuilder to the Web with EAF 4.0 http://www.cynergysystems.com/public/products/eaf From:Rob [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 1:31 PM To: [EMAIL PROTECTED] Subject: RE: [flexcoders] Re: Axis Webservices I am having the same issue; however, in my specific case, a review of Tomcats log reveals that the underlying error is a http 405 error on the POST, in other words, when I issue the send() method I receive the error. The WSDL can be viewed fine when called directly, but going though the flashproxy is when the problem happens. Whats interesting is that the same WSDL and other code works fine on Tomcat 4.1I have this problem only with Tomcat 5.5.7Im still researching my specific issue and will reply back if I get an updateMy specific question at this point is whether I have configured the flashproxy servlet correctly (if thats possible in flex-config)and/or whether Tomcats change to servlet spec 2.4 from 2.3 has somehow introduced this for the flashproxyagain, still researching. From: Carson Hager [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 1:15 PM To: [EMAIL PROTECTED] Subject: RE: [flexcoders] Re: Axis Webservices Can you post the WSDL for your web service? Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY ext. 89 Mobile: 1.703.489.6466 Take PowerBuilder to the Web with EAF 4.0 http://www.cynergysystems.com/public/products/eaf From: valysivec27 [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 10:50 AM To: [EMAIL PROTECTED] Subject: [flexcoders] Re: Axis Webservices The webservice is running on the same machine under Tomcat. The flex application runs on Flex-JRun. I want to mention that I was able to connect to google webservices but without any luck to the webservices I'm running locally. The Vacancy web services has some required input parameters and when I igore them I got an eror that the input parameters are missing.. then after I add them, I'm getting unable to connect to endpoint error message. Any ideas are welcome, Thanks. Valy --- In flexcoders@yahoogroups.com, Carson Hager [EMAIL PROTECTED] wrote: I see you're using localhost. Arethe Axis implementation and Flex implementations on the same machine? Have you opened up localhost for web services in flex-config.xml? Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com http://www.cynergysystems.com/ Email: [EMAIL PROTECTED] Office: 866-CYNERGY ext. 89 Mobile: 1.703.489.6466 Take PowerBuilder to the Web with EAF 4.0 http://www.cynergysystems.com/public/products/eaf _ From: valysivec27 [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 9:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Axis Webservices Hello Flexcoders, I want to connect via flex to an Axis Webservice hosted by Tomcat J2EE app server but I'm getting unableto connect to endpoint WEB SERVICE NAME error. Here is the webservice declaration: mx:WebService id=employeeWS wsdl=http://localhost/app/services/Vacancy?wsdl showBusyCursor=true useProxy=false fault=alert(event.fault.faultstring) mx:operation name=getRate result=resultService = event.result mx:request param1100/param1 /mx:request /mx:operation /mx:WebService Any thoughts? Thank you very much. Did you guys use flex + axis webservices? Are there any incompatibilities? _ 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] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ .
RE: [flexcoders] Re: Axis Webservices
Ok, now bypassing proxy, I still get error; however, no longer receiving 405 error, now the dreaded 500 error J. Anyway, I go backand do some lower level traces now From: Rob [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 2:15 PM To: [EMAIL PROTECTED] Subject: RE: [flexcoders] Re: Axis Webservices I agree on the post errorstrange, especially since its working fine with TC4.1...Ill try bypassing the proxy to see what happens From: Carson Hager [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 1:51 PM To: [EMAIL PROTECTED] Subject: RE: [flexcoders] Re: Axis Webservices Rob, Have you tried accessing the web service without using the proxy? I'd be curious to see the effect. From what I know about Tomcat 5.5.7, the major difference would be the use of JDK 1.5. I can't imagine why you'd ever get a 405 from a web service call. Are POST requests turned off? I can't imagine why they would be. Have you looked at the generated HTTP headers using something like tcptunnel from Apache? Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY ext. 89 Mobile: 1.703.489.6466 Take PowerBuilder to the Web with EAF 4.0 http://www.cynergysystems.com/public/products/eaf From:Rob [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 1:31 PM To: [EMAIL PROTECTED] Subject: RE: [flexcoders] Re: Axis Webservices I am having the same issue; however, in my specific case, a review of Tomcats log reveals that the underlying error is a http 405 error on the POST, in other words, when I issue the send() method I receive the error. The WSDL can be viewed fine when called directly, but going though the flashproxy is when the problem happens. Whats interesting is that the same WSDL and other code works fine on Tomcat 4.1I have this problem only with Tomcat 5.5.7Im still researching my specific issue and will reply back if I get an updateMy specific question at this point is whether I have configured the flashproxy servlet correctly (if thats possible in flex-config)and/or whether Tomcats change to servlet spec 2.4 from 2.3 has somehow introduced this for the flashproxyagain, still researching. From: Carson Hager [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 1:15 PM To: [EMAIL PROTECTED] Subject: RE: [flexcoders] Re: Axis Webservices Can you post the WSDL for your web service? Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY ext. 89 Mobile: 1.703.489.6466 Take PowerBuilder to the Web with EAF 4.0 http://www.cynergysystems.com/public/products/eaf From: valysivec27 [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 10:50 AM To: [EMAIL PROTECTED] Subject: [flexcoders] Re: Axis Webservices The webservice is running on the same machine under Tomcat. The flex application runs on Flex-JRun. I want to mention that I was able to connect to google webservices but without any luck to the webservices I'm running locally. The Vacancy web services has some required input parameters and when I igore them I got an eror that the input parameters are missing.. then after I add them, I'm getting unable to connect to endpoint error message. Any ideas are welcome, Thanks. Valy --- In flexcoders@yahoogroups.com, Carson Hager [EMAIL PROTECTED] wrote: I see you're using localhost. Arethe Axis implementation and Flex implementations on the same machine? Have you opened up localhost for web services in flex-config.xml? Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com http://www.cynergysystems.com/ Email: [EMAIL PROTECTED] Office: 866-CYNERGY ext. 89 Mobile: 1.703.489.6466 Take PowerBuilder to the Web with EAF 4.0 http://www.cynergysystems.com/public/products/eaf _ From: valysivec27 [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 9:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Axis Webservices Hello Flexcoders, I want to connect via flex to an Axis Webservice hosted by Tomcat J2EE app server but I'm getting unableto connect to endpoint WEB SERVICE NAME error. Here is the webservice declaration: mx:WebService id=employeeWS wsdl=http://localhost/app/services/Vacancy?wsdl showBusyCursor=true useProxy=false fault=alert(event.fault.faultstring) mx:operation name=getRate result=resultService = event.result mx:request param1100/param1 /mx:request /mx:operation /mx:WebService Any thoughts? Thank you very much. Did you guys use flex + axis webservices? Are there any incompatibilities? _ Yahoo! Groups Links * To visit your group on the web, go to:
Re: [flexcoders] Coolest Flex Site Ever!
This could not have been done with Flash because of the fluid nature of the items being showcased (Unless you wanted to spend a ton of cash on the maintenance). Every 3 months you would have to re-create the flash files to add/remove clothes. Jeff http://www.flexauthority.com - Original Message - From: Michael van Leest [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, February 22, 2005 10:47 AM Subject: Re: [flexcoders] Coolest Flex Site Ever! Looks nice, but did you have a specific reason to use Flex instead of just Flash?? Because it looks like it could have been done with Flash a lot easier then to do all this with flex??? But anyway looks great, Michael sfalien wrote: Want to see something totally different made with Flex and uses almost 100% custom built components, with really tight interation with Flash? Check out my new site that I built (with some help from Macromedia) for Macy's Juniors Brand called This Is IT. http://www.thisit.com Enjoy! Yahoo! Groups Links Yahoo! Groups Links
RE: [flexcoders] passing a view to a command
Yeah, you can do that. EventBroadcaster.getInstance().broadcastEvent( "myCommand", this); Why would you do it that way though? You can register a view with its viewHelper and than your command can use ViewLocator to get that helper that talks to your view. I don't think having your commands know about your views is a very good idea. Unless of course you have specific reasons. From: Clint Tredway [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 8:38 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] passing a view to a command I am using Cairngorm and I am wondering if I can pass a view to a command dynamically? This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosureby others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. To reply to our email administrator directly, send an email to [EMAIL PROTECTED] Littler Mendelson, P.C. http://www.littler.com
dataGrid - If only one row in xml is doesn't appear?
The following XML is being returned by an HTTPService with id=leadsGridData: ?xml version=1.0 encoding=utf-8? response leaddata range12/1/2004 to 12/31/2004/range leads lead quoteid12345/quoteid date12/12/2004/date nameJoe/name citySmith/city stateca/state /lead /leads /leaddata /response The dataProvider on the grid is set to: {leadsGridData.response.leaddata.leads.lead} If there is only one lead node it won't show up in the dataGrid, if there are two or more nodes all of the nodes will show in grid. I am an XML newbie, is there something wrong with the XML? Thanks for any help, Adam
RE: [flexcoders] Coolest Flex Site Ever!
Title: Message Not if you made it dynamic (database driven). Just a thought... -Original Message-From: Jeff Steiner [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 12:24 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Coolest Flex Site Ever!This could not have been done with Flash because of the fluid nature of theitems being showcased (Unless you wanted to spend a ton of cash on themaintenance). Every 3 months you would have to re-create the flash files toadd/remove clothes.Jeffhttp://www.flexauthority.com- Original Message - From: "Michael van Leest" [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Tuesday, February 22, 2005 10:47 AMSubject: Re: [flexcoders] Coolest Flex Site Ever! Looks nice, but did you have a specific reason to use Flex instead of just Flash?? Because it looks like it could have been done with Flash a lot "easier" then to doall this with flex??? But anyway looks great, Michael sfalien wrote: Want to see something totally different made with Flex and uses almost100% custom built components, with really tight interation with Flash? Check out my newsite that I built (with some help from Macromedia) for Macy's Juniors Brand called This IsIT. http://www.thisit.com Enjoy! Yahoo! Groups Links Yahoo! Groups Links
RE: [flexcoders] hidden interfaces (was: Re: List.getLength)
The List class does mixin DataSelector, so that is how you can use getLength(). There is an error in the doc - getLength() should have been listed as a method of List. Stephen Gilson Flex Doc -Original Message- From: Markus Ansamaa [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 12:25 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] hidden interfaces (was: Re: List.getLength) Yes, that's the API documentation. And if you check the List it is said that it does NOT extend DataSelector. And there is no getLength method. And still you can use List.getLength which is internally implemented by DataSelector. Simon: I think so too, but my whole point was that you cannot be sure, since it is not said anywhere. And technically speaking list based components cannot implement DataSelector since DataSelector is not an interface but a class. And I know they doesn't extend it either. If there's someone from Flex documentation team listening, could you tell, if this issue is explained somewhere? Markus -Original Message- From: San Clemente Technical Company, Inc. [mailto:[EMAIL PROTECTED] Sent: 18. helmikuuta 2005 18:55 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: List.getLength You can use the following link http://livedocs.macromedia.com/flex/15/asdocs_en/ it has all the Flex Classes in javadoc format. It shows the hierarchy as well as the inherited properties, events, methods, etc. Ken --- In flexcoders@yahoogroups.com, Simon Fifield [EMAIL PROTECTED] wrote: MessageHi Markus, I'm not 100% sure about this, but I think that all list based components implement the new DataSelector class. Regards, Simon -Original Message- From: Markus Ansamaa [mailto:[EMAIL PROTECTED] Sent: 18 February 2005 13:38 To: flexcoders@yahoogroups.com Subject: [flexcoders] List.getLength I have wondered why there isn't a getLength method for a List. I have used List.dataProvider.length which feels clumsy to use. Today I just happened to try if such a method exists and there it was! I think most of you already knew that, but to me it was a totally new discovery. List seems to use DataSelector internally, which is the reason why getLength is not mentioned in the API. I am just wondering, how should I know that List uses DataSelector and getLength method exists?! List's API says nothing about getLength or DataSelector. And how many other hidden interfaces there are? Markus Ansamaa -- Yahoo! Groups Links a.. To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links Yahoo! Groups Links
FlashPaper in Flex?
Has anyone tried to load a flashpaper SWF into a Flex application at runtime? When I try it it locks up the flash player and won't load the FlashPaper. Any thoughts? Adam
Re: Coolest Flex Site Ever!
actually this site is driven by web services, which are feed data through a custom built content management system that plugs into existing systems and an asset aquisition pipeline. also this site was designed so that it could be skinned with new graphics and interaction every couple of months. It's current theme is Celebrity, next will be somehting for the summer and back to school. This is the primary reason that we used Flex for the framework on this project. Keep in mind when going through this site: - it's for teenagers - it's a work in progress - eventually it will have a checkout and way more stuff to buy. this is only the first itteration and is not just a disposable site. sfalien --- In flexcoders@yahoogroups.com, sfalien [EMAIL PROTECTED] wrote: Want to see something totally different made with Flex and uses almost 100% custom built components, with really tight interation with Flash? Check out my new site that I built (with some help from Macromedia) for Macy's Juniors Brand called This Is IT. http://www.thisit.com Enjoy!
RE: [flexcoders] macromedia.css.LocatorParser error
Benjamin - This looks like error information from the browser. Please check the server console for error information. You should see some Java stack traces. - Cathy From: Benjamin Steiner [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 2:01 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] macromedia.css.LocatorParser error Hi Cathy, thanks for your reply. I have tried out your suggestion. Now I receive the following error-message: 16 Errors found.Error /home/webspace/xxx.staging.xxx.de/style/style.css:-1 macromedia.css.LocatorParserError /WEB-INF/flex/frameworks/mx/core/UIObject.as The class 'mx.styles.StyleProtoChain' could not be loaded.Error /WEB-INF/flex/frameworks/mx/core/UIObject.as:65 The class 'mx.core.UIObjectDescriptor' could not be loaded.Error /WEB-INF/flex/frameworks/mx/core/UIObject.as:203 The class 'mx.styles.CSSStyleDeclaration' could not be loaded.Error /WEB-INF/flex/frameworks/mx/core/UIComponent.as The class 'mx.managers.SystemManager' could not be loaded.Error /WEB-INF/flex/frameworks/mx/core/UIComponent.as:48 There is no class with the name 'mx.core.UIObject'.Error /WEB-INF/flex/frameworks/mx/core/View.as:16 The class 'mx.skins.RectBorder' could not be loaded.Error /WEB-INF/flex/frameworks/mx/core/View.as:28 The class 'mx.core.UIObject' could not be loaded.Error /WEB-INF/flex/frameworks/mx/core/View.as:32 The class 'mx.core.UIObject' could not be loaded.Error /WEB-INF/flex/frameworks/mx/core/View.as:46 The class 'mx.core.UIObject' could not be loaded. Error /WEB-INF/flex/frameworks/mx/core/View.as:49 The class 'mx.core.UIObject' could not be loaded. What could be the cause? Has it anything to do with the mx.swc? Thank you in advance for your reply... CU Benjamin - Original Message - From: Cathy Murphy To: flexcoders@yahoogroups.com Sent: Tuesday, February 22, 2005 5:36 PM Subject: RE: [flexcoders] macromedia.css.LocatorParser error Would you add -Dtrace.error to your jvm.config file? This should be under jrun-root/bin/jvm.config. Then, restart the server and try your test file. This should provide additional information. We haven't seen any issues with macromedai.css.LocatorParserwith Flex andJRun/ColdFusion. It might be related to classloader issues with your particular setup. Please also provide any additions to the server classpath. - Cathy From: Benjamin Steiner [mailto:[EMAIL PROTECTED] Sent: Sunday, February 20, 2005 7:04 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] macromedia.css.LocatorParser error Hi, at the moment I'm trying to get my Flex-application running on the server. On the server Flex is installed under Coldfusion/JRun.Operating system is Linux. Unfortunatelly, when starting the application on the server the following error-message is being shown: macromedia.css.LocatorParser If commenting the line which is including my CSS, everything works perfect. So the CSScertainlyhas no syntax-errors. I also receive the error-message when the CSS is empty. Does anybody know any solutions? Perhaps some settings of the server have to be done to get the server load the CSS? Or has it anything to do with the global.css? Thank you in advance for your help Cheerio! Benjamin
Re: [flexcoders] Re: Coolest Flex Site Ever!
Ok that's explains a lot more... If it's a continues work in progress, then at the end Flex would be the way to go... But without the keep in mind points, it looked ike Flex was just a overdone choice. But anyway, it's the "best looking" flex app on this moment indeed! Michael chris colinsky wrote: actually this site is driven by web services, which are feed data through a custom built content management system that plugs into existing systems and an asset aquisition pipeline. also this site was designed so that it could be skinned with new graphics and interaction every couple of months. It's current theme is Celebrity, next will be somehting for the summer and back to school. This is the primary reason that we used Flex for the framework on this project. Keep in mind when going through this site: - it's for teenagers - it's a work in progress - eventually it will have a checkout and way more stuff to buy. this is only the first itteration and is not just a disposable site. sfalien --- In flexcoders@yahoogroups.com, "sfalien" [EMAIL PROTECTED] wrote: Want to see something totally different made with Flex and uses almost 100% custom built components, with really tight interation with Flash? Check out my new site that I built (with some help from Macromedia) for Macy's Juniors Brand called This Is IT. http://www.thisit.com Enjoy! 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/
Re: Flex Builder Debugger giving OutOfMemory
Tracy, I solved this problem today. The Tomcat webapps directory had 36 web applications. I reduced that to 4 applications and the OutOfMemory error went away when debugging in Flex Builder. -Will --- In flexcoders@yahoogroups.com, wcucsd [EMAIL PROTECTED] wrote: Tracy, Thanks for your reply. I am using Tomcat. In XP's Control Panel- System, I set the following environment variables: JAVA_OPTS=-Xmx768m -Xms512m CATALINA_OPTS=-mx1024m I belive this has the same effect as what you suggested doing. Yet, I still get the OutOfMemory error for a very simple Flex app. Thanks, -Will --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Using Tomcat?, if so: There have been a couple threads that indicate you should boost the memory settings: Open the apache tomcat configuration app in sys tray, and on the Java tab, bump up the initial memory pool size and the maximum memory pool size to 512 Initial and 768 Max, click Ok In \Program Files\Apache software Foundation\Tomcat 5.0\bin\catalina.bat, in the last section immediately after rem Execute Java with the applicable properties, insert this line, set CATALINA_OPTS=-mx1024m. Save the file. Tracy -Original Message- From: wcucsd [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 15, 2005 7:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Builder Debugger giving OutOfMemory flexcoders, Using Flex Builder, I create a very simple Flex app with a canvas and a button on the canvas. When I press Debug, it works a little then gives this VM out of memory error. Any ideas how I can remedy this? Here is the message returned by Flex Builder: Requested page cannot be displayed An unexpected error occurred that prevented /simpleflexapp/SimpleFlexApp.mxml from being displayed. - -- -- --- Servlet execution threw an exception Technical Information: HTTP Status Code: 500 Exception Type: class java.lang.OutOfMemoryError Servlet Name: FlexMxmlServlet Exception java.lang.OutOfMemoryError (View stack trace) Thanks, -Will Yahoo! Groups Links
RE: [flexcoders] Re: Coolest Flex Site Ever!
I think its a great start. Nicegraphic work. A friendly suggestion might be to revisit the navigation theme. Having the user discover the navigation elements on their ownrisky business at best. I would perhaps look to make that portion of the site more prominent and consistent across all areas of the app. Great stuff -Stace From: chris colinsky [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 2:43 PM To: [EMAIL PROTECTED] Subject: [flexcoders] Re: Coolest Flex Site Ever! actually this site is driven by web services, which are feed data through a custom built content management system that plugs into existing systems and an asset aquisition pipeline. also this site was designed so that it could be skinned with new graphics and interaction every couple of months. It's current theme is Celebrity, next will be somehting for the summer and back to school. This is the primary reason that we used Flex for the framework on this project. Keep in mind when going through this site: - it's for teenagers - it's a work in progress - eventually it will have a checkout and waymore stuff to buy. this is only the first itteration and is not just a disposable site. sfalien --- In flexcoders@yahoogroups.com, sfalien [EMAIL PROTECTED] wrote: Want to see something totally differentmade with Flex and uses almost 100% custom built components, with really tight interation with Flash? Check out my new site that I built (with some help from Macromedia) for Macy's Juniors Brand called This Is IT. http://www.thisit.com Enjoy!
RE: [flexcoders] hidden interfaces (was: Re: List.getLength)
I think that List inherits a 'length' property. If that's the case, it should have been documented, and the getLength() method should not have been documented. In general, we're trying to make Flex property-centric whenever possible. Future releases are likely to deprecate support for accessor methods like getLength(). Gordon Smith Flex Development -Original Message- From: Stephen Gilson [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 11:34 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] hidden interfaces (was: Re: List.getLength) The List class does mixin DataSelector, so that is how you can use getLength(). There is an error in the doc - getLength() should have been listed as a method of List. Stephen Gilson Flex Doc -Original Message- From: Markus Ansamaa [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 12:25 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] hidden interfaces (was: Re: List.getLength) Yes, that's the API documentation. And if you check the List it is said that it does NOT extend DataSelector. And there is no getLength method. And still you can use List.getLength which is internally implemented by DataSelector. Simon: I think so too, but my whole point was that you cannot be sure, since it is not said anywhere. And technically speaking list based components cannot implement DataSelector since DataSelector is not an interface but a class. And I know they doesn't extend it either. If there's someone from Flex documentation team listening, could you tell, if this issue is explained somewhere? Markus -Original Message- From: San Clemente Technical Company, Inc. [mailto:[EMAIL PROTECTED] Sent: 18. helmikuuta 2005 18:55 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: List.getLength You can use the following link http://livedocs.macromedia.com/flex/15/asdocs_en/ it has all the Flex Classes in javadoc format. It shows the hierarchy as well as the inherited properties, events, methods, etc. Ken --- In flexcoders@yahoogroups.com, Simon Fifield [EMAIL PROTECTED] wrote: MessageHi Markus, I'm not 100% sure about this, but I think that all list based components implement the new DataSelector class. Regards, Simon -Original Message- From: Markus Ansamaa [mailto:[EMAIL PROTECTED] Sent: 18 February 2005 13:38 To: flexcoders@yahoogroups.com Subject: [flexcoders] List.getLength I have wondered why there isn't a getLength method for a List. I have used List.dataProvider.length which feels clumsy to use. Today I just happened to try if such a method exists and there it was! I think most of you already knew that, but to me it was a totally new discovery. List seems to use DataSelector internally, which is the reason why getLength is not mentioned in the API. I am just wondering, how should I know that List uses DataSelector and getLength method exists?! List's API says nothing about getLength or DataSelector. And how many other hidden interfaces there are? Markus Ansamaa -- Yahoo! Groups Links a.. To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links
Tree issues
Has anyone successfully used a data service (HTTPService, Remoting, anything) to successfully populate a tree? I can only get it to work if 1. embed the data in the mxml file OR 2. use an actuall XML file WITH the SAME data that is coming from my service...
RE: [flexcoders] Tree issues
Dont use the backingObject if you can help it. Use getProperty(). backingObject is essentially going the other direction from attributes, it only works when the data provider is of a certain format. The TreeDataProvider interface will work regardless of how the data got there. Matt From: Jeff Tapper [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 1:18 PM To: [EMAIL PROTECTED] Subject: RE: [flexcoders] Tree issues Try this: mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml load=myService.send(); mx:HTTPService id=myService result=myTree.dataProvider = myService.result; url="" href="http://216.65.201.58/tester.cfm">http://216.65.201.58/tester.cfm/mx:HTTPService mx:Tree width=100% height=100% id=myTree change=showData(event.target.selectedItem.backingObject)/mx:Tree mx:Script function showData(item){ mx.core.Application.alert(item.label); } /mx:Script /mx:Application At 04:05 PM 2/22/2005, you wrote: the problem is I cannot access the labelor data pieces of the nodes... -Original Message- From: Jeff Tapper [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 3:04 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Tree issues Sure, just last week I worked on a project which dynamically created trees based on an XML file loaded with mx:HTTPService What seems to be the problem your having? At 03:46 PM 2/22/2005, you wrote: Has anyone successfully used a data service (HTTPService, Remoting, anything) to successfully populate a tree? I can only get it to work if 1. embed the data in the mxml file OR 2. use an actuall XML file WITH the SAME data that is coming from my service Thanks! -- Yahoo! Groups Links * To visit your group on the web, go to: * http://groups.yahoo.com/group/flexcoders/http://groups.yahoo.com/group/flexcoders/http://groups.yahoo.com/group/flexcoders/ * * To unsubscribefrom this group, send an email to: * mailto:[EMAIL PROTECTED][EMAIL PROTECTED] * * Your use of Yahoo! Groups is subject to the http://docs.yahoo.com/info/terms/http://docs.yahoo.com/info/terms/Yahoo! Terms of Service. Yahoo! Groups Links Yahoo! Groups Sponsor http://us.ard.yahoo.com/SIG=129dlqemi/M=324658.6070095.7083352.3001176/D=groups/S=1705007207:HM/EXP=1109192759/A=2343726/R=0/SIG=12ij2449s/*http://clk.atdmt.com/VON/go/yhxxxvon01900091von/direct/01/time=1109106359225806 [] http://us.ard.yahoo.com/SIG=129dlqemi/M=324658.6070095.7083352.3001176/D=groups/S=1705007207:HM/EXP=1109192759/A=2343726/R=1/SIG=12ij2449s/*http://clk.atdmt.com/VON/go/yhxxxvon01900091von/direct/01/time=1109106359225806 Get unlimited calls to U.S./Canada -- Yahoo! Groups Links * To visit your groupon the web, go to: * http://groups.yahoo.com/group/flexcoders/http://groups.yahoo.com/group/flexcoders/ * * To unsubscribe fromthis group, send an email to: * mailto:[EMAIL PROTECTED][EMAIL PROTECTED] * * Your use of Yahoo! Groups is subject to the http://docs.yahoo.com/info/terms/Yahoo! Terms of Service.
RE: [flexcoders] Re: Problems with Installing Flex
No insight, just regurgitant. -Original Message- From: greenfishinwater [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 5:09 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Problems with Installing Flex Tracy, You were spot on, the server had version 7 of DirectX, I upgraded to version 9 and the install went as normal. Boy was that some insight, or maybe you had the problem before! Andrew --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Make sure you are running the latest version of DirecX(9x). What you describe can happen with version 7 or lower. Tracy -Original Message- From: greenfishinwater [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 5:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Problems with Installing Flex I am trying to install Flex on a Windows 2000 system. I run the program flex-15-win.exe, which starts up the small screen mentioning Install Shield, the progress bar gets upto 99%, then the screen disappears, and nothing else happens. When I check in windows task manager, there are 2 flex processes running, flex-15-win.exe and flex.exe. I have installed a couple of flex servers already on other test boxes, and they have had no problems at all. Where do I look to see what the problem is, are there any log files? Thank you Andrew Yahoo! Groups Links Yahoo! Groups Links
Re: Problems with Installing Flex
Tracy, You were spot on, the server had version 7 of DirectX, I upgraded to version 9 and the install went as normal. Boy was that some insight, or maybe you had the problem before! Andrew --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Make sure you are running the latest version of DirecX(9x). What you describe can happen with version 7 or lower. Tracy -Original Message- From: greenfishinwater [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 5:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Problems with Installing Flex I am trying to install Flex on a Windows 2000 system. I run the program flex-15-win.exe, which starts up the small screen mentioning Install Shield, the progress bar gets upto 99%, then the screen disappears, and nothing else happens. When I check in windows task manager, there are 2 flex processes running, flex-15-win.exe and flex.exe. I have installed a couple of flex servers already on other test boxes, and they have had no problems at all. Where do I look to see what the problem is, are there any log files? Thank you Andrew Yahoo! Groups Links
Re: [flexcoders] Coolest Flex Site Ever!
This could not have been done with Flash because of the fluid nature of the items being showcased (Unless you wanted to spend a ton of cash on the maintenance). Every 3 months you would have to re-create the flash files to add/remove clothes. Well for starters...$12k buys you around 3-6 weeks for a good Flash Designer... ;) -- Owen van Dijk
Multiple Sliders
I am working with the flexstore demo and want to enhance the sliders to cater to 2 attributes, the size and the price. Are there any pointers / examples to have 2 or more) sliders operate them in tandem? thanks in advance
RE: [flexcoders] Coolest Flex Site Ever!
Title: Message lol -Original Message-From: Owen van Dijk [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 3:31 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Coolest Flex Site Ever! This could not have been done with Flash because of the fluid nature of the items being showcased (Unless you wanted to spend a tonof cash on the maintenance). Every 3 months you would have to re-create the flash files to add/remove clothes.Well for starters...$12k buys you around 3-6 weeks for a good FlashDesigner... ;)-- Owen van Dijk
RE: [flexcoders] Re: Axis Webservices
I agree on the post errorstrange, especially since its working fine with TC4.1...Ill try bypassing the proxy to see what happens From: Carson Hager [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 1:51 PM To: [EMAIL PROTECTED] Subject: RE: [flexcoders] Re: Axis Webservices Rob, Have you tried accessing the web service without using the proxy? I'd be curious to see the effect. From what I know about Tomcat 5.5.7, the major difference would be the use of JDK 1.5. I can't imagine why you'd ever get a 405 from a web service call. Are POST requests turned off? I can't imagine why they would be. Have you looked at the generated HTTP headers using something like tcptunnel from Apache? Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY ext. 89 Mobile: 1.703.489.6466 Take PowerBuilder to the Web with EAF 4.0 http://www.cynergysystems.com/public/products/eaf From:Rob [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 1:31 PM To: [EMAIL PROTECTED] Subject: RE: [flexcoders] Re: Axis Webservices I am having the same issue; however, in my specific case, a review of Tomcats log reveals that the underlying error is a http 405 error on the POST, in other words, when I issue the send() method I receive the error. The WSDL can be viewed fine when called directly, but going though the flashproxy is when the problem happens. Whats interesting is that the same WSDL and other code works fine on Tomcat 4.1I have this problem only with Tomcat 5.5.7Im still researching my specific issue and will reply back if I get an updateMy specific question at this point is whether I have configured the flashproxy servlet correctly (if thats possible in flex-config)and/or whether Tomcats change to servlet spec 2.4 from 2.3 has somehow introduced this for the flashproxyagain, still researching. From: Carson Hager [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 1:15 PM To: [EMAIL PROTECTED] Subject: RE: [flexcoders] Re: Axis Webservices Can you post the WSDL for your web service? Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY ext. 89 Mobile: 1.703.489.6466 Take PowerBuilder to the Web with EAF 4.0 http://www.cynergysystems.com/public/products/eaf From: valysivec27 [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 10:50 AM To: [EMAIL PROTECTED] Subject: [flexcoders] Re: Axis Webservices The webservice is running on the same machine under Tomcat. The flex application runs on Flex-JRun. I want to mention that I was able to connect to google webservices but without any luck to the webservices I'm running locally. The Vacancy web services has some required input parameters and when I igore them I got an eror that the input parameters are missing.. then after I add them, I'm getting unable to connect to endpoint error message. Any ideas are welcome, Thanks. Valy --- In flexcoders@yahoogroups.com, Carson Hager [EMAIL PROTECTED] wrote: I see you're using localhost. Arethe Axis implementation and Flex implementations on the same machine? Have you opened up localhost for web services in flex-config.xml? Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com http://www.cynergysystems.com/ Email: [EMAIL PROTECTED] Office: 866-CYNERGY ext. 89 Mobile: 1.703.489.6466 Take PowerBuilder to the Web with EAF 4.0 http://www.cynergysystems.com/public/products/eaf _ From: valysivec27 [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 9:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Axis Webservices Hello Flexcoders, I want to connect via flex to an Axis Webservice hosted by Tomcat J2EE app server but I'm getting unableto connect to endpoint WEB SERVICE NAME error. Here is the webservice declaration: mx:WebService id=employeeWS wsdl=http://localhost/app/services/Vacancy?wsdl showBusyCursor=true useProxy=false fault=alert(event.fault.faultstring) mx:operation name=getRate result=resultService = event.result mx:request param1100/param1 /mx:request /mx:operation /mx:WebService Any thoughts? Thank you very much. Did you guys use flex + axis webservices? Are there any incompatibilities? _ 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] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ .
RE: [flexcoders] Re: Axis Webservices
Ok, now bypassing proxy, I still get error; however, no longer receiving 405 error, now the dreaded 500 error J. Anyway, I go backand do some lower level traces now From: Rob [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 2:15 PM To: [EMAIL PROTECTED] Subject: RE: [flexcoders] Re: Axis Webservices I agree on the post errorstrange, especially since its working fine with TC4.1...Ill try bypassing the proxy to see what happens From: Carson Hager [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 1:51 PM To: [EMAIL PROTECTED] Subject: RE: [flexcoders] Re: Axis Webservices Rob, Have you tried accessing the web service without using the proxy? I'd be curious to see the effect. From what I know about Tomcat 5.5.7, the major difference would be the use of JDK 1.5. I can't imagine why you'd ever get a 405 from a web service call. Are POST requests turned off? I can't imagine why they would be. Have you looked at the generated HTTP headers using something like tcptunnel from Apache? Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY ext. 89 Mobile: 1.703.489.6466 Take PowerBuilder to the Web with EAF 4.0 http://www.cynergysystems.com/public/products/eaf From:Rob [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 1:31 PM To: [EMAIL PROTECTED] Subject: RE: [flexcoders] Re: Axis Webservices I am having the same issue; however, in my specific case, a review of Tomcats log reveals that the underlying error is a http 405 error on the POST, in other words, when I issue the send() method I receive the error. The WSDL can be viewed fine when called directly, but going though the flashproxy is when the problem happens. Whats interesting is that the same WSDL and other code works fine on Tomcat 4.1I have this problem only with Tomcat 5.5.7Im still researching my specific issue and will reply back if I get an updateMy specific question at this point is whether I have configured the flashproxy servlet correctly (if thats possible in flex-config)and/or whether Tomcats change to servlet spec 2.4 from 2.3 has somehow introduced this for the flashproxyagain, still researching. From: Carson Hager [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 1:15 PM To: [EMAIL PROTECTED] Subject: RE: [flexcoders] Re: Axis Webservices Can you post the WSDL for your web service? Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY ext. 89 Mobile: 1.703.489.6466 Take PowerBuilder to the Web with EAF 4.0 http://www.cynergysystems.com/public/products/eaf From: valysivec27 [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 10:50 AM To: [EMAIL PROTECTED] Subject: [flexcoders] Re: Axis Webservices The webservice is running on the same machine under Tomcat. The flex application runs on Flex-JRun. I want to mention that I was able to connect to google webservices but without any luck to the webservices I'm running locally. The Vacancy web services has some required input parameters and when I igore them I got an eror that the input parameters are missing.. then after I add them, I'm getting unable to connect to endpoint error message. Any ideas are welcome, Thanks. Valy --- In flexcoders@yahoogroups.com, Carson Hager [EMAIL PROTECTED] wrote: I see you're using localhost. Arethe Axis implementation and Flex implementations on the same machine? Have you opened up localhost for web services in flex-config.xml? Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com http://www.cynergysystems.com/ Email: [EMAIL PROTECTED] Office: 866-CYNERGY ext. 89 Mobile: 1.703.489.6466 Take PowerBuilder to the Web with EAF 4.0 http://www.cynergysystems.com/public/products/eaf _ From: valysivec27 [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 9:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Axis Webservices Hello Flexcoders, I want to connect via flex to an Axis Webservice hosted by Tomcat J2EE app server but I'm getting unableto connect to endpoint WEB SERVICE NAME error. Here is the webservice declaration: mx:WebService id=employeeWS wsdl=http://localhost/app/services/Vacancy?wsdl showBusyCursor=true useProxy=false fault=alert(event.fault.faultstring) mx:operation name=getRate result=resultService = event.result mx:request param1100/param1 /mx:request /mx:operation /mx:WebService Any thoughts? Thank you very much. Did you guys use flex + axis webservices? Are there any incompatibilities? _ Yahoo! Groups Links * To visit your group on the web, go to: