RES: [flexcoders] Re: Flex 2.0 : How to validate form fields ?
Thank you ! -Mensagem original- De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Darin Kohles Enviada em: quinta-feira, 1 de dezembro de 2005 02:45 Para: flexcoders@yahoogroups.com Assunto: [flexcoders] Re: Flex 2.0 : How to validate form fields ? --- In flexcoders@yahoogroups.com, Michel Bertrand [EMAIL PROTECTED] wrote: Hi ! I've tried to find an approuch to validate fields of a data form. chech this: http://www.macromedia.com/cfusion/webforums/forum/categories.cfm?forumid =72catid=582flcache=2109871 -- 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 Yahoo! Groups Sponsor ~-- 1.2 million kids a year are victims of human trafficking. Stop slavery. http://us.click.yahoo.com/.QUssC/izNLAA/TtwFAA/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/
[flexcoders] Flex 2.0 : How to validate form fields ?
Title: Flex 2.0 : How to validate form fields ? Hi ! I've tried to find an approuch to validate fields of a data form. Actually, my form looks like: ?xml version=1.0 encoding=utf-8? mx:Canvas creationComplete=onComplete() mx:Metadata [Event(validate)] /mx:Metadata mx:Script public function validate(event:Object) : Void { validator.validate(); } public function onComplete() : Void { this.addEventListener(validate,this.validate); this.dispatchEvent(new Event(validate)); } /mx:Script mx:StringValidator id=validator source={name} property=text required=true requiredFieldError=Field is empty./ mx:Form label=test mx:FormItem label=Name fontWeight=bold mx:TextInput id=name editable=true maxChars=30 width=300/ /mx:FormItem . Running this code I have ever had a Flash Player error: Error: The source attribute must be specified when the property attribute is specified.. I'm using Flash Player 8.5. Any ideas ? Thanks in advance ! Michel. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex 2.0: DataGrid.addChild - TypeError
Title: Flex 2.0: DataGrid.addChild - TypeError Hello ! I've got TypeError: Error #1034: Type Coersion failed: cannot convert [EMAIL PROTECTED] to flash.display.DisplayObject in Flex 2.0. I have the error using mx.controls.DataGrid in the following way: var dataProvider:Array = new Array(); var obj:Object = new Object(); obj.roleName = Profile 1; dataProvider[0] = obj; obj = new Object(); obj.roleName = Profile 2; dataProvider[1] = obj; var column:DataGridColumn = new DataGridColumn(); column.columnName = roleName; column.headerText = Avaible Profiles; avaibleProfilesColumns[0] = column; ... if (dataProvider != null dataProvider.length 0) { for (var i:int=0;idataProvider.length;i++){ dataGrid.addChild(dataProvider[i]); } } My dataGrid has all settings to handle data properly and it's shown all data, but it always produces the error above too. Any idea to workaround this situation ? Has anybody faced it ? Thanks in advance ! Michel. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RES: [flexcoders] Flex 2.0 - Loader - Error #2036 : Load Never Completed
Title: Mensagem Yes, I'm sure about SWF.I'm going to try an workaround (if any). Thanks ! Michel. -Mensagem original-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Matt ChotinEnviada em: sexta-feira, 18 de novembro de 2005 23:31Para: flexcoders@yahoogroups.comAssunto: RE: [flexcoders] Flex 2.0 - Loader - Error #2036 : Load Never Completed Ive heard of the Loader having some problems in the alpha but are you sure that its really the right path for the swf? Did you compile MyComponent.mxml already into a SWF, remember you dont have a server to do the compilation for you Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michel BertrandSent: Thursday, November 17, 2005 11:27 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex 2..0 - Loader - Error #2036 : Load Never Completed Hello ! I have tried to use mx.controls.Loader to load a simple MXML component, like: public class MyLoader extends Canvas { public var source:String; public function ioError(error:Object) : Void { Alert.show("Loader ioError"+ error.text); } public function securityError(error:Object) : Void { Alert.show("Loader securityError"+ error.text); } public override function createChildren(): Void { this.width = 0; this.height = 0; this.visible = false; loader = new Loader(); loader.addEventListener("complete", this.loadComplete); loader.addEventListener("ioError", this.ioError); loader.addEventListener("securityError", this.securityError); addChild(loader); loader.load(source); super.createChildren(); . } } The property "source" contains the path to my MXML that is located at the same directory of MyLoader, for example, "source" content is "MyComponent.mxml.swf". So, I've ever had "Error #2036 : Load Never Completed" when running this code. I'm using Flash Player version 8,5,0,133. Any idea ? Thanks in advance ! Michel Bertrand | Desenvolvimento | DATASUL TecnologiaAcesse www.datasuldirect.com.br e conheça mais sobre os produtos e soluções de tecnologia -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RES: [flexcoders] Flex 2.0 - Loader - Error #2036 : Load Never Completed
Title: Mensagem Hi ! What do you mean by "deferred instantiation" ? -Mensagem original-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Roger GonzalezEnviada em: segunda-feira, 21 de novembro de 2005 15:31Para: flexcoders@yahoogroups.comAssunto: RE: [flexcoders] Flex 2.0 - Loader - Error #2036 : Load Never Completed There is no .mxml.swf, that was a server thing from 1.x days. You have to build thechild SWF first, then load it. Dynamically loading child SWFsis not really that simple, unfortunately. It is inefficient to try to build an application by loading other MXML applications, as they will be 10x larger than they really need to be. Even in 1.x, the child SWF that you built was also an application. There isn't any such thing as "dynamically loading a component". Further, the interop rules between the parent and child SWF are much more complicated. Just to make certain, dynamic loading is really what you want, right? You don't simply want to create the component, perhaps using deferred instantiation? -RogerRoger Gonzalez[EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt ChotinSent: Friday, November 18, 2005 5:31 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2.0 - Loader - Error #2036 : Load Never Completed Ive heard of the Loader having some problems in the alpha but are you sure that its really the right path for the swf? Did you compile MyComponent.mxml already into a SWF, remember you dont have a server to do the compilation for you Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michel BertrandSent: Thursday, November 17, 2005 11:27 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex 2.0 - Loader - Error #2036 : Load Never Completed Hello ! I have tried to use mx.controls.Loader to load a simple MXML component, like: public class MyLoader extends Canvas { public var source:String; public function ioError(error:Object) : Void { Alert.show("Loader ioError"+ error.text); } public function securityError(error:Object) : Void { Alert.show("Loader securityError"+ error.text); } public override function createChildren(): Void { this.width = 0; this.height = 0; this.visible = false; loader = new Loader(); loader.addEventListener("complete", this.loadComplete); loader.addEventListener("ioError", this.ioError); loader.addEventListener("securityError", this.securityError); addChild(loader); loader.load(source); super.createChildren(); . } } The property "source" contains the path to my MXML that is located at the same directory of MyLoader, for example, "source" content is "MyComponent.mxml.swf". So, I've ever had "Error #2036 : Load Never Completed" when running this code. I'm using Flash Player version 8,5,0,133. Any idea ? Thanks in advance ! Michel Bertrand | Desenvolvimento | DATASUL TecnologiaAcesse www.datasuldirect.com.br e conheça mais sobre os produtos e soluções de tecnologia -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex 2.0 - Another way to load a SWF ?
Title: Flex 2.0 - Another way to load a SWF ? Hello ! I've been using mx.controls.Loader to load SWF files. Using Flex 2.0 platform I've found errors tyring to use it. So, how could I load a SWF without to use a Loader ? Is there anyway ? Any suggestions ? Thanks in advance ! Michel Bertrand | Desenvolvimento | DATASUL Tecnologia Acesse www.datasuldirect.com.br e conheça mais sobre os produtos e soluções de tecnologia -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex 2.0 - Loader - Error #2036 : Load Never Completed
Title: Flex 2.0 - Loader - Error #2036 : Load Never Completed Hello ! I have tried to use mx.controls.Loader to load a simple MXML component, like: public class MyLoader extends Canvas { public var source:String; public function ioError(error:Object) : Void { Alert.show(Loader ioError+ error.text); } public function securityError(error:Object) : Void { Alert.show(Loader securityError+ error.text); } public override function createChildren(): Void { this.width = 0; this.height = 0; this.visible = false; loader = new Loader(); loader.addEventListener(complete, this.loadComplete); loader.addEventListener(ioError, this.ioError); loader.addEventListener(securityError, this.securityError); addChild(loader); loader.load(source); super.createChildren(); . } } The property source contains the path to my MXML that is located at the same directory of MyLoader, for example, source content is MyComponent.mxml.swf. So, I've ever had Error #2036 : Load Never Completed when running this code. I'm using Flash Player version 8,5,0,133. Any idea ? Thanks in advance ! Michel Bertrand | Desenvolvimento | DATASUL Tecnologia Acesse www.datasuldirect.com.br e conheça mais sobre os produtos e soluções de tecnologia -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex Builder 2.0 - HTTPService - Security Error
Title: Flex Builder 2.0 - HTTPService - Security Error Hello ! I have had a problem with HTTPService tag. The tag bellow bring me the following error: Security error accessing url. mx:HTTPService id=testDataSrv url="">http://localhost:8080/Teste/servlet/DataServiceTest useProxy=false /mx:HTTPService I'm sure that URL (Servlet) works perfectly. I can access it by hand and it's not a protected URI. Did I miss something ? Thanks in advance ! Michel Bertrand | Desenvolvimento | DATASUL Tecnologia Acesse www.datasuldirect.com.br e conheça mais sobre os produtos e soluções de tecnologia -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RES: [flexcoders] Flex Builder 2.0 - HTTPService - Security Error
Title: Mensagem No, I'm loading the SWF from localhost. -Mensagem original-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Carson HagerEnviada em: sexta-feira, 11 de novembro de 2005 15:19Para: flexcoders@yahoogroups.comAssunto: RE: [flexcoders] Flex Builder 2.0 - HTTPService - Security Error Did you load the swf from a host other than "localhost"? Even using the machine name or the non loopback IP would cause this problem. Carson Carson HagerCynergy Systems, Inc.http://www.cynergysystems.com Email: [EMAIL PROTECTED]Office: 866-CYNERGYMobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michel BertrandSent: Friday, November 11, 2005 8:47 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex Builder 2.0 - HTTPService - Security Error Hello ! I have had a problem with HTTPService tag. The tag bellow bring me the following error: "Security error accessing url." mx:HTTPServiceid="testDataSrv"url=""Courier New" color=#99 size=2>http://localhost:8080/Teste/servlet/DataServiceTest"useProxy="false" /mx:HTTPService I'm sure that URL (Servlet) works perfectly. I can access it by hand and it's not a protected URI. Did I miss something ? Thanks in advance ! Michel Bertrand | Desenvolvimento | DATASUL TecnologiaAcesse www.datasuldirect.com.br e conheça mais sobre os produtos e soluções de tecnologia -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RES: [flexcoders] HTTPService and Flex 2.0
Title: Mensagem Hi ! I'm sure about error line. Have you already used HTTPService in Flex 2.0Standalone Builder? Does it work ? Here's the entire source code: ?xml version="1.0" encoding="utf-8"?cairngorm:ServiceLocator xmlns:mx="http://www.macromedia.com/2005/mxml" xmlns:cairngorm="com.datasul.framework.ui.cairngorm.business.*" mx:HTTPService id="testDataSrv" method="POST" resultFormat="xml" url=""http://localhost:8080/Teste/servlet/TestDataService">http://localhost:8080/Teste/servlet/TestDataService" useProxy="false"/ /cairngorm:ServiceLocator P.S: It's a simple tentative to use Cairngorm - with some changes -in Flex 2.0 environment. Tks again, Michel. -Mensagem original-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Matt ChotinEnviada em: quarta-feira, 9 de novembro de 2005 03:17Para: flexcoders@yahoogroups.comAssunto: RE: [flexcoders] HTTPService and Flex 2.0 That looks right, not sure why itd be giving you trouble. I wonder if the line numbers for the error are just wrong? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michel BertrandSent: Tuesday, November 08, 2005 12:06 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] HTTPService and Flex 2.0 Hello ! Have somebody used HTTPService in Flex 2.0 Alpha ? I got the error "Access of undefined property document" for the tag below: 1 mx:HTTPService 2 id="testDataSrv" 3 method="POST" 4 resultFormat="xml" 5 url=""Courier New" color=#99 size=2>http://localhost:8080/Teste/servlet/TestDataService" 6 useProxy="false"/ The editor marks line 3 (method="POST") as error reason, any idea ? Thanks in advance ! Michel Bertrand | Desenvolvimento | DATASUL TecnologiaAcesse www.datasuldirect.com.br e conheça mais sobre os produtos e soluções de tecnologia -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex running on JBoss 4.03
Title: Flex running on JBoss 4.03 Hi ! I'm trying to run Flex in JBoss 4.0.3 and I'm having the following error: 11:01:39,768 ERROR [[/TestUI]] Exception starting filter FlexCacheFilter javax.servlet.ServletException: Invalid configuration at line 419 in file D:\jboss-4.0.3\server\default\tmp\deploy\tmp26912TestUI-exp.war\WEB-INF\flex\flex-config.xml - cvc-complex-type.2.4.b: The content of element 'named' is not complete. One of '{http://www.macromedia.com/2003/flex-config:object}' is expected. Here is the flex-config on 419: remote-objects .. named !-- define a remote objects which may be referenced by name from mxml -- !-- object name=myobj -- !-- Flex uses this name to access the object -- !-- sourceremote.DatatypesTest/source -- !-- the type of the source being accessed - e.g. stateful-class or stateless-class -- !-- typestateless-class/type -- !-- instructs the gateway to only allow authenticated users to invoke this service this is required when using normal J2EE Basic authentication -- !-- use-basic-authenticationtrue/use-basic-authentication -- !-- informs the gateway that is should attempt to use its own custom authentication mechansim as configured in the login-command section of gateway-config.xml -- !-- use-custom-authenticationtrue/use-custom-authentication -- !-- Adds the service's source to the unnamed whitelist. If false, these can never be used as unnamed sources -- !-- This will be forced to false if this named object requires authentication -- !-- allow-unnamed-accesstrue/allow-unnamed-access -- !-- custom authorization roles can be specified when using custom authentication -- !-- roles role/role /roles -- !-- /object -- /named ... /remote-objects I have no remote-objects registered. The same application works on JBoss 4.0.1 SP1 without any error. Any ideia ? Thanks in advance ! Michel Bertrand | Desenvolvimento | DATASUL Tecnologia Acesse www.datasuldirect.com.br e conheça mais sobre os produtos e soluções de tecnologia -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RES: [flexcoders] Flex running on JBoss 4.03
Title: Mensagem You are right ! It works now ! Thanks ! -Mensagem original-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Matt ChotinEnviada em: segunda-feira, 31 de outubro de 2005 15:31Para: flexcoders@yahoogroups.comAssunto: RE: [flexcoders] Flex running on JBoss 4.03 You havent defined any objects in the named section, theyre all commented out. At least one is needed, otherwise the named section has to be commented out I think. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michel BertrandSent: Monday, October 31, 2005 3:12 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex running on JBoss 4.03 Hi ! I'm trying to run Flex in JBoss 4.0.3 and I'm having the following error: 11:01:39,768 ERROR [[/TestUI]] Exception starting filter FlexCacheFilter javax.servlet.ServletException: Invalid configuration at line 419 in file D:\jboss-4.0.3\server\default\tmp\deploy\tmp26912TestUI-exp.war\WEB-INF\flex\flex-config.xml - cvc-complex-type.2.4.b: The content of element 'named' is not complete. One of '{"http://www.macromedia.com/2003/flex-config":object}' is expected. Here is the flex-config on 419: remote-objects .. named !-- define a remote objects which may be referenced by name from mxml -- !-- object name="myobj" -- !-- Flex uses this name to access the object -- !-- sourceremote.DatatypesTest/source -- !-- the type of the source being accessed - e.g. stateful-class or stateless-class -- !-- typestateless-class/type -- !-- instructs the gateway to only allow authenticated users to invoke this service this is required when using normal J2EE Basic authentication -- !-- use-basic-authenticationtrue/use-basic-authentication -- !-- informs the gateway that is should attempt to use its own custom authentication mechansim as configured in the login-command section of gateway-config.xml -- !-- use-custom-authenticationtrue/use-custom-authentication -- !-- Adds the service's source to the unnamed whitelist. If false, these can never be used as unnamed sources -- !-- This will be forced to false if this named object requires authentication -- !-- allow-unnamed-accesstrue/allow-unnamed-access -- !-- custom authorization roles can be specified when using custom authentication -- !-- roles role/role /roles -- !-- /object -- /named ... /remote-objects I have no remote-objects registered. The same application works on JBoss 4.0.1 SP1 without any error. Any ideia ? Thanks in advance ! Michel Bertrand | Desenvolvimento | DATASUL TecnologiaAcesse www.datasuldirect.com.br e conheça mais sobre os produtos e soluções de tecnologia -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] ViewHelper and Cairngorm
Title: ViewHelper and Cairngorm Hello ! How can I use ViewHelper on Cairngorm ? Could anybody give me a sample ? Thanks in advance, Michel Bertrand | Desenvolvimento | DATASUL Tecnologia Acesse www.datasuldirect.com.br e conheça mais sobre os produtos e soluções de tecnologia -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RES: [flexcoders] Remote Object not found in Flex config
Title: Mensagem Hi ! Thanks !I have already restarted the server. It's still not working. -Mensagem original-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Roger GonzalezEnviada em: terça-feira, 25 de outubro de 2005 18:17Para: flexcoders@yahoogroups.comAssunto: RE: [flexcoders] Remote Object not found in Flex config Did you just make these changes? Try shutting down and restarting your server. There was an issue someone else had recently where this wasn't picked up correctly without a restart. -RogerRoger Gonzalez[EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michel BertrandSent: Tuesday, October 25, 2005 12:18 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Remote Object not found in Flex config Hi ! I'm having the following error : Invalid value for 'named' - does not match any object name from the configuration file. I have already checked my config file and I'm sure to have the name of the remote-object there, however the error is still happening. At config file I have the settings below: remote-objects .. whitelist !-- whitelist config for named objects -- named object name="DataBaseHandler" sourcecom.datasul.persistence.util.DataBaseHandlerDelegate/source typestateless-class/type /object /named /whitelist /remote-objects I have the class DataBaseHandlerDelegate at WEB-INF/lib (as a jar file) and at WEB-INF/classes/com/datasul/persistence/util/. At my MXML tag I have the following: mx:RemoteObject id="dataBaseHandlerSrv" named="DataBaseHandler" protocol="http" showBusyCursor="true" result="event.call.resultHandler( event );" fault="event.call.faultHandler( event );" /mx:RemoteObject What's wrong ? Where should I look for the error ? Thanks in advance, Michel Bertrand | Desenvolvimento | DATASUL TecnologiaAcesse www.datasuldirect.com.br e conheça mais sobre os produtos e soluções de tecnologia -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RES: [flexcoders] Remote Object not found in Flex config
Title: Mensagem I had to use an "unamed" remote object, like: mx:RemoteObject id="dataBaseHandlerSrv" protocol="http"showBusyCursor="true"result="event.call.resultHandler( event );"fault="event.call.faultHandler( event );"source="com.datasul.persistence.util.DataBaseHandlerDelegate"type="stateless-class" /mx:RemoteObject The following is not working: mx:RemoteObject id="dataBaseHandlerSrv" named="DataBaseHandler"protocol="http"showBusyCursor="true"result="event.call.resultHandler( event );"fault="event.call.faultHandler( event );" /mx:RemoteObject Of course, when havingall settings (remote-object whitelist)in the flex config file. Regards, Michel. -Mensagem original-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Mercer, DustinEnviada em: quarta-feira, 26 de outubro de 2005 02:14Para: flexcoders@yahoogroups.comAssunto: RE: [flexcoders] Remote Object not found in Flex config And make sure you are not running Flash Player 8.5. I had issues with Flash player 8.5 and Named remote objects. It was giving me a different error, but there were problems none the less. After uninstall of 8.5, my app worked fine. Very strange From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Roger GonzalezSent: Tuesday, October 25, 2005 1:17 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Remote Object not found in Flex config Did you just make these changes? Try shutting down and restarting your server. There was an issue someone else had recently where this wasn't picked up correctly without a restart. -RogerRoger Gonzalez[EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michel BertrandSent: Tuesday, October 25, 2005 12:18 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Remote Object not found in Flex config Hi ! I'm having the following error : Invalid value for 'named' - does not match any object name from the configuration file. I have already checked my config file and I'm sure to have the name of the remote-object there, however the error is still happening. At config file I have the settings below: remote-objects .. whitelist !-- whitelist config for named objects -- named object name="DataBaseHandler" sourcecom.datasul.persistence.util.DataBaseHandlerDelegate/source typestateless-class/type /object /named /whitelist /remote-objects I have the class DataBaseHandlerDelegate at WEB-INF/lib (as a jar file) and at WEB-INF/classes/com/datasul/persistence/util/. At my MXML tag I have the following: mx:RemoteObject id="dataBaseHandlerSrv" named="DataBaseHandler" protocol="http" showBusyCursor="true" result="event.call.resultHandler( event );" fault="event.call.faultHandler( event );" /mx:RemoteObject What's wrong ? Where should I look for the error ? Thanks in advance, Michel Bertrand | Desenvolvimento | DATASUL TecnologiaAcesse www.datasuldirect.com.br e conheça mais sobre os produtos e soluções de tecnologia -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RES: [flexcoders] Remote Object not found in Flex config
Title: Mensagem I'm using Flash Player 7,0,35,29 ... -Mensagem original-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Mercer, DustinEnviada em: quarta-feira, 26 de outubro de 2005 02:14Para: flexcoders@yahoogroups.comAssunto: RE: [flexcoders] Remote Object not found in Flex config And make sure you are not running Flash Player 8.5. I had issues with Flash player 8.5 and Named remote objects. It was giving me a different error, but there were problems none the less. After uninstall of 8.5, my app worked fine. Very strange From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Roger GonzalezSent: Tuesday, October 25, 2005 1:17 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Remote Object not found in Flex config Did you just make these changes? Try shutting down and restarting your server. There was an issue someone else had recently where this wasn't picked up correctly without a restart. -RogerRoger Gonzalez[EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michel BertrandSent: Tuesday, October 25, 2005 12:18 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Remote Object not found in Flex config Hi ! I'm having the following error : Invalid value for 'named' - does not match any object name from the configuration file. I have already checked my config file and I'm sure to have the name of the remote-object there, however the error is still happening. At config file I have the settings below: remote-objects .. whitelist !-- whitelist config for named objects -- named object name="DataBaseHandler" sourcecom.datasul.persistence.util.DataBaseHandlerDelegate/source typestateless-class/type /object /named /whitelist /remote-objects I have the class DataBaseHandlerDelegate at WEB-INF/lib (as a jar file) and at WEB-INF/classes/com/datasul/persistence/util/. At my MXML tag I have the following: mx:RemoteObject id="dataBaseHandlerSrv" named="DataBaseHandler" protocol="http" showBusyCursor="true" result="event.call.resultHandler( event );" fault="event.call.faultHandler( event );" /mx:RemoteObject What's wrong ? Where should I look for the error ? Thanks in advance, Michel Bertrand | Desenvolvimento | DATASUL TecnologiaAcesse www.datasuldirect.com.br e conheça mais sobre os produtos e soluções de tecnologia -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Remote Object not found in Flex config
Title: Remote Object not found in Flex config Hi ! I'm having the following error : Invalid value for 'named' - does not match any object name from the configuration file. I have already checked my config file and I'm sure to have the name of the remote-object there, however the error is still happening. At config file I have the settings below: remote-objects .. whitelist !-- whitelist config for named objects -- named object name=DataBaseHandler sourcecom.datasul.persistence.util.DataBaseHandlerDelegate/source typestateless-class/type /object /named /whitelist /remote-objects I have the class DataBaseHandlerDelegate at WEB-INF/lib (as a jar file) and at WEB-INF/classes/com/datasul/persistence/util/. At my MXML tag I have the following: mx:RemoteObject id=dataBaseHandlerSrv named=DataBaseHandler protocol=http showBusyCursor=true result=event.call.resultHandler( event ); fault=event.call.faultHandler( event ); /mx:RemoteObject What's wrong ? Where should I look for the error ? Thanks in advance, Michel Bertrand | Desenvolvimento | DATASUL Tecnologia Acesse www.datasuldirect.com.br e conheça mais sobre os produtos e soluções de tecnologia -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Cairngorm and FrontControllers
Title: Cairngorm and FrontControllers Hi ! About Cairngorn FrontController, how many should I have per application ? Exactly one or could I have more ? Thanks in advance ! Michel. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RES: [flexcoders] Getting a null object reference
Title: Mensagem Hi ! You were right ! Iadded"creationComplete" to Compositionand now I have everything working ! Thank you very much ! My last test fail due to a mistake. Regards, Michel. -Mensagem original-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Matt ChotinEnviada em: terça-feira, 4 de outubro de 2005 20:57Para: flexcoders@yahoogroups.comAssunto: RE: [flexcoders] Getting a null object reference Hmm, I dont have time to dig but generally that should work Id think. What if you put a button in Composition.mxml that calls initialize() and see if its not null then. Clearly this is just an ordering problem but I cant tell why off the top of my head. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michel BertrandSent: Tuesday, October 04, 2005 11:21 AMTo: flexcoders@yahoogroups.comSubject: RES: [flexcoders] Getting a null object reference Thank you for your suggestion ... I changed to creationComplete, but still not working ... -Mensagem original-De: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Em nome de Matt ChotinEnviada em: terça-feira, 4 de outubro de 2005 01:32Para: flexcoders@yahoogroups.comAssunto: RE: [flexcoders] Getting a null object reference Try using creationComplete in your Composition.mxml instead of initialize and see if that works. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michel BertrandSent: Monday, October 03, 2005 11:45 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Getting a null object reference Hi ! I'm trying to do the following: mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns:framework="com.datasul.framework.ui.template.view.*" width="100%" height="100%" initialize="initialize()" mx:Script ![CDATA[ import com.datasul.framework.ui.template.model.CompositionModel; var model:CompositionModel; function initialize() : Void { model = new CompositionModel(); } ]] /mx:Script framework:Composition width="100%" height="100%" framework:model{this.model}/framework:model /framework:Composition /mx:Application I would like to bind the value of "model" with the "model" property of the Composition component. Like: "Composition.mxml" mx:Canvas xmlns:mx="http://www.macromedia.com/2003/mxml" initialize="initialize()" width="100%" height="100%" mx:Panel id="mainPanel" mx:Script ![CDATA[ import com.datasul.framework.ui.template.model.CompositionModel; var model:CompositionModel; function initialize(): Void { if ( model == undefined ) { mx.controls.Alert.show("MODEL = NULL"); } } ]] /mx:Script .. /mx:Panel /mx:Canvas Everytime I run the code I get a message saying "MODEL = NULL". Why I don't have an object instance since model has been already instantiated ? Any help or suggestion will be very appreciated. Thanks in advance ! Michel. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RES: [flexcoders] Getting a null object reference
Title: Mensagem Thank you for your suggestion ... I changed to creationComplete, but still not working ... -Mensagem original-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Matt ChotinEnviada em: terça-feira, 4 de outubro de 2005 01:32Para: flexcoders@yahoogroups.comAssunto: RE: [flexcoders] Getting a null object reference Try using creationComplete in your Composition.mxml instead of initialize and see if that works. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michel BertrandSent: Monday, October 03, 2005 11:45 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Getting a null object reference Hi ! I'm trying to do the following: mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns:framework="com.datasul.framework.ui.template.view.*" width="100%" height="100%" initialize="initialize()" mx:Script ![CDATA[ import com.datasul.framework.ui.template.model.CompositionModel; var model:CompositionModel; function initialize() : Void { model = new CompositionModel(); } ]] /mx:Script framework:Composition width="100%" height="100%" framework:model{this.model}/framework:model /framework:Composition /mx:Application I would like to bind the value of "model" with the "model" property of the Composition component. Like: "Composition.mxml" mx:Canvas xmlns:mx="http://www.macromedia.com/2003/mxml" initialize="initialize()" width="100%" height="100%" mx:Panel id="mainPanel" mx:Script ![CDATA[ import com.datasul.framework.ui.template.model.CompositionModel; var model:CompositionModel; function initialize(): Void { if ( model == undefined ) { mx.controls.Alert.show("MODEL = NULL"); } } ]] /mx:Script .. /mx:Panel /mx:Canvas Everytime I run the code I get a message saying "MODEL = NULL". Why I don't have an object instance since model has been already instantiated ? Any help or suggestion will be very appreciated. Thanks in advance ! Michel. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Getting a null object reference
Title: Getting a null object reference Hi ! I'm trying to do the following: mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml xmlns:framework=com.datasul.framework.ui.template.view.* width=100% height=100% initialize=initialize() mx:Script ![CDATA[ import com.datasul.framework.ui.template.model.CompositionModel; var model:CompositionModel; function initialize() : Void { model = new CompositionModel(); } ]] /mx:Script framework:Composition width=100% height=100% framework:model{this.model}/framework:model /framework:Composition /mx:Application I would like to bind the value of model with the model property of the Composition component. Like: Composition.mxml mx:Canvas xmlns:mx=http://www.macromedia.com/2003/mxml initialize=initialize() width=100% height=100% mx:Panel id=mainPanel mx:Script ![CDATA[ import com.datasul.framework.ui.template.model.CompositionModel; var model:CompositionModel; function initialize(): Void { if ( model == undefined ) { mx.controls.Alert.show(MODEL = NULL); } } ]] /mx:Script .. /mx:Panel /mx:Canvas Everytime I run the code I get a message saying MODEL = NULL. Why I don't have an object instance since model has been already instantiated ? Any help or suggestion will be very appreciated. Thanks in advance ! Michel. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Compilation Error - Unresolved Symbol
Title: Compilation Error - Unresolved Symbol Hi ! I'm having the following compilation error: Unresolved symbol, , required by __Packages.SideSelector I don't know how to fix it. I don't know to find out where is the piece of code causing the error. Below the component code for SideSelector.mxml: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml initialize=initialize() mx:Script ![CDATA[ import com.datasul.framework.ui.template.model.SideSelectorModel; import com.datasul.framework.ui.template.control.SideSelectorController; import org.nevis.cairngorm.control.EventBroadcaster; var controller:SideSelectorController; var selectedIndex:Object; function initialize(): Void { controller = new SideSelectorController(); } function setSelectedItem(index:Number): Void { selectedIndex = index; } function create(): Void { if (selectedIndex != undefined ){ EventBroadcaster.getInstance().broadcastEvent( controller.ADD_SIDE_SELECTION, selectedIndex ); } else { mx.core.Application.alert( Nenhum item foi selecionado. ); } } function remove(): Void { if (selectedIndex != undefined ){ EventBroadcaster.getInstance().broadcastEvent( controller.REMOVE_SIDE_SELECTION, selectedIndex ); } else { mx.core.Application.alert( Nenhum item foi selecionado. ); } } ]] /mx:Script mx:Panel id=main label=Title mx:HBox mx:Panel id=leftPanel label=Left Column Title mx:DataGrid id=leftGrid dataProvider={SideSelectorModel.leftList} editable=false change=setSelectedItem(leftGrid.selectedIndex) /mx:DataGrid /mx:Panel mx:Canvas id=canvas mx:VBox verticalAlign=middle mx:Button id=createItem icon= click=create()/ mx:Button id=removeItem icon= click=remove()/ /mx:VBox /mx:Canvas mx:Panel id=rightPanel label=Right Column Title mx:DataGrid id=rightGrid dataProvider={SideSelectorModel.rightList} editable=false change=setSelectedItem(rightGrid.selectedIndex) /mx:DataGrid /mx:Panel /mx:HBox /mx:Panel /mx:Application I'm sure the all import staments are working and referenced classes are being found. The source code is in ASC and appears to be not corrupted. So, I do not understand why I'm having the error. Can you help me ? Any suggestion would be very appreciated ! Thanks in advance ! Michel. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RES: [flexcoders] Compilation Error - Unresolved Symbol
Title: Mensagem Just to register ... I found the error ... I cannothave icon="" in the code ... -Mensagem original-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Michel BertrandEnviada em: quinta-feira, 29 de setembro de 2005 11:20Para: flexcoders@yahoogroups.comAssunto: [flexcoders] Compilation Error - Unresolved Symbol Hi ! I'm having the following compilation error: Unresolved symbol, , required by __Packages.SideSelector I don't know how to fix it. I don't know to find out where is the piece of code causing the error. Below the component code for SideSelector.mxml: ?xml version="1.0" encoding="utf-8"? mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" initialize="initialize()" mx:Script ![CDATA[ import com.datasul.framework.ui.template.model.SideSelectorModel; import com.datasul.framework.ui.template.control.SideSelectorController; import org.nevis.cairngorm.control.EventBroadcaster; var controller:SideSelectorController; var selectedIndex:Object; function initialize(): Void { controller = new SideSelectorController(); } function setSelectedItem(index:Number): Void { selectedIndex = index; } function create(): Void { if (selectedIndex != undefined ){ EventBroadcaster.getInstance().broadcastEvent( controller.ADD_SIDE_SELECTION, selectedIndex ); } else { mx.core.Application.alert( "Nenhum item foi selecionado." ); } } function remove(): Void { if (selectedIndex != undefined ){ EventBroadcaster.getInstance().broadcastEvent( controller.REMOVE_SIDE_SELECTION, selectedIndex ); } else { mx.core.Application.alert( "Nenhum item foi selecionado." ); } } ]] /mx:Script mx:Panel id="main" label="Title" mx:HBox mx:Panel id="leftPanel" label="Left Column Title" mx:DataGrid id="leftGrid" dataProvider="{SideSelectorModel.leftList}" editable="false" change="setSelectedItem(leftGrid.selectedIndex)" /mx:DataGrid /mx:Panel mx:Canvas id="canvas" mx:VBox verticalAlign="middle" mx:Button id="createItem" icon="" click="create()"/ mx:Button id="removeItem" icon="" click="remove()"/ /mx:VBox /mx:Canvas mx:Panel id="rightPanel" label="Right Column Title" mx:DataGrid id="rightGrid" dataProvider="{SideSelectorModel.rightList}" editable="false" change="setSelectedItem(rightGrid.selectedIndex)" /mx:DataGrid /mx:Panel /mx:HBox /mx:Panel /mx:Application I'm sure the all import staments are working and referenced classes are being found. The source code is in ASC and appears to be not corrupted. So, I do not understand why I'm having the error. Can you help me ? Any suggestion would be very appreciated ! Thanks in advance ! Michel. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] ClassUtil Question
Title: ClassUtil Question Hi ! Can I use mx.utils.ClassUtil to load an MXML file ? Thanks in advance ! Michel. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Help to create an object instance dynamically
Title: Help to create an object instance dynamically Hi all ! I'm trying to get a component instance using the following: var workspace:Workspace = Workspace.getInstance(); var name:String = com.datasul.framework.custom.view.LoanForm; var type:Function = ClassUtil.findClass(name); wkt = Workspace.getInstance(); wkt.createChild(type,name); Where: - Workspace: is an object extending mx.containers.Canvas; I suppose that retriving an Object using ClassUtil I would get an object instance. But it doesn't work in this fashion. So, I still tried to use wkt.createChild(type.call(),name), however no success. Did anybody has an idea to create my object dynamically and add it to a container ? Regards, Michel. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RES: [flexcoders] Cairgorm features
Title: Mensagem Hello Steven ! -Mensagem original-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Steven WebsterEnviada em: quinta-feira, 1 de setembro de 2005 17:04Para: flexcoders@yahoogroups.comAssunto: RE: [flexcoders] Cairgorm features Hey Michel, - Error Handling What would you require exactly; remember we're not "in JVM" so the responsibility to throw errors is different. What would you be looking for...? Ok, we were thinking about Struts form validation here. Validate not only unfilled fields automacally and/or show errors about executingservice operations. We could have something like the Struts error tag. Perhaps, when considering service execution on Flex, weknow they don't happen at the invocation moment, so it can be a problem to register and show the errors. Anyway, is a suggestion. - Internacionalization We intended implementing the solution by Benoit Hedard into the Cairngorm framework, but haven't made any concrete commitments to delivering that. We'retrying to balancedecisions about whether features belong in an architectural framework, or whether we should lobby for their inclusion in the technology itself. Ok,weagree, this is a goodarguing, why flex doesn't have (nativelly) some feature that helps people to write an i18nable application ? But even in Java, the use of ResourceBundles is just a pattern, a feature of the java "architecture", and not something inside the JVM, or the language itselt. We'll try to solve this issue using a Java Remoting Service binding to a Flex Dataset, and this one binding to the properties of the Flex componentes. This service will be called in the initialization fase of the Flex Application, or even when the user decides to change its locale. In our case this Java Remoting Service of course relies on the Java Resource Bundle support. This looks very simple, should be work without performance issues, and could be a pattern to any Flex Development that needs i18n support. - Action Mapping (regarding navigation) Again, what would you be looking for here ? Currently, actions are essentially "event names" that invoke commands, and the map as such is the implementation of the FrontController. We've found that to be a lightweight implementation that delivers on what people require ... would you require more. Struts is built upon the Core J2EE Patterns, Cairngorm is an implementation of an RIA microarchitecture that leverages the Core J2EE Patterns that the iteration::two team considered over the years to be appropriate to RIA development, and have since won support from the other members of the Cairngorm project committee (and the developers using the framework). Our goal is to deliver an implementation of a best-practice microarchitecture that best-leverage the feature-set of Flex; our goal has never been to port Struts (which I would consider to be too heavyweight for stateful client-side microarchitecture, but that's another discussion). Have you built an RIA with Cairngorm, and did you find anything lacking in being able to engineer and deliver the kind of user-experiences that you hoped for ? Feature requests based upon real-world use-cases are greatfully accepted... Here we are asking ourselfs what are the benefits of using this Cairngorm microarchitecture ?Ok, with it, we extract the controller of user UI actions(FrontController) to a separated piece of code, that should be more easily maintained, for instance to implement a new behavior, without touching the UI code (mxml).Is just that ? Because this complexity added in the UI development, in our opinion, it doesn't justify this only one benefit.We've also heard that using this Cairnform microarchiteture the development should be faster than a common approach, were the UI actions(events) are treated directly in the mxml code. In practice this is not true.We are also looking for some pattern that helps us in another area. Our applications are commonly customized by our customers, for example to add or change a behavior of an UI functionality, sometimes this customizations are per enduser and not only to a particular application instance.So, more than a simple separation of the controller, we need something more FLEXyble, solved in runtime, maybe using XML (here like struts, butsimpler) instead of ActionScript code (without compilation needs). Best wishes, Steven -- Steven WebsterTechnical Director iteration::two This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately.Please also note that
[flexcoders] Creating a new Flex component
Title: Creating a new Flex component Hello ! I would like to create some new Flex components, like extended grids, text input and so on. My ideia is not only to add some new behavior to them but new faces too. Does anybody know where could a find documentation about it ? Thanks in advance ! Michel. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RES: [flexcoders] Creating a new Flex component
Title: Mensagem Thanks ! I will take a look on it ! -Mensagem original-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Tariq AhmedEnviada em: quarta-feira, 17 de agosto de 2005 13:26Para: flexcoders@yahoogroups.comAssunto: Re: [flexcoders] Creating a new Flex componentHi Michel, I would suggest looking at some examples to start off with. Eg the Gauge Component, clock Component, etc...http://www.cflex.net/showfiles.cfm?ChannelID=1lkpFileGroup=codelibraryMichel Bertrand wrote: Hello ! I would like to create some new Flex components, like extended grids, text input and so on. My ideia is not only to add some new behavior to them but new faces too. Does anybody know where could a find documentation about it ? Thanks in advance ! Michel. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Dinamically adding itens to a grid
Title: Dinamically adding itens to a grid Hi all ! I'm new at the list and a new flex coder. I'm trying to add GridRows to a Grid using the following code: function addFilterCondition(){ var fieldName = new ComboBox(); var operation = new TextInput(); var condition = new TextInput(); var addButton = new Button(); var removeButton = new Button(); var row = new GridRow(); row.createChild(mx.controls.ComboBox,,); row.createChild(mx.controls.TextInput,,); row.createChild(mx.controls.TextInput,,); row.createChild(mx.controls.Button,,); row.createChild(mx.controls.Button,,); grid.createChild(row); grid.layoutChildren(); } I called the function above from a click event of a button, but no GridRow has been add to the Grid. Did I miss something ? Is my code right ? Thanks in advance ! Michel. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RES: [flexcoders] Dinamically adding itens to a grid
Title: Mensagem Hi Allen ! Thanks for your answer ! I tried to use aDataGrid and it's property of type DataProvider but I didn't have success. I got a message saying that this kind of container cannot display visual components. I will try do build my component in another way. Thanks again ! Michel. -Mensagem original-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Allen ManningEnviada em: segunda-feira, 15 de agosto de 2005 16:07Para: flexcoders@yahoogroups.comAssunto: RE: [flexcoders] Dinamically adding itens to a grid Hello Michael, You should use the DataProvider API to get the databinding to fire. HTH, Allen www.prismix.com/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michel BertrandSent: 15 August 2005 19:25To: flexcoders@yahoogroups.comSubject: [flexcoders] Dinamically adding itens to a grid Hi all ! I'm new at the list and a new flex coder. I'm trying to add GridRows to a Grid using the following code: function addFilterCondition(){ var fieldName = new ComboBox(); var operation = new TextInput(); var condition = new TextInput(); var addButton = new Button(); var removeButton = new Button(); var row = new GridRow(); row.createChild(mx.controls.ComboBox,"",""); row.createChild(mx.controls.TextInput,"",""); row.createChild(mx.controls.TextInput,"",""); row.createChild(mx.controls.Button,"",""); row.createChild(mx.controls.Button,"",""); grid.createChild(row); grid.layoutChildren(); } I called the function above from a "click" event of a button, but no GridRow has been add to the Grid. Did I miss something ? Is my code right ? Thanks in advance ! Michel. --No virus found in this incoming message.Checked by AVG Anti-Virus.Version: 7.0.338 / Virus Database: 267.10.9/72 - Release Date: 14/08/2005 --No virus found in this outgoing message.Checked by AVG Anti-Virus.Version: 7.0.338 / Virus Database: 267.10.9/72 - Release Date: 14/08/2005 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.