[flexcoders] Re: Flash Player 9 issues on Windows 2005 Tablet PC Edition
Kelly, Simple point click works fine as it did in Flex 1.5 with Flash Player 7, but the issue resides with double-clicking and recognizing text input boxes. In Flex 1.5/Flash Player 7 when you clicked into a text input fields; the fields would display an icon to launch the on-screen keyboard. That is no longer happening. Now with the double-clicking issue; it seems you need to click repeatedly at a very hight rate for Flash player 9 to recognize a double-click gesture with the pen. Thoughts? - Sof --- In flexcoders@yahoogroups.com, Kelly Birr [EMAIL PROTECTED] wrote: There is a Windows XP Tablet PC Edition 2005, it's the name given to Windows XP Tablet PC Edition with SP2 installed. That is what i run on My Toshia Portege M200 and I do run flex 2.0 applicaitons on it and it seems to run perfectly. I admittedly rarely use the pan/tablet features and could not testify to how well flash apps response to pen gestures but I just tried some simple point-and-click with the pen on my flash app and it works as expected. - Kelly Chris Hill wrote: AFAIK there is no Windows 2005 Tablet PC edition. I am running Windows XP Tablet PC edition on this computer, is that what you're talking about? Or are you perhaps running Vista on a Tablet PC? John Dowdell wrote: Steven Toth wrote: Has any testing been done of the Flash Player 9 on Windows 2005 Tablet PC edition? When running our application under Flash Player 7 it responded as expected. However, Flash Player 9 is responding poorly to pen gestures such as textInput focus and double click. We filed a bug report and the Adobe rep. that contacted us didn't know what Windows 2005 Tablet PC edition was and wasn't sure how to help us. Any help would be greatly appreciated. Thanks. I'm pulling up 18 Google references to search phrase Windows 2005 Tablet PC... variant phrases don't return good results either. Is there another label I should be searching on to find others' experience with similar machines...? tx, jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. -- 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
[flexcoders] Re: Pen response quirky on tablet pc with Flash Player 9
Anyone have experience with this issue? --- In flexcoders@yahoogroups.com, sof4real03 [EMAIL PROTECTED] wrote: Has the Adobe team tested the Flash Player 9 against the latest Windows 2005 Tablet PC edition? Flash Player 7 responded fairly well to pen gestures such as textInput focus and double click, but 9 is responding poorly. Should I be listening for a certain event other than mouseEvents or is this a known issue? Thanks, Sof -- 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] Pen response quirky on tablet pc with Flash Player 9
Has the Adobe team tested the Flash Player 9 against the latest Windows 2005 Tablet PC edition? Flash Player 7 responded fairly well to pen gestures such as textInput focus and double click, but 9 is responding poorly. Should I be listening for a certain event other than mouseEvents or is this a known issue? Thanks, Sof -- 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] TextInput and masking
Is there a simple way of enabling a text input mask on the control or do you need to write a custom component to extend the features available with the textInput? -- 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] mx:States and caching
Is there a way to force states to recreate children objects? Using the RemoveChild does not delete the child instance. Any insight into this matter? - Sof -- 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] View States(mx:States) and Caching Issue
I have a panel that has multiple view states: default: empty createPerson: populates the panel with an accordion/form So after I fill out the accordion/form I submit my data and change my view state back to default. Then I want to add another person I click on a button that once again puts me in the createPerson view state that has a AddChild tag which adds the accordion/form. The problem is that it adds back the accordion/form that I previously fill out. I tried to play around with all kinds of caching properties of the various components, but it still keeps on bringing back the same form. Essentially I want to instantiate an entirely new form when I go to the createPerson view state. I'm thinking I may need to create the state via actionscript to accomplish this instead of mxml. Any thoughts? Thanks, Sof -- 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] Re: mx:States and databinding issue
I'm at a loss here, Anybody having any issues with binding in States? --- In flexcoders@yahoogroups.com, sof4real03 [EMAIL PROTECTED] wrote: After tracing my code, I'm sure that the event is being propagated, but the button still doesn't become enabled even when the forms are valid. Could it be the issue of creating this state on the component's parent? --- In flexcoders@yahoogroups.com, sof4real03 soubraham2@ wrote: You are correct, the formsValidationChange event is bound for the formvalid property of the component. [ChangeEvent(formValidChanged)] public function get formValid():Boolean { return _formValid; } public function set formValid( formValid:Boolean ):void { setFormValid( formValid ); } private function setFormValid( formValid:Boolean ):void { if ( formValid != _formValid ) { _formValid = formValid; dispatchEvent(new Event(formValidChanged)); } } I've put Alerts in the formsValid function and it's getting to the function, but it doesn't seem to be recieving the formValidationChange event everytime it's set to a new value. I'm at a loss... If I don't use a state and put in this button on the page initially all is good. --- In flexcoders@yahoogroups.com, Matt Chotin mchotin@ wrote: What is formValidationChanged the event on? The formValid property I hope? Are you sure you're not going into the formsValid method? Try naming the arguments array to something different like args, arguments is a reserved word and may be acting funky here (though it should work correctly in this case I think). Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sof4real03 Sent: Monday, April 24, 2006 9:03 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] mx:States and databinding issue I have a custom form component that broadcasts an event every time the form changes validation states: ContactDetails.mxml: [ChangeEvent(formValidationChanged)] Now the parent component of ContactDetails is CreateClientProfile.mxml and it uses an accordian to instantiate the ContactDetails form. Finally CreateClientProfile is a state of another component. Ok, so in ContactDetails, I have the following code: mx:states mx:State name=default id=defaultCCView mx:AddChild target={parentDocument.clientPanelControl} mx:Button id=addClientBtn label=Add My Client/ /mx:AddChild mx:SetProperty target={addClientBtn} name=enabled value={ formsValid(personalDetails.formValid,contactDetails.formValid) }/ mx:SetEventHandler target={addClientBtn} name=click handler=submitClientForm()/ /mx:State /mx:states mx:Script ![CDATA[ public function formsValid(...arguments:Array):Boolean { for(var i:int = 0; i arguments.length; ++i) { if( arguments[i] == false ) { return false; } } return true; } So, in the CreateClientProfile.mxml, I create a button on it's parent container, ClientPanel.mxml. ClientPanel - CreateClientProfile - ContactDetails Eventhough I'm broadcasting the FormValidationChange event from the ContactDetails component it doesn't get picked up from the state that creates the button though it's using databinding on the formsvalid function. Any insight? Thanks, Sof -- 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 -- 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] Re: mx:States and databinding issue
Matt, After a ton of debugging I finally was able to change the value of the button in the State via actionscript and not through binding with the SetProperty tag. public function formsValid(...args:Array):Boolean { for(var i:int = 0; i args.length; i++) { if( args[i] == false ) return false; } parentDocument.addClientBtn.enabled = true; return true; } mx:states mx:State name=default id=defaultCCView mx:SetProperty target={parentDocument.addClientBtn} name=enabled value={formsValid(personalDetails.formValid,contactDetails.formValid) }/ mx:SetEventHandler target={parentDocument.addClientBtn} name=click handler=submitClientForm()/ /mx:State /mx:states Now I'm not sure if this is a databinding issue with States and SetProperty tag, but this workaround isn't something I'd like to do in the future. I hope someone can point something wrong in my code that would make the state handle the databind correctly, but I just don't see anything wrong. Thanks, Sof --- In flexcoders@yahoogroups.com, sof4real03 [EMAIL PROTECTED] wrote: I'm at a loss here, Anybody having any issues with binding in States? --- In flexcoders@yahoogroups.com, sof4real03 soubraham2@ wrote: After tracing my code, I'm sure that the event is being propagated, but the button still doesn't become enabled even when the forms are valid. Could it be the issue of creating this state on the component's parent? --- In flexcoders@yahoogroups.com, sof4real03 soubraham2@ wrote: You are correct, the formsValidationChange event is bound for the formvalid property of the component. [ChangeEvent(formValidChanged)] public function get formValid():Boolean { return _formValid; } public function set formValid( formValid:Boolean ):void { setFormValid( formValid ); } private function setFormValid( formValid:Boolean ):void { if ( formValid != _formValid ) { _formValid = formValid; dispatchEvent(new Event(formValidChanged)); } } I've put Alerts in the formsValid function and it's getting to the function, but it doesn't seem to be recieving the formValidationChange event everytime it's set to a new value. I'm at a loss... If I don't use a state and put in this button on the page initially all is good. --- In flexcoders@yahoogroups.com, Matt Chotin mchotin@ wrote: What is formValidationChanged the event on? The formValid property I hope? Are you sure you're not going into the formsValid method? Try naming the arguments array to something different like args, arguments is a reserved word and may be acting funky here (though it should work correctly in this case I think). Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sof4real03 Sent: Monday, April 24, 2006 9:03 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] mx:States and databinding issue I have a custom form component that broadcasts an event every time the form changes validation states: ContactDetails.mxml: [ChangeEvent(formValidationChanged)] Now the parent component of ContactDetails is CreateClientProfile.mxml and it uses an accordian to instantiate the ContactDetails form. Finally CreateClientProfile is a state of another component. Ok, so in ContactDetails, I have the following code: mx:states mx:State name=default id=defaultCCView mx:AddChild target={parentDocument.clientPanelControl} mx:Button id=addClientBtn label=Add My Client/ /mx:AddChild mx:SetProperty target={addClientBtn} name=enabled value={ formsValid(personalDetails.formValid,contactDetails.formValid) }/ mx:SetEventHandler target={addClientBtn} name=click handler=submitClientForm()/ /mx:State /mx:states mx:Script ![CDATA[ public function formsValid(...arguments:Array):Boolean { for(var i:int = 0; i arguments.length; ++i) { if( arguments[i] == false ) { return false; } } return true; } So, in the CreateClientProfile.mxml, I create a button on it's parent container, ClientPanel.mxml. ClientPanel - CreateClientProfile - ContactDetails Eventhough I'm broadcasting the FormValidationChange event from the ContactDetails component it doesn't get picked up from the state that creates the button though it's using databinding on the formsvalid function. Any insight? Thanks, Sof -- 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 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files
[flexcoders] mx:States and databinding issue
I have a custom form component that broadcasts an event every time the form changes validation states: ContactDetails.mxml: [ChangeEvent(formValidationChanged)] Now the parent component of ContactDetails is CreateClientProfile.mxml and it uses an accordian to instantiate the ContactDetails form. Finally CreateClientProfile is a state of another component. Ok, so in ContactDetails, I have the following code: mx:states mx:State name=default id=defaultCCView mx:AddChild target={parentDocument.clientPanelControl} mx:Button id=addClientBtn label=Add My Client/ /mx:AddChild mx:SetProperty target={addClientBtn} name=enabled value={ formsValid(personalDetails.formValid,contactDetails.formValid) }/ mx:SetEventHandler target={addClientBtn} name=click handler=submitClientForm()/ /mx:State /mx:states mx:Script ![CDATA[ public function formsValid(...arguments:Array):Boolean { for(var i:int = 0; i arguments.length; ++i) { if( arguments[i] == false ) { return false; } } return true; } So, in the CreateClientProfile.mxml, I create a button on it's parent container, ClientPanel.mxml. ClientPanel - CreateClientProfile - ContactDetails Eventhough I'm broadcasting the FormValidationChange event from the ContactDetails component it doesn't get picked up from the state that creates the button though it's using databinding on the formsvalid function. Any insight? Thanks, Sof -- 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] Re: Flex 2 Beta 2 - MenuBar events - no menuItem property
When the menu is defined in XML you need traverse the tree that way as opposed to the way you were doing. It's in the Flex Application Development PDF under Menu Controls. Thanks, Sof --- In flexcoders@yahoogroups.com, Jordan Snyder [EMAIL PROTECTED] wrote: That did it! Thank you! I was apparently going down the wrong path, because when I traced the event object itself, I was not seeing a menuItem property...so it's just magically there. Why would that property not show up? Cheers On 4/22/06, sof4real03 [EMAIL PROTECTED] wrote: Try accessing your label attribute as follows: [EMAIL PROTECTED] and then you should be able to retrieve the value. Let me know if tht works for you. -Sof --- In flexcoders@yahoogroups.com, Jordan Snyder jordan.lists@ wrote: Hello, I'm using Flex 2 Beta 2, and I'm trying to catch MenuBar events. I've already been through the workarounds in order to display E4X XML dataproviders correctly, ie, using showRoot=false, labelField=@label, etc. However, whenever a MenuBar event fires, the event object does not contain a menuItem property. I can trace the event object and see that it contains no menuItem. Here is my code, in case I've missed something silly. mx:Script![CDATA[ import mx.managers.PopUpManager; import mx.controls.Menu; import mx.controls.MenuBar; import mx.events.MenuEvent; private function changeEvt(event:MenuEvent):void { flash.util.trace(crazy+event); if(event.menuItem.attributes.label == Settings...) { showSettings(); } } private function showSettings():void { // Create the TitleWindow container. var settingsWindow:IFlexDisplayObject = PopUpManager.createPopUp(this, SettingsMenu, false); } ]] /mx:Script mx:MenuBar x=0 y=0 width=1024 height=20 id=FileBar change=changeEvt(event) labelField=@label showRoot=false mx:dataProvider mx:XML format=e4x menuitem label=File menuitem label=Exit / /menuitem menuitem label=Edit menuitem label=Mode menuitem label=** Mode/ menuitem label=** Mode/ /menuitem menuitem label=Users... / menuitem label=IP Address List... / menuitem label=Settings... / /menuitem menuitem label=View menuitem label=Logs... / menuitem label=Reports... / /menuitem menuitem label=Window menuitem label=*** / menuitem label=*** / /menuitem menuitem label=Help menuitem label=*** Help... / menuitem label=Support / menuitem label=Check for Updates... / menuitem label=About / /menuitem /mx:XML /mx:dataProvider /mx:MenuBar The trace shows this: crazy[Event type=change bubbles=false cancelable=true eventPhase=2] Is there a workaround? Is anyone getting MenuBar events to work in Beta 2? -- 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 -- 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] Re: Developing Flex Book Example not working in Flex 2 Beta 2
Sure it's Chapter 8: Validating Form Driven Applications, page 192. I'm trying to build the ValidatingForm.mxml base component. I then will use that base component to create each of the child forms that will eventually be children of the accordian. Any insight? --- In flexcoders@yahoogroups.com, Stephen Gilson [EMAIL PROTECTED] wrote: Can you be more specific on the code that you are trying? What section or page in the book is it in? Thanks, Stephen -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sof4real03 Sent: Friday, April 21, 2006 1:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Developing Flex Book Example not working in Flex 2 Beta 2 I'm trying to use a similar function as in Chapter 8 of the flex book regarding Forms. In the chapter, we create a base custom component that extends the Form component. We then use that base custom component to make the individual child forms which will be the different panes in the accordian component. When I apply this in Flex 2 Beta 2, the player gives me an error that says: Error: Multiple sets of visual children have been specified for this component (base component definition and derived component definition) Any insight? -- 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 -- 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] Re: Flex 2 Beta 2 - MenuBar events - no menuItem property
Try accessing your label attribute as follows: [EMAIL PROTECTED] and then you should be able to retrieve the value. Let me know if tht works for you. -Sof --- In flexcoders@yahoogroups.com, Jordan Snyder [EMAIL PROTECTED] wrote: Hello, I'm using Flex 2 Beta 2, and I'm trying to catch MenuBar events. I've already been through the workarounds in order to display E4X XML dataproviders correctly, ie, using showRoot=false, labelField=@label, etc. However, whenever a MenuBar event fires, the event object does not contain a menuItem property. I can trace the event object and see that it contains no menuItem. Here is my code, in case I've missed something silly. mx:Script![CDATA[ import mx.managers.PopUpManager; import mx.controls.Menu; import mx.controls.MenuBar; import mx.events.MenuEvent; private function changeEvt(event:MenuEvent):void { flash.util.trace(crazy+event); if(event.menuItem.attributes.label == Settings...) { showSettings(); } } private function showSettings():void { // Create the TitleWindow container. var settingsWindow:IFlexDisplayObject = PopUpManager.createPopUp(this, SettingsMenu, false); } ]] /mx:Script mx:MenuBar x=0 y=0 width=1024 height=20 id=FileBar change=changeEvt(event) labelField=@label showRoot=false mx:dataProvider mx:XML format=e4x menuitem label=File menuitem label=Exit / /menuitem menuitem label=Edit menuitem label=Mode menuitem label=** Mode/ menuitem label=** Mode/ /menuitem menuitem label=Users... / menuitem label=IP Address List... / menuitem label=Settings... / /menuitem menuitem label=View menuitem label=Logs... / menuitem label=Reports... / /menuitem menuitem label=Window menuitem label=*** / menuitem label=*** / /menuitem menuitem label=Help menuitem label=*** Help... / menuitem label=Support / menuitem label=Check for Updates... / menuitem label=About / /menuitem /mx:XML /mx:dataProvider /mx:MenuBar The trace shows this: crazy[Event type=change bubbles=false cancelable=true eventPhase=2] Is there a workaround? Is anyone getting MenuBar events to work in Beta 2? -- 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] Re: Developing Flex Book Example not working in Flex 2 Beta 2
Anybody run into this issue when creating custom components extending mx containers? --- In flexcoders@yahoogroups.com, sof4real03 [EMAIL PROTECTED] wrote: I'm trying to use a similar function as in Chapter 8 of the flex book regarding Forms. In the chapter, we create a base custom component that extends the Form component. We then use that base custom component to make the individual child forms which will be the different panes in the accordian component. When I apply this in Flex 2 Beta 2, the player gives me an error that says: Error: Multiple sets of visual children have been specified for this component (base component definition and derived component definition) Any insight? -- 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] Re: Can't use RemoteObject on HTTPS ONLY Server?
-context.root. Flex Builder needs to make this a little more obvious for FDS apps. Note that you don't _have_ to compile in configuration information, but if you didn't then you would instead have to programmatically create your own Channel instance(s) and ensure the channel-id and path info match the channel endpoint definitions on the server, add them to a ChannelSet and then set this ChannelSet instance on the client RemoteObject instance (i.e. through the channelSet:ChannelSet property). When getting started it should be easier to just point to a configuration file and have the client create all of this for you so that it matches the server... So, to repeat your setup to you, you have : Flex2 App -- SecureAMFChannel over HTTPS -- Apache with Connector to JRun4 -- FDS 2 Web App Now, your mention of JMS in this setup confuses me from your original post... are you using the JMSAdapter on the MessagingService, or perhaps trying to do this yourself from RemotingService, or am I missing how JMS is involved somewhere else? I'm not familiar with JRun4 connectors and Apache nor the JRunProxyService but I know of others who are... However, if you're saying that it works over normal HTTP based AMFChannel (i.e. non-secure) then something beyond FDS seems wrong. Can you turn on debug level logging in /WEB-INF/flex/flex-enterprise-services.xml and ensure the Endpoint.* category is being watched and look out for both CommandMessage request/response confirming the channel is connected and then the AsyncMessage or RemotingMessage being sent to whatever service is managing your destination and see whether all of the information arrived? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steven Toth Sent: Tuesday, April 18, 2006 9:44 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Can't use RemoteObject on HTTPS ONLY Server? The SWF is also loaded over HTTPS, the same domain as the url for the secure amf endpoint. One part of the problem was that I didn't know the configuration files get compiled into the SWF (that still baffles me why you'd compile in configuration files). Once I recompiled with the updated config files it started attempting to access the secure amf endpoint. However, I had to change the config file to hardcode the context root - it was not interpreting the {context.root} in the endpoint definition. I found this out by seeing requests for //messagebroker/amfsecure in the Apache log. After that change it hits the secure amf endpoint, but it is still not working. When I run over a non-secure amf endpoint I see the JMS message in the server console window with the Value objects that are being sent over the wire. However, when I run over the secure amf endpoint I only see the JMS messages, no data. I'm guess something is not configured correctly on Apache, JRUN, Flex or all the above. I'm running Apache 2, with the mod_jrun20.so connecting to JRun through the JRunProxyService. I do not have the SSLService running on JRUN, and the JRunProxyService is not setup to run securely as it gave me issues about plain text connections when I tried. However, when I request the SWF over HTTPS the request is routed to JRUN through Apache and it comes back successfully. Also, I do see the JMS messages in the console window when accessing the secure amf endpoint, so it seems as though the Apache-JRun communication works for the HTTPS requests. Am I missing sometihng? I'm at a loss. Thanks. --- In flexcoders@yahoogroups.com, Peter Farland pfarland@ wrote: How are you loading your SWF? Are you loading it over HTTPS too? Is it on the same domain as the secure AMF endpoint? Did you recompile your SWF with the updated configuration? Did you restart the server with the updated configuration? How many channels are referenced under your RemotingService destination (i.e. the one in flex-remoting-service.xml)? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sof4real03 Sent: Monday, April 17, 2006 3:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Can't user RemoteObject on HTTPS ONLY Server? I'm trying to get a Remote Object to work on an HTTPs only server (one that does not accept HTTP connections). I have it working fine over a regular HTTP connection. I then remove the AMF channel definition in the flex-enterprise-services.xml and replace it with a SecureAMF channel definition and update the destinations in the flex-remoting- service.x
[flexcoders] Re: Combobox not highlighting on mouseOver (Flex2Beta2)
Simeon, Thanks as well. Putting the dynamic in the VO class definition worked. I'd like to try the UIDD solution as well for completness. Is this a bug or by design? Thanks, Sof --- In flexcoders@yahoogroups.com, sufibaba [EMAIL PROTECTED] wrote: Simeon, Excellent tip, you've come through full power again. My setup is with coldfusion the Dynamic seemed to have solved the comboBox display problem. Even though that is fixed, I am getting binding problems in other parts of the App. BTW, everything was working fine in Beta1. Problem in the following scenario: A TileList that is being populate by an Array of CategoryVO's mx:TileList xmlns:mx=http://www.adobe.com/2006/mxml dataProvider={model.templateList} width=100% itemRenderer=Thumbnail columnWidth=200 height=100% dragEnabled = false backgroundColor=#C0CCD2 creationComplete=InitEvent() The Thumbnail ItemRenderer has problems with data binding . -ThumbNail.mxml -- mx:Label text={ data.data.ID}. {data.name} textAlign=left fontWeight=bold/ mx:Image id=image x={image.width/2} y={image.height/2} horizontalAlign=center source=http://company.test.net{data.data.URL as String} click=thumbClicked() scaleX=.7 scaleY=.7 rollOverEffect=zoomIn rollOutEffect=zoomOut/ Error message from the Debugger - warning: unable to bind to property 'data' on class 'com.mycompany.templateEditor.vo::CategoryVO' warning: unable to bind to property 'name' on class 'com.mycompany.templateEditor.vo::CategoryVO' warning: unable to bind to property 'data' on class 'com.mycompany.templateEditor.vo::CategoryVO' Any help on this is greatly appreciated. Cheers, Tim --- In flexcoders@yahoogroups.com, Simeon Bateman simbateman@ wrote: Hey Gang, Here is the deal as I understand it. In order for list based components to visually respond correctly they need to have certain things implemented in the VO in the dataProvider. At the base level what really needs to happen is that if you value objects are going to be used as the dataProvider for a list based control, they need to implement the IUID interface. All that really means is you need to import mx.core.IUID and then define your class as public class implements IUID. Then have a getter and setter for uid. I ran into some problems implementing this with objects that were being passed back from ColdFusion, and found that another solution was to just defind your class as dynamic.(thanks Darron) For me this was a hack and not the best option, but it was the only workaround i could make work. Anyway, if your value objects implement the IUID interface i think you will see the visual cues i the list work correctly. I know this was the case for me with lists and dataGrids. simeon -- 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] Combobox not highlighting on mouseOver (Flex2Beta2)
I'm returning a native 1 dimensional array of ValueObjects from a java class. The Value Object returned in the array has the following properties (AvtCategory:Object, value:String, code:String). I then databind the array to the dataprovider of the combobox specifying the label and data files to use. It populates the combobox, but when I mouseOver items in the dropdown it doesn't highlight the item. Any reason why that would be happening? Code below: mx:RemoteObject id=avtFacade destination=lsAvt result=resultHandler( event ) fault=faultHandler( event ) showBusyCursor=true/ mx:Script ![CDATA[ import com.name.services.avt.AvtCategoryValue; import mx.collections.ArrayCollection; import com.name.services.avt.AvtItemValue; import mx.controls.*; import mx.rpc.events.*; [Bindable] public var stateAvts:Array; public function testAvt():void { var stateCategory:AvtCategoryValue = new AvtCategoryValue(); stateCategory.avtCategoryCode = STATE; avtFacade.getAvtItems(stateCategory); } public function resultHandler(event:ResultEvent):void { stateAvts = event.result as Array; } public function faultHandler(event:FaultEvent):void { Alert.show(event.fault.faultstring, Error); } ]] /mx:Script mx:ComboBox id=state dataProvider={stateAvts} labelField=value data=code/ -- 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] Re: Combobox not highlighting on mouseOver (Flex2Beta2)
A workaround that I had to do was create a new array and push in each of the indexes of the ValueObject array. This created a second array of plain vanilla objects. I'm not happy with this solution, but I'm baffled... --- In flexcoders@yahoogroups.com, sufibaba [EMAIL PROTECTED] wrote: I am using the PhoneCairngorm structure from Benoit and have modified the backend to use a Database instead of the XML datafile. I am experiencing the same combobox highlighting problem. The result ArrayCollection is Piped into a comboBox. The labels are all correctly displayed in the box, however, when I scroll over the items, no highlight is shown. An interesting thing is that when I use Benoit's phone result dataset to populate a comboBox, it works properly. Does anyone have insight into this very perplexing problem? P.S. This problem is not only with the combobox, list controls is doing the same thing with the same problem dataset. Cheers, Tim --- In flexcoders@yahoogroups.com, sof4real03 soubraham2@ wrote: Can the dataprovider for combobox understand an array of specific value objects or does it need to be a plain vanilla object or string? --- In flexcoders@yahoogroups.com, sof4real03 soubraham2@ wrote: I'm returning a native 1 dimensional array of ValueObjects from a java class. The Value Object returned in the array has the following properties (AvtCategory:Object, value:String, code:String). I then databind the array to the dataprovider of the combobox specifying the label and data files to use. It populates the combobox, but when I mouseOver items in the dropdown it doesn't highlight the item. Any reason why that would be happening? Code below: mx:RemoteObject id=avtFacade destination=lsAvt result=resultHandler( event ) fault=faultHandler( event ) showBusyCursor=true/ mx:Script ![CDATA[ import com.name.services.avt.AvtCategoryValue; import mx.collections.ArrayCollection; import com.name.services.avt.AvtItemValue; import mx.controls.*; import mx.rpc.events.*; [Bindable] public var stateAvts:Array; public function testAvt():void { var stateCategory:AvtCategoryValue = new AvtCategoryValue(); stateCategory.avtCategoryCode = STATE; avtFacade.getAvtItems(stateCategory); } public function resultHandler(event:ResultEvent):void { stateAvts = event.result as Array; } public function faultHandler(event:FaultEvent):void { Alert.show(event.fault.faultstring, Error); } ]] /mx:Script mx:ComboBox id=state dataProvider={stateAvts} labelField=value data=code/ -- 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] Re: Combobox not highlighting on mouseOver (Flex2Beta2)
I tried that as well. I think I tried almost every possible way to change/cast the array. The dataprovider just doesn't like the array to be comprised of Valueobjects. It works great as plain vanilla or strings. I'm hoping this is a bug and I'm not going crazy. - Sof --- In flexcoders@yahoogroups.com, Doug Lowder [EMAIL PROTECTED] wrote: Instead of casting event.result, would mx.utils.ArrayUtil.toArray(event.result) do the trick? --- In flexcoders@yahoogroups.com, sof4real03 soubraham2@ wrote: A workaround that I had to do was create a new array and push in each of the indexes of the ValueObject array. This created a second array of plain vanilla objects. I'm not happy with this solution, but I'm baffled... --- In flexcoders@yahoogroups.com, sufibaba sufibaba@ wrote: I am using the PhoneCairngorm structure from Benoit and have modified the backend to use a Database instead of the XML datafile. I am experiencing the same combobox highlighting problem. The result ArrayCollection is Piped into a comboBox. The labels are all correctly displayed in the box, however, when I scroll over the items, no highlight is shown. An interesting thing is that when I use Benoit's phone result dataset to populate a comboBox, it works properly. Does anyone have insight into this very perplexing problem? P.S. This problem is not only with the combobox, list controls is doing the same thing with the same problem dataset. Cheers, Tim --- In flexcoders@yahoogroups.com, sof4real03 soubraham2@ wrote: Can the dataprovider for combobox understand an array of specific value objects or does it need to be a plain vanilla object or string? --- In flexcoders@yahoogroups.com, sof4real03 soubraham2@ wrote: I'm returning a native 1 dimensional array of ValueObjects from a java class. The Value Object returned in the array has the following properties (AvtCategory:Object, value:String, code:String). I then databind the array to the dataprovider of the combobox specifying the label and data files to use. It populates the combobox, but when I mouseOver items in the dropdown it doesn't highlight the item. Any reason why that would be happening? Code below: mx:RemoteObject id=avtFacade destination=lsAvt result=resultHandler( event ) fault=faultHandler( event ) showBusyCursor=true/ mx:Script ![CDATA[ import com.name.services.avt.AvtCategoryValue; import mx.collections.ArrayCollection; import com.name.services.avt.AvtItemValue; import mx.controls.*; import mx.rpc.events.*; [Bindable] public var stateAvts:Array; public function testAvt():void { var stateCategory:AvtCategoryValue = new AvtCategoryValue(); stateCategory.avtCategoryCode = STATE; avtFacade.getAvtItems(stateCategory); } public function resultHandler(event:ResultEvent):void { stateAvts = event.result as Array; } public function faultHandler(event:FaultEvent):void { Alert.show(event.fault.faultstring, Error); } ]] /mx:Script mx:ComboBox id=state dataProvider={stateAvts} labelField=value data=code/ -- 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 Beta 2 over HTTPS (Apache/JRun) not working
The SWF is also loaded over HTTPS, the same domain as the url for the secure amf endpoint. One part of the problem was that I didn't know the configuration files get compiled into the SWF (that still baffles me why you'd compile in configuration files). Once I recompiled with the updated config files it started attempting to access the secure amf endpoint. However, I had to change the config file to hardcode the context root - it was not interpreting the {context.root} in the endpoint definition. I found this out by seeing requests for //messagebroker/amfsecure in the Apache log. After that change it hits the secure amf endpoint, but it is still not working. When I run over a non-secure amf endpoint I see the JMS message in the server console window with the Value objects that are being sent over the wire. However, when I run over the secure amf endpoint I only see the JMS messages, no data. I'm guess something is not configured correctly on Apache, JRUN, Flex or all the above. I'm running Apache 2, with the mod_jrun20.so connecting to JRun through the JRunProxyService. I do not have the SSLService running on JRUN, and the JRunProxyService is not setup to run securely as it gave me issues about plain text connections when I tried. However, when I request the SWF over HTTPS the request is routed to JRUN through Apache and it comes back successfully. Also, I do see the JMS messages in the console window when accessing the secure amf endpoint, so it seems as though the Apache-JRun communication works for the HTTPS requests. Am I missing sometihng? I'm at a loss. Thanks. Thanks, Sof -- 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] Re: Do RemoteObject results still not operate in parallel?
Does anyone know if this is a still an outstanding design of RemoteObjects and AMF? Much thanks, Sof --- In flexcoders@yahoogroups.com, sof4real03 [EMAIL PROTECTED] wrote: I've come across an article by Peter Ent regarding how AMF results using RemoteObjects do not return in parallel, but wait until all requests are completed. He also posted a workaround. I was just wondering if this is still a valid workaround or has the design been revamped with the Data Services? Thanks, Sof -- 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] Can't user RemoteObject on HTTPS ONLY Server?
I'm trying to get a Remote Object to work on an HTTPs only server (one that does not accept HTTP connections). I have it working fine over a regular HTTP connection. I then remove the AMF channel definition in the flex-enterprise-services.xml and replace it with a SecureAMF channel definition and update the destinations in the flex-remoting-service.xml to use the SecureAMF channel. However, when I execute the SWF I see in the web server logs that it is POSTing to messagebroker/amf not messagebroker/amfsecure. Also, if I open up the server to allow HTTP connections, but only configure SecureAMF channels I get the following error: No configured channel has an endpoint path '/messagebroker/amf The stacktrace indicates it's coming from the flex.messaging.MessageBroker.getEndPoint(MessageBroker.java:297). This seems to indicate that the Flex Data Services cannot run on an HTTPS only server. -- 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] Re: Do RemoteObject results still not operate in parallel?
If RemoteObjects results do not come back in parallel then how would one implement the workaround Peter Ent posted since the endpoint attribute is no longer supported in Flex 2. Thanks, Sof --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: It isn't up to the Flex RemoteObject feature... it's how the flash player NetConnection works with AMF requests (and continues to work in FP 8.5). -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sof4real03 Sent: Monday, April 17, 2006 3:15 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Do RemoteObject results still not operate in parallel? Does anyone know if this is a still an outstanding design of RemoteObjects and AMF? Much thanks, Sof --- In flexcoders@yahoogroups.com, sof4real03 soubraham2@ wrote: I've come across an article by Peter Ent regarding how AMF results using RemoteObjects do not return in parallel, but wait until all requests are completed. He also posted a workaround. I was just wondering if this is still a valid workaround or has the design been revamped with the Data Services? Thanks, Sof -- 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 -- 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] Re: Do RemoteObject results still not operate in parallel?
Yes, that was the workaround. Is there look into changing the behavior of NetConnection in the player before Flex is released for production? By the way, thanks for the code tip. - Sof --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Was that the workaround that involved using a unique endpoint URL to avoid connection sharing? If so, in FDS 2 you could create a new AMFChannel and assign it as part of a service's channelSet:ChannelSet property. import mx.messaging.ChannelSet; import mx.messaging.Channel; import mx.messaging.channels.AMFChannel; ... var channelSet:ChannelSet = new ChannelSet(); var channel:Channel = new AMFChannel(my-amf, http://localhost:8700/cfusion/messagebroker/amf;); channelSet.addChannel(channel); remoteObject.channelSet = channelSet; ... -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sof4real03 Sent: Monday, April 17, 2006 4:26 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Do RemoteObject results still not operate in parallel? If RemoteObjects results do not come back in parallel then how would one implement the workaround Peter Ent posted since the endpoint attribute is no longer supported in Flex 2. Thanks, Sof --- In flexcoders@yahoogroups.com, Peter Farland pfarland@ wrote: It isn't up to the Flex RemoteObject feature... it's how the flash player NetConnection works with AMF requests (and continues to work in FP 8.5). -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sof4real03 Sent: Monday, April 17, 2006 3:15 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Do RemoteObject results still not operate in parallel? Does anyone know if this is a still an outstanding design of RemoteObjects and AMF? Much thanks, Sof --- In flexcoders@yahoogroups.com, sof4real03 soubraham2@ wrote: I've come across an article by Peter Ent regarding how AMF results using RemoteObjects do not return in parallel, but wait until all requests are completed. He also posted a workaround. I was just wondering if this is still a valid workaround or has the design been revamped with the Data Services? Thanks, Sof -- 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 -- 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 -- 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] Re: Do RemoteObject results still not operate in parallel?
Thanks Matt, this may be an ignorant question, but why would be a desired behavior? It seems like a more desired behavior would be how HTTPService or WebService responds is more desired... Thanks, Sof --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: I'm pretty sure we consider this desired behavior. I will file an enhancement to turn off the batching but I doubt it will make it into Flex 2. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sof4real03 Sent: Monday, April 17, 2006 3:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Do RemoteObject results still not operate in parallel? Yes, that was the workaround. Is there look into changing the behavior of NetConnection in the player before Flex is released for production? By the way, thanks for the code tip. - Sof --- In flexcoders@yahoogroups.com, Peter Farland pfarland@ wrote: Was that the workaround that involved using a unique endpoint URL to avoid connection sharing? If so, in FDS 2 you could create a new AMFChannel and assign it as part of a service's channelSet:ChannelSet property. import mx.messaging.ChannelSet; import mx.messaging.Channel; import mx.messaging.channels.AMFChannel; ... var channelSet:ChannelSet = new ChannelSet(); var channel:Channel = new AMFChannel(my-amf, http://localhost:8700/cfusion/messagebroker/amf;); channelSet.addChannel(channel); remoteObject.channelSet = channelSet; ... -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sof4real03 Sent: Monday, April 17, 2006 4:26 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Do RemoteObject results still not operate in parallel? If RemoteObjects results do not come back in parallel then how would one implement the workaround Peter Ent posted since the endpoint attribute is no longer supported in Flex 2. Thanks, Sof --- In flexcoders@yahoogroups.com, Peter Farland pfarland@ wrote: It isn't up to the Flex RemoteObject feature... it's how the flash player NetConnection works with AMF requests (and continues to work in FP 8.5). -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sof4real03 Sent: Monday, April 17, 2006 3:15 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Do RemoteObject results still not operate in parallel? Does anyone know if this is a still an outstanding design of RemoteObjects and AMF? Much thanks, Sof --- In flexcoders@yahoogroups.com, sof4real03 soubraham2@ wrote: I've come across an article by Peter Ent regarding how AMF results using RemoteObjects do not return in parallel, but wait until all requests are completed. He also posted a workaround. I was just wondering if this is still a valid workaround or has the design been revamped with the Data Services? Thanks, Sof -- 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 -- 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 -- 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 -- 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] java Calendar type vs. java Date
I'm using Flex 2 Beta 2 and I'm returning a java Value Object of Calendar, but when Data Services does the AS equivalent mapping it doesn't know how to handle Calendar type. Yet, when I return it an Array, which is comprised of Calendar types it converts it fine. Is this a known issue? Date has been deprecated according to the JDK, but I can't seem to understand why Data Services doesn't know how to translate a Calendar type when it's just a property of a class. Any insight? Thanks, Sof -- 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] Cairngorm 2, Flex 2 Beta 2 and RemoteObject (java)
I'm trying to develop a fairly simple example of accessing a server-side java object with RemoteObject Invocation. Here is my following code snippets. flex-remoting-service.xml: adapters adapter-definition id=java-object class=flex.messaging.services.remoting.adapters.JavaAdapter default=true/ /adapters default-channels channel ref=my-amf/ /default-channels destination id=lsSecurity properties sourcecom.company.services.security.SecurityFacade/source /properties /destination This destination is using the default channel my-amf defined in the flex-enterprise-service.xml, the same that the sample apps use. Yet when I run the application I get the following error message: error Requested resource '/messagebroker/amf' (%2fmessagebroker%2famf) not found I've checked the web.xml and the MessageBrokerServlet and servlet mapping are defined correctly. I'm running the application under the /flex context-root. The sample sqladmin application that uses RemoteObject is running under /samples context-root. Is there any other configuration needed that I may be missing? Any insight would be much appreciated. Thanks, Sof -- 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] Re: Cairngorm 2, Flex 2 Beta 2 and RemoteObject (java)
In the flex-enterprise-services.xml: channel-definition id=my-amf class=mx.messaging.channels.AMFChannel endpoint uri=http://{server.name}:{server.port}/{context.root}/messagebroker/amf; class=flex.messaging.endpoints.AMFEndpoint/ properties polling-enabledfalse/polling-enabled /properties /channel-definition Any insight? - Sof --- In flexcoders@yahoogroups.com, João Fernandes [EMAIL PROTECTED] wrote: how is defined your amf channel endpoint? João fernandes -Original Message- From: flexcoders@yahoogroups.com on behalf of sof4real03 Sent: Sun 09-Apr-06 2:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Cairngorm 2, Flex 2 Beta 2 and RemoteObject (java) I'm trying to develop a fairly simple example of accessing a server-side java object with RemoteObject Invocation. Here is my following code snippets. flex-remoting-service.xml: adapters adapter-definition id=java-object class=flex.messaging.services.remoting.adapters.JavaAdapter default=true/ /adapters default-channels channel ref=my-amf/ /default-channels destination id=lsSecurity properties sourcecom.company.services.security.SecurityFacade/source /properties /destination This destination is using the default channel my-amf defined in the flex-enterprise-service.xml, the same that the sample apps use. Yet when I run the application I get the following error message: error Requested resource '/messagebroker/amf' (%2fmessagebroker%2famf) not found I've checked the web.xml and the MessageBrokerServlet and servlet mapping are defined correctly. I'm running the application under the /flex context-root. The sample sqladmin application that uses RemoteObject is running under /samples context-root. Is there any other configuration needed that I may be missing? Any insight would be much appreciated. Thanks, Sof -- 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 -- 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] Re: Cairngorm 2, Flex 2 Beta 2 and RemoteObject (java)
Just tried it still the same error. There is something weird going on. The sample applications are using the same my-amf channel definition and the sqladmin example works just fine. I even rewrote my code to mimic the sqladmin code to see if it was Cairngorm, but I still get the same error. Have you successfully gotten it to work? --- In flexcoders@yahoogroups.com, João Fernandes [EMAIL PROTECTED] wrote: try to replace your context-root by its value (/flex) and see if it works. -Original Message- From: flexcoders@yahoogroups.com on behalf of sof4real03 Sent: Sun 09-Apr-06 8:45 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Cairngorm 2, Flex 2 Beta 2 and RemoteObject (java) In the flex-enterprise-services.xml: channel-definition id=my-amf class=mx.messaging.channels.AMFChannel endpoint uri=http://{server.name}:{server.port}/{context.root}/messagebroker/amf; class=flex.messaging.endpoints.AMFEndpoint/ properties polling-enabledfalse/polling-enabled /properties /channel-definition Any insight? - Sof --- In flexcoders@yahoogroups.com, João Fernandes joaofernandes@ wrote: how is defined your amf channel endpoint? João fernandes -Original Message- From: flexcoders@yahoogroups.com on behalf of sof4real03 Sent: Sun 09-Apr-06 2:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Cairngorm 2, Flex 2 Beta 2 and RemoteObject (java) I'm trying to develop a fairly simple example of accessing a server-side java object with RemoteObject Invocation. Here is my following code snippets. flex-remoting-service.xml: adapters adapter-definition id=java-object class=flex.messaging.services.remoting.adapters.JavaAdapter default=true/ /adapters default-channels channel ref=my-amf/ /default-channels destination id=lsSecurity properties sourcecom.company.services.security.SecurityFacade/source /properties /destination This destination is using the default channel my-amf defined in the flex-enterprise-service.xml, the same that the sample apps use. Yet when I run the application I get the following error message: error Requested resource '/messagebroker/amf' (%2fmessagebroker%2famf) not found I've checked the web.xml and the MessageBrokerServlet and servlet mapping are defined correctly. I'm running the application under the /flex context-root. The sample sqladmin application that uses RemoteObject is running under /samples context-root. Is there any other configuration needed that I may be missing? Any insight would be much appreciated. Thanks, Sof -- 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 -- 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 -- 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] Cairngorm 2, Flex 2 Beta 2 and RemoteObject (java)
I'm trying to access a server-side java object via the RPC Data Service RemoteObject. I have the following definitions: Services.mxml: mx:RemoteObject id=securityFacade destination=lsSecurity result=event.call.resultHandler( event ) fault=event.call.faultHandler( event ) showBusyCursor=true/ In my BusinessDelegate I invoke a method on the RemoteObject, but the JRun log stdout spits out the following: error Requested resource '/messagebroker/amf' (%2fmessagebroker%2famf) not found In the flex-remoting-service.xml, I have the following definition: adapters adapter-definition id=java-object class=flex.messaging.services.remoting.adapters.JavaAdapter default=true/ /adapters default-channels channel ref=my-amf/ /default-channels destination id=lsSecurity properties // the java class name of the destination sourcecom.company.services.security.SecurityFacade/source /properties /destination In the flex-enterprise-services.xml my-amf channel is defined by default. Is there any other configuration I'm missing that would attribute to the error message mentioned above? Thanks, Sof -- 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] Re: Cairngorm 2, Flex 2 Beta 2 and RemoteObject (java)
Yup that's all there. It's defined by default. Anything else? --- In flexcoders@yahoogroups.com, João Fernandes [EMAIL PROTECTED] wrote: Look at your web.xml if you have your servlet ( MessageBrokerServlet )and servlet mapping defined ( /messagebroker/* ). João Fernandes -Original Message- From: flexcoders@yahoogroups.com on behalf of sof4real03 Sent: Sun 09-Apr-06 1:08 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Cairngorm 2, Flex 2 Beta 2 and RemoteObject (java) I'm trying to access a server-side java object via the RPC Data Service RemoteObject. I have the following definitions: Services.mxml: mx:RemoteObject id=securityFacade destination=lsSecurity result=event.call.resultHandler( event ) fault=event.call.faultHandler( event ) showBusyCursor=true/ In my BusinessDelegate I invoke a method on the RemoteObject, but the JRun log stdout spits out the following: error Requested resource '/messagebroker/amf' (%2fmessagebroker%2famf) not found In the flex-remoting-service.xml, I have the following definition: adapters adapter-definition id=java-object class=flex.messaging.services.remoting.adapters.JavaAdapter default=true/ /adapters default-channels channel ref=my-amf/ /default-channels destination id=lsSecurity properties // the java class name of the destination sourcecom.company.services.security.SecurityFacade/source /properties /destination In the flex-enterprise-services.xml my-amf channel is defined by default. Is there any other configuration I'm missing that would attribute to the error message mentioned above? Thanks, Sof -- 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 -- 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] Cairngorm 2 and mx:States
As I'm implementing the usage of the Cairngorm 2 microarchitecture on a project, I came across a question regarding the new Flex 2 States concept and how to best implement it with Cairngorm. My feeling is the States should be defined in the ModelLocator. That would imply the Model knowing more than it should about the views. I wonder if anyone has come across this matter and would be able to provide any insight. Thanks, Sof -- 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] Re: CairngormLogin sample on Flex 2.0 beta 2
After reading through Oriol's thread, I'm assuming the change required would be the following: public function getView(workflowState:Number):Container instead of UIComponent. It will then compile and adhere to the strict type checking. Regards, Sof --- In flexcoders@yahoogroups.com, William Lambé [EMAIL PROTECTED] wrote: Thank you very much, as you can guess I am new to the mailing list. Viva Flex 2.0 _ De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Oriol Gual Envoyé : jeudi 23 mars 2006 20:04 À : flexcoders@yahoogroups.com Objet : Re: [flexcoders] CairngormLogin sample on Flex 2.0 beta 2 Hi William, I asked the same thing few posts earlier, just look for Cairngorm beta release? or click http://www.mail-archive.com/flexcoders@yahoogroups.com/msg23142.html here Oriol. 2006/3/23, William Lambé [EMAIL PROTECTED]: Hello everybody, I am trying to use Cairngorm 2.0 with the new Flex 2.0 beta 2. And for that, I am trying to run the CairngormLogin sample. I changed some things that happen between beta 1 and beta 2 of Flex 2.0, but I have still a Problem : To the line « mx:ViewStack id=appView selectedChild={ getView( model.workflowState ) } » in CairngormLogin.mxml, I have this problem : « Implicit coercion of a value with static type 'mx.core :UIComponent' to a possibly unrelated type 'mx.core :Container' » Is someone can explain to me what does it mean ? William. -- 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 http://groups.yahoo.com/group/flexcoders on the web. * 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 http://docs.yahoo.com/info/terms/ of Service . _ -- 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 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site +design+developmentw2=Computer+software+developmentw3=Software+design+and+ developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1 66.sig=L-4QTvxB_quFDtMyhrQaHQ site design development Computer http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+si te+design+developmentw2=Computer+software+developmentw3=Software+design+an d+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s =166.sig=lvQjSRfQDfWudJSe1lLjHw software development Software http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+design+ and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5 s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ design and development Macromedia http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+deve lopmentw2=Computer+software+developmentw3=Software+design+and+development w4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6n PIrz7_EpZI36cYzBjw flex Software http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=W eb+site+design+developmentw2=Computer+software+developmentw3=Software+desi gn+and+developmentw4=Macromedia+flexw5=Software+development+best+practice c=5s=166.sig=f89quyyulIDsnABLD6IXIw development best practice _ YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service. _ -- 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] Tomcat and Flex 2 beta 2
Has anyone gotten Flex 2 beta 2 configured correctly on tomcat 5, JDK 1.5? I followed the directions on labs, but no luck. I'm having NoClassDefFound error when trying to run the collaboration sample apps. Any insight? Thanks, Sof -- 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] Re: Tomcat and Flex 2 beta 2
San, This is the first time I'm installing Flex 2 on Tomcat, I was using Flex 1.5 on tomcat 5 with jdk 1.5. The instructions I used to install Flex 2 Beta 2 is from the labs site: http://labs.macromedia.com/wiki/index.php/Flex:Install_Instructions When I try use test the sample applications I'm getting JMS class errors. I'm thinking I need to do additional configuration for tomcat to use JMS. Thoughts? Thanks, Sof --- In flexcoders@yahoogroups.com, Sanjeeb Patel [EMAIL PROTECTED] wrote: Hi Sof, Have you done the same thing in Flex 2 Beta 1? And would you please point me to the link that you are talking about in labs? I am using Tomcat 4.1 and java-1.5.0_04-Linux-i686 Thanks, -San -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sof4real03 Sent: Friday, March 24, 2006 4:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Tomcat and Flex 2 beta 2 Has anyone gotten Flex 2 beta 2 configured correctly on tomcat 5, JDK 1.5? I followed the directions on labs, but no luck. I'm having NoClassDefFound error when trying to run the collaboration sample apps. Any insight? Thanks, Sof -- 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 -- 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 Beta 2 Samples Error
I'm running Flex 2 Beta 2 on Tomcat 5. I followed all the instructions on labs site for installing and extra configuration for tomcat (regarding JOTM). When I try to run the Contact Manager app, I get the Send failed message pop-up. When checking the logs, I get the following: Mar 22, 2006 12:59:32 PM org.apache.catalina.core.StandardContext loadOnStartup SEVERE: Servlet /samples threw load() exception java.lang.NoClassDefFoundError: javax/jms/JMSException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at flex.messaging.util.ClassUtil.createClass(ClassUtil.java:34) at flex.messaging.Destination.createAdapter(Destination.java:158) at flex.messaging.Destination.init(Destination.java:50) at flex.messaging.MessageDestination.init(MessageDestination.java:48) at flex.messaging.MessageDestination.init(MessageDestination.java:43) at flex.messaging.services.MessageService.createDestination(MessageService.java:65) at flex.messaging.services.AbstractService.init(AbstractService.java:63) at flex.messaging.services.MessageService.init(MessageService.java:60) at flex.messaging.services.MessageService.init(MessageService.java:55) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at flex.messaging.config.MessagingConfiguration.createServices(MessagingConfiguration.java:130) at flex.messaging.config.MessagingConfiguration.configureBroker(MessagingConfiguration.java:62) at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:71) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3915) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4176) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:910) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:873) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Any insight? -- 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] FAST Framework and Cairngorm
To get a feel for all the features of the FAST API, I'm applying it to the Cairngorm login sample that ships with architecture. I'm assuming the ServiceLocator will no longer be needed since it will be replaced with the ProxyFactory, which implies the following code snippet: s:ProxyFactory xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns:s=fast.services.* debug=true mx:RemoteObject id=customerDelegate named=customerServiceImpl protocol=http showBusyCursor=true result=resultHandler( event ) fault=faultHandler( event ) /mx:RemoteObject /s:ProxyFactory - And for the Business Delegate the following changes are required: import org.nevis.cairngorm.business.Responder; //import org.nevis.cairngorm.business.ServiceLocator; import org.nevis.cairngorm.samples.login.business.Services; import org.nevis.cairngorm.samples.login.vo.LoginVO; import mx.utils.Delegate; import fast.echo.Echo; import fast.services.ProxyFactory; import fast.services.Proxy; class org.nevis.cairngorm.samples.login.business.CustomerDelegate { private var proxy:Proxy; public function CustomerDelegate( responder : Responder ) { //this.service = ServiceLocator.getInstance().getService(customerDelegate ); this.proxy = ProxyFactory.getProxy(customerDelegate); this.responder = responder; } // public function login( loginVO : LoginVO ): Void { var call = proxy.invoke(login, //remote method/operation responder, //local reply object responder.onResult, //local reply destination loginVO); //remote method inputs /*var call = service.login( loginVO ); call.resultHandler = Delegate.create( responder, responder.onResult ); call.faultHandler = Delegate.create( responder, responder.onFault );*/ } //- private var responder:Responder; private var service:Object; } In the LoginCommand onResult handler, we can then handle faults and sucess results. Any insight? Thanks, Sof -- 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] Re: FAST Framework and Cairngorm
That's great news. To get a feel for all the features of the FAST API, I'm applying it to the Cairngorm login sample that ships with architecture. I'm assuming the ServiceLocator will no longer be needed since it will be replaced with the ProxyFactory, which implies the following code snippet: s:ProxyFactory xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns:s=fast.services.* debug=true mx:RemoteObject id=customerDelegate named=customerServiceImpl protocol=http showBusyCursor=true result=event.call.resultHandler( event ) fault=event.call.faultHandler( event ) /mx:RemoteObject /s:ProxyFactory - And for the Business Delegate the following changes are required: import org.nevis.cairngorm.business.Responder; //import org.nevis.cairngorm.business.ServiceLocator; import org.nevis.cairngorm.samples.login.business.Services; import org.nevis.cairngorm.samples.login.vo.LoginVO; import mx.utils.Delegate; import fast.echo.Echo; import fast.services.ProxyFactory; import fast.services.Proxy; class org.nevis.cairngorm.samples.login.business.CustomerDelegate { private var proxy:Proxy; public function CustomerDelegate( responder : Responder ) { //this.service = ServiceLocator.getInstance().getService(customerDelegate ); this.proxy = ProxyFactory.getProxy(customerDelegate); this.responder = responder; } // public function login( loginVO : LoginVO ): Void { var call = proxy.invoke(login, //remote method/operation this, //local reply object call, //local reply destination loginVO); //remote method inputs */ //var call = service.login( loginVO ); call.resultHandler = Delegate.create( responder, responder.onResult ); call.faultHandler = Delegate.create( responder, responder.onFault ); } //- private var responder:Responder; private var service:Object; } Thanks, Sof --- In flexcoders@yahoogroups.com, Steven Webster [EMAIL PROTECTED] wrote: Hey there, Nope, no issues with using them together at all...I know that many of the Adobe Consulting team are using both frameworks in their projects. One is an architectural framework, the other is an application framework, and they can quite happily co-operate. Best, Steven -- Steven Webster Practice Director (Rich Internet Applications) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6108 m: +44 (0) 7917 428 947 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sof4real03 Sent: 14 March 2006 17:50 To: flexcoders@yahoogroups.com Subject: [flexcoders] FAST Framework and Cairngorm I'm looking to leverage the FAST frameworks logging and communication capability in conjunction with the Cairngorm micro-architecture. Are there any known issues with them working together? -- 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 -- 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] Cairngorm's advocation of ValueObject transfer between application tiers
I'm currently applying the Cairngorm architecture to a large-scale Flex project with a J2EE midtier. The Computer Scientist in me has been burning me with the following performance question: If we advocate passing entire ValueObject entities across the wire and vice-versa instead of passing only the nessasary attributes to the midtier. The ValueObjects could potentially be huge data entities that would hinder performance bandwidth correct? I assuming these questions have been addressed at the conceptual level with the inception of the pattern itself. Any insight? -- 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] FAST Framework and Cairngorm
I'm looking to leverage the FAST frameworks logging and communication capability in conjunction with the Cairngorm micro-architecture. Are there any known issues with them working together? -- 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] Re: flex profiler
mm.cfg settings: ProfilingOutputFileEnable=1 ProfilingOutputDirectory={path to ProfilerData}\webapps\profiler\WEB-INF\ProfilerData FrameProfilingEnable=0 ProfileFunctionEnable=1 TraceOutputFileEnable=1 ErrorReportingEnable=1 By the way, I'm using Tomcat 5.5 with JDK 1.5. Does the profiler have any dependencies on the JDK version? I'll try installing FP 7 debug player as well. --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Can you try using the FP 7 debug player instead of 8? Which settings did you put in mm.cfg? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sof4real03 Sent: Sunday, February 12, 2006 5:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] flex profiler I installed the flex profiler in my application server and enabled the mm.cfg file as well as the flex-config.xml. I make the request to my mxml page and then view the profiler. It adds a row to my tested pages, but the column with the File Name/URL field is blank. I'm sure i've installed the flash 8 debug player as well. Any insight? -- 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 -- 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 profiler
I installed the flex profiler in my application server and enabled the mm.cfg file as well as the flex-config.xml. I make the request to my mxml page and then view the profiler. It adds a row to my tested pages, but the column with the File Name/URL field is blank. I'm sure i've installed the flash 8 debug player as well. Any insight? -- 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/CFMX7/Cairngorm Value Object Pattern implementation
I have come across various blogs and articles describing methods to implement the Value Object pattern in Coldfusion to map AS VO using Flash Remoting. As a simple exercise I'm trying to convert the sample Cairngorm Login application that comes with the framework to use CFC(s). I have already converted it without implementing a true value object pattern. Wondering if anyone has done that or can share some insight into the matter. Yahoo! Groups Sponsor ~-- Most low income homes are not online. Make a difference this holiday season! http://us.click.yahoo.com/5UeCyC/BWHMAA/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] java class access issue with integrated flex 1.5/CFMX 7.0.1
I have created an integrated JRun4 instance of Flex 1.5 and Coldfusion MX 7.0.1. I created a simple flex 1.5 application that accesses a simple custom java class. For some reason the flex application (flash remoting) can not find the java class. However the flex application is able to locate and execute coldfusion objects (cfcs), but not pure custom java classes. I've tried various solutions ranging from where the class lives such as {context-root}/WEB-INF/classes. I have also tried to play with the new coldfusion gateway-config.xml and naming the service and enabling the java adaptors. The interesting thing is I have another JRun4 server instance with only Flex 1.5 running and under {context-root}/WEB-INF/classes is the same custom java class, which works great. There has to be something that I'm missing. 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/