Re: [flexcoders] Adding up Arraycollections to Datagrid!
Hi Bill, I understood that make array collection A as an array ( I will just use to array(), and it will be done). Similarly I will do for array collection B. But how to add them in a pair order in to array collection C. Please Assist! Would be great if u have an example or a pseudo snippet!! Thanks!! Best Regards, Venkat Maddali. > >From: Bill Brutzman >To: flexcoders@yahoogroups.com >Sent: Thursday, August 25, 2011 5:27 PM >Subject: RE: [flexcoders] Adding up Arraycollections to Datagrid! > > > >Venkat: > >Yes… of course this can be done. The next question is how… and what is the >best way to do it. > >From another point of view… “A” could be thought of as an array… an object >different from an Array Collection. > >Likewise, “B” could be thought of as another array. > >“C” then would be an Array Collection. > >The best treatment of this subject that I have seen can be found in the recent >book… “Effortless Flex 4 Development” by the outstanding author Larry Ullman. > >Although the book is based on PHP, as a ColdFusion guy, I have found the book >to be very helpful. > >I have something like this in ColdFusion… two CFCs… a method CFC and a data >structure CFC… that talk to each other and a Flex app… that have the added >benefit of working ok with the Flex Data/Services wizard. > >Regards, > >--Bill > >From:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf >Of Venkat M >Sent: Thursday, August 25, 2011 6:12 PM >To: flexcoders@yahoogroups.com >Subject: [flexcoders] Adding up Arraycollections to Datagrid! > > >Hi Group, > >I have a basic question on arraycollections. Please assist. > >I have an array collection A populated with values {1,2,3,4,5,6,7,8,9,10} >Also I have an arraycollection B populated with values >{one,two,three,four,five,six,seven,eight,nine,ten} > >Given this data, How do I present this in a datagrid? Can I map at a column >level to an array collection? >(Or) >Can we make an arraycollection C, that has the values of arraycollection A and >arraycollection B paired up and then just bind to datagrid. If so, please help >me how to fabricate arraycollection C. > (Or) >Any other ideas, please comment. > >Thanks in advance. > >Best Regards, >Venkat. > > > > >
Re: [flexcoders] Adding up Arraycollections to Datagrid!
Hi Alex, So I understand that bind array collection A to the data grid as data provider. and then bind array collection B to the label function of DatagridColoum. I tried out its not working. Please Assist! Best Regards, Venkat Maddali. > >From: Alex Harui >To: "flexcoders@yahoogroups.com" >Sent: Thursday, August 25, 2011 4:50 PM >Subject: Re: [flexcoders] Adding up Arraycollections to Datagrid! > > > >You can just use A and use a second column with a label function that >references B > > >On 8/25/11 3:11 PM, "Venkat M" wrote: > > > >> >> >> >> >>Hi Group, >> >>I have a basic question on arraycollections. Please assist. >> >>I have an array collection A populated with values {1,2,3,4,5,6,7,8,9,10} >>Also I have an arraycollection B populated with values >>{one,two,three,four,five,six,seven,eight,nine,ten} >> >>Given this data, How do I present this in a datagrid? Can I map at a column >>level to an array collection? >>(Or) >>Can we make an arraycollection C, that has the values of arraycollection A >>and arraycollection B paired up and then just bind to datagrid. If so, please >>help me how to fabricate arraycollection C. >> (Or) >>Any other ideas, please comment. >> >>Thanks in advance. >> >>Best Regards, >>Venkat. >> >> >> >> >> >> >> >-- >Alex Harui >Flex SDK Team >Adobe System, Inc. >http://blogs.adobe.com/aharui > > > >
Re:[flexcoders] Re: remoting problem
I try to use strongly type to cast my varaible. But I don't have this type of the varaible in the top application. I use them in the itemrenderer. eztDoctor = data as EztDoctor; if( eztDoctor != null ){// here is always null docName = eztDoctor.DName; price = eztDoctor.DFee.toString(); docTitle = eztDoctor.DTitle; docIcon.source = eztDoctor.pic; } package com.frameworks.mvc.model.VO.remoting { [Bindable] [RemoteClass(alias="com.ezt.server.pojo.EztDoctor")] public class EztDoctor{ public var sex:String; public var DLevel:Number; public var DStatus:Number; ... ... At 2011-08-25 21:13:43,valdhor wrote: That does not look like a Flex class. Is it PureMVC? I would try what it tells you to do. ie. Define a variable of that type in the top level application. --- inflexcod...@yahoogroups.com, j2me_soul wrote: > > warning: The class com.frameworks.mvc.model.VO.remoting.EztDept has been used > in a call to net.registerClassAlias() in _DepartmentListState_FlexInit. This > will cause modules:DepartmentListState to be leaked. To resolve the leak, > define com.frameworks.mvc.model.VO.remoting.EztDept in the top-level > application. > > How to solve this ? >
Re: [flexcoders] Adding up Arraycollections to Datagrid!
Hi, you need a hashtable or a dictionary On Aug 25, 2011 7:47 PM, "Venkat M" wrote: > Hi Group, > > I have a basic question on arraycollections. Please assist. > > I have an array collection A populated with values {1,2,3,4,5,6,7,8,9,10} > Also I have an arraycollection B populated with values {one,two,three,four,five,six,seven,eight,nine,ten} > > Given this data, How do I present this in a datagrid? Can I map at a column level to an array collection? > (Or) > Can we make an arraycollection C, that has the values of arraycollection A and arraycollection B paired up and then just bind to datagrid. If so, please help me how to fabricate arraycollection C. >(Or) > Any other ideas, please comment. > > Thanks in advance. > > Best Regards, > Venkat.
Re: [flexcoders] Re: Flex 4 & CSS
FlexExamples.com might have some examples. Flex 4 is pretty different especially around skinning and styles. It was deemed the right thing to do to enable designers to control every pixel without having to learn code. There are plenty of folks on this forum who are willing to help. On 8/25/11 5:50 AM, "Davidson, Jerry" wrote: Alex, I have no idea of what you just said. I’m converting my one and only Flex app to 4 in the hopes that management will see an advantage to using that. Once (and if) it gets to 4, I’m going to try to get 4.5 so I can make it into an app (my distant dream). Doing things in net is OK, but I’d rather stick with Flex if I can. I’m just dying on the completely different product from 3 and don’t have anywhere to turn but here. Even simple things like I can’t see in design view half the application or you have to jump through hoops to get a scroll bar to appear. I think our contract with Adobe only has support for LiveCycle. So it’s hit or miss on forums. You probably hear that a lot and I appreciate the time you do spend helping those of us that are lost at sea. Jerry From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Alex Harui Sent: Wednesday, August 24, 2011 8:10 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flex 4 & CSS You can always use an image/BitmapImage as one of the children/elements of a container. Doing so affects value of numChildren/numElements and potentially other things in case it matters, and limits re-usability. If you can do that, you might as well add it to the skin. On 8/24/11 5:55 AM, "Davidson, Jerry" wrote: Thanks. Now I know. I still need the effect, so can I put an image out there and write over it (z-order)? There would be two lines of text over the image. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Alex Harui Sent: Monday, August 22, 2011 11:35 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flex 4 & CSS Jerry, the spark theme doesn’t support backgroundImage. Every capability has a cost, and we chose not to make the container backgrounds as heavy as the Halo theme. It doesn’t matter how many lines of code are in the skin if it doesn’t include the logic to load and position images. -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
RE: [flexcoders] Adding up Arraycollections to Datagrid!
Venkat: Yes. of course this can be done. The next question is how. and what is the best way to do it. >From another point of view. "A" could be thought of as an array. an object different from an Array Collection. Likewise, "B" could be thought of as another array. "C" then would be an Array Collection. The best treatment of this subject that I have seen can be found in the recent book. "Effortless Flex 4 Development" by the outstanding author Larry Ullman. Although the book is based on PHP, as a ColdFusion guy, I have found the book to be very helpful. I have something like this in ColdFusion. two CFCs. a method CFC and a data structure CFC. that talk to each other and a Flex app. that have the added benefit of working ok with the Flex Data/Services wizard. Regards, --Bill From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Venkat M Sent: Thursday, August 25, 2011 6:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Adding up Arraycollections to Datagrid! Hi Group, I have a basic question on arraycollections. Please assist. I have an array collection A populated with values {1,2,3,4,5,6,7,8,9,10} Also I have an arraycollection B populated with values {one,two,three,four,five,six,seven,eight,nine,ten} Given this data, How do I present this in a datagrid? Can I map at a column level to an array collection? (Or) Can we make an arraycollection C, that has the values of arraycollection A and arraycollection B paired up and then just bind to datagrid. If so, please help me how to fabricate arraycollection C. (Or) Any other ideas, please comment. Thanks in advance. Best Regards, Venkat.
Re: [flexcoders] Adding up Arraycollections to Datagrid!
You can just use A and use a second column with a label function that references B On 8/25/11 3:11 PM, "Venkat M" wrote: Hi Group, I have a basic question on arraycollections. Please assist. I have an array collection A populated with values {1,2,3,4,5,6,7,8,9,10} Also I have an arraycollection B populated with values {one,two,three,four,five,six,seven,eight,nine,ten} Given this data, How do I present this in a datagrid? Can I map at a column level to an array collection? (Or) Can we make an arraycollection C, that has the values of arraycollection A and arraycollection B paired up and then just bind to datagrid. If so, please help me how to fabricate arraycollection C. (Or) Any other ideas, please comment. Thanks in advance. Best Regards, Venkat. -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] Best Practice for Subclassed UIComponent and DataProvider
Binding a visual component to a singleton limits its reuse. So there may not really a best practice. The minimum code way is probably to assign the dataProvider in commitProperties instead of the constructor. The model.facilities might have its final assignment by then. On 8/25/11 9:41 AM, "hanzo55" wrote: I am working with a project already in place. It uses Cairngorm and is built on Flex 3.0.2.2113 A standard ComboBox is implemented in one of the views like so: "model" is a bindable singleton, and one of its properties, "facilities" is a public ArrayCollection. On initialization, a function runs in the singleton to populate facilities; it does this by pointing model.facilities to another ArrayCollection that has been previously populated, such as: model.facilities = model.assigned_facilities; This works without issue; when the application starts, the ComboBox is properly populated with the values pointed to by model.facilities. I have decided! to come in and build a subclass of ComboBox in ActionScript, and rather than pass the dataProvider in, I want to include the singleton within the ActionScript, and simply do the same assignment in the constructor. The resulting MXML would look like this: and the constructor would look like this: public function FacilityComboBox() { super(); ! BindingUtils.bindProperty(this, "dataProvider", model, "facilities"); } My question is: Is this the best practice when subclassing a UIComponent and wanting to handle the dataProvider assignment internally? The reason I ask is, I had originally built the constructor like this: public function FacilityComboBox() { super(); thi! s.dataProperty = model.facilities; } which worked for other subclassed ComboBoxes where the dataProvider *did not change after initialization*. However, because of how model.facilities is assigned (to an existing ArrayCollection), no change was ever detected, and upon launch the application, the ComboBox sat dormant and never received any values to populate. Changing to the BindingUtils method solved this problem, but I now fear I'm missing a much broader concept about dataProvider assignment in pure ActionScript classes. Is my BindingUtils methodology the one to go with? Or should I be considering something drastically different? -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
RE: [flexcoders] Re: Flex 4 & CSS
Alex, I have no idea of what you just said. I'm converting my one and only Flex app to 4 in the hopes that management will see an advantage to using that. Once (and if) it gets to 4, I'm going to try to get 4.5 so I can make it into an app (my distant dream). Doing things in net is OK, but I'd rather stick with Flex if I can. I'm just dying on the completely different product from 3 and don't have anywhere to turn but here. Even simple things like I can't see in design view half the application or you have to jump through hoops to get a scroll bar to appear. I think our contract with Adobe only has support for LiveCycle. So it's hit or miss on forums. You probably hear that a lot and I appreciate the time you do spend helping those of us that are lost at sea. Jerry From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Alex Harui Sent: Wednesday, August 24, 2011 8:10 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flex 4 & CSS You can always use an image/BitmapImage as one of the children/elements of a container. Doing so affects value of numChildren/numElements and potentially other things in case it matters, and limits re-usability. If you can do that, you might as well add it to the skin. On 8/24/11 5:55 AM, "Davidson, Jerry" wrote: Thanks. Now I know. I still need the effect, so can I put an image out there and write over it (z-order)? There would be two lines of text over the image. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Alex Harui Sent: Monday, August 22, 2011 11:35 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flex 4 & CSS Jerry, the spark theme doesn't support backgroundImage. Every capability has a cost, and we chose not to make the container backgrounds as heavy as the Halo theme. It doesn't matter how many lines of code are in the skin if it doesn't include the logic to load and position images. -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
[flexcoders] Adding up Arraycollections to Datagrid!
Hi Group, I have a basic question on arraycollections. Please assist. I have an array collection A populated with values {1,2,3,4,5,6,7,8,9,10} Also I have an arraycollection B populated with values {one,two,three,four,five,six,seven,eight,nine,ten} Given this data, How do I present this in a datagrid? Can I map at a column level to an array collection? (Or) Can we make an arraycollection C, that has the values of arraycollection A and arraycollection B paired up and then just bind to datagrid. If so, please help me how to fabricate arraycollection C. (Or) Any other ideas, please comment. Thanks in advance. Best Regards, Venkat.
[flexcoders] Best Practice for Subclassed UIComponent and DataProvider
I am working with a project already in place. It uses Cairngorm and is built on Flex 3.0.2.2113 A standard ComboBox is implemented in one of the views like so: "model" is a bindable singleton, and one of its properties, "facilities" is a public ArrayCollection. On initialization, a function runs in the singleton to populate facilities; it does this by pointing model.facilities to another ArrayCollection that has been previously populated, such as: model.facilities = model.assigned_facilities; This works without issue; when the application starts, the ComboBox is properly populated with the values pointed to by model.facilities. I have decided to come in and build a subclass of ComboBox in ActionScript, and rather than pass the dataProvider in, I want to include the singleton within the ActionScript, and simply do the same assignment in the constructor. The resulting MXML would look like this: and the constructor would look like this: public function FacilityComboBox(){ super(); BindingUtils.bindProperty(this, "dataProvider", model, "facilities");} My question is: Is this the best practice when subclassing a UIComponent and wanting to handle the dataProvider assignment internally? The reason I ask is, I had originally built the constructor like this: public function FacilityComboBox(){ super();this.dataProperty = model.facilities;} which worked for other subclassed ComboBoxes where the dataProvider *did not change after initialization*. However, because of how model.facilities is assigned (to an existing ArrayCollection), no change was ever detected, and upon launch the application, the ComboBox sat dormant and never received any values to populate. Changing to the BindingUtils method solved this problem, but I now fear I'm missing a much broader concept about dataProvider assignment in pure ActionScript classes. Is my BindingUtils methodology the one to go with? Or should I be considering something drastically different?
[flexcoders] Re: Mobile->Desktop Desktop->Mobile synching
If you can sync to the web why can't you create an embedded web server in the desktop application using an esoteric port number? --- In flexcoders@yahoogroups.com, "Amy" wrote: > > Hi, all; > > I have been searching for a tutorial/example that shows how to get data from > a mobile app to a desktop version of the same app, and vice versa, but I have > only come up with examples that synch to the web. Can anyone point me to at > least the basics of how to accomplish synching between mobile and desktop? > > TIA; > > Amy >
[flexcoders] Re: Mobile->Desktop Desktop->Mobile synching
My target audience is stay-at-home moms. I don't think that's viable. --- In flexcoders@yahoogroups.com, ganaraj p r wrote: > > On a very simple basis you could just write all the data in the mobile app > to a file, > transfer the file to desktop and update the desktop app from the file? and > vice versa ofcourse. > > > > On Thu, Aug 25, 2011 at 2:57 PM, Amy wrote: > > > ** > > > > > > So, make users use their data even though they have a physical cable to the > > computer? That's crazy. > > > > > > --- In flexcoders@yahoogroups.com, ganaraj p r wrote: > > > > > > As far as I know, there is no protocol that lets you sync a mobile app > > > directly to a desktop app. You will , most probably have to go through a > > > server ( in most cases a web server - since its one of the simplest way > > to > > > do it. ) > > > > > > On Wed, Aug 24, 2011 at 6:28 PM, Amy wrote: > > > > > > > ** > > > > > > > > > > > > Hi, all; > > > > > > > > I have been searching for a tutorial/example that shows how to get data > > > > from a mobile app to a desktop version of the same app, and vice versa, > > but > > > > I have only come up with examples that synch to the web. Can anyone > > point me > > > > to at least the basics of how to accomplish synching between mobile and > > > > desktop? > > > > > > > > TIA; > > > > > > > > Amy > > > > > > > > > > > > > > > > > > > > > > > > -- > > > Regards, > > > Ganaraj P R > > > > > > > > > > > > > -- > Regards, > Ganaraj P R >
Re: [flexcoders] Re: Mobile->Desktop Desktop->Mobile synching
On a very simple basis you could just write all the data in the mobile app to a file, transfer the file to desktop and update the desktop app from the file? and vice versa ofcourse. On Thu, Aug 25, 2011 at 2:57 PM, Amy wrote: > ** > > > So, make users use their data even though they have a physical cable to the > computer? That's crazy. > > > --- In flexcoders@yahoogroups.com, ganaraj p r wrote: > > > > As far as I know, there is no protocol that lets you sync a mobile app > > directly to a desktop app. You will , most probably have to go through a > > server ( in most cases a web server - since its one of the simplest way > to > > do it. ) > > > > On Wed, Aug 24, 2011 at 6:28 PM, Amy wrote: > > > > > ** > > > > > > > > > Hi, all; > > > > > > I have been searching for a tutorial/example that shows how to get data > > > from a mobile app to a desktop version of the same app, and vice versa, > but > > > I have only come up with examples that synch to the web. Can anyone > point me > > > to at least the basics of how to accomplish synching between mobile and > > > desktop? > > > > > > TIA; > > > > > > Amy > > > > > > > > > > > > > > > > > -- > > Regards, > > Ganaraj P R > > > > > -- Regards, Ganaraj P R
[flexcoders] Re: Mobile->Desktop Desktop->Mobile synching
So, make users use their data even though they have a physical cable to the computer? That's crazy. --- In flexcoders@yahoogroups.com, ganaraj p r wrote: > > As far as I know, there is no protocol that lets you sync a mobile app > directly to a desktop app. You will , most probably have to go through a > server ( in most cases a web server - since its one of the simplest way to > do it. ) > > On Wed, Aug 24, 2011 at 6:28 PM, Amy wrote: > > > ** > > > > > > Hi, all; > > > > I have been searching for a tutorial/example that shows how to get data > > from a mobile app to a desktop version of the same app, and vice versa, but > > I have only come up with examples that synch to the web. Can anyone point me > > to at least the basics of how to accomplish synching between mobile and > > desktop? > > > > TIA; > > > > Amy > > > > > > > > > > -- > Regards, > Ganaraj P R >
Re: [flexcoders] Re: HTTPService DELETE/PUT automatically got changed to GET??
I wonder whether anyone reading this has tried such an approach and would be willing to comment on the experience (stability, maintainability , testability, etc) of such an approach. It also crossed our mind, but it seemed such a long road and it becomes really tricky if you want to read binary data from the server (as far as I remember the capabilities of the externalinterace) Thanks Peter On 25 Aug 2011, at 08:40, Peeyush Tuli wrote: > you can also use extrenalinterface to issue such requests through ajax.. > > > On Wed, Aug 24, 2011 at 12:05 AM, handitan wrote: > > Thanks for the insightful info Peter! > > > > --- In flexcoders@yahoogroups.com, Peter Coppens wrote: > > > > Fwiw... > > > > As far as I know that is indeed still the case. The doc > > (http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/rpc/http/mxml/HTTPService.html) > > says > > > > You use the tag to represent an HTTPService object in an > > MXML file. When you call the HTTPService object's send() method, it makes > > an HTTP request to the specified URL, and an HTTP response is returned. > > Optionally, you can pass parameters to the specified URL. When you do not > > go through the server-based proxy service, you can use only HTTP GET or > > POST methods. However, when you set the useProxy property to true and you > > use the server-based proxy service, you can also use the HTTP HEAD, > > OPTIONS, TRACE, and DELETE methods. > > > > In general, unless you can get somewhere some server/proxy control, I have > > found Flex not very useful to talk to a REST like service. Some people have > > reported success by using http://code.google.com/p/as3httpclientlib/ iso > > the Flex provided stuff. Personally I have not tried that. As far as I > > remember it gets tricky as you cannot typically reuse browser managed http > > "resources" (cookies, cache, ...). > > > > As it might be of interest to you as well.besides the limited HTTP verb > > support I have lost numerous hours getting HTTP headers across. That is > > also a non trivial endeavor. > > > > What eventually worked out best in my case is to just bite the bullet , > > shove a "proxy" in between, and use GET and POST to communicate tunneled > > "real" HTTP requests, that are then transformed and forwarded. That is > > still not perfect if you care about caching and have a need for custom > > headers, but at least most of it is working. > > > > I have always found it a bit ironic that a platform that started it's life > > as a toolset to develop Rich Internet Applications has such limited support > > for "the" internet standard as old as HTTP. > > > > Anyway, hth, > > > > Peter > > > > > > On 20 Aug 2011, at 00:43, handitan wrote: > > > > > Hi all, > > > > > > I just would like to get a confirmation. > > > Right now, I have to use 3rd party REST APIs in our Flex app. > > > A bunch of the REST APIs are using DELETE and PUT method. > > > > > > As the title said, they got changed automatically to GET. > > > And from what I gather from this forum somebody said this in 2008: > > > "It's a limitation of the browser plugin API unfortunately." > > > > > > Is this still true in Flash Player 10.3? > > > My app is still Flex 3 app with 3.5 SDK. > > > > > > I appreciate any input. > > > > > > Handi > > > > > > @Alex: > > > Yes..yes..I am still using Flex 3. > > > > > > > > > > > > >
[flexcoders] Re: remoting problem
That does not look like a Flex class. Is it PureMVC? I would try what it tells you to do. ie. Define a variable of that type in the top level application. --- In flexcoders@yahoogroups.com, j2me_soul wrote: > > warning: The class com.frameworks.mvc.model.VO.remoting.EztDept has been used > in a call to net.registerClassAlias() in _DepartmentListState_FlexInit. This > will cause modules:DepartmentListState to be leaked. To resolve the leak, > define com.frameworks.mvc.model.VO.remoting.EztDept in the top-level > application. > > How to solve this ? >
[flexcoders] Re: HttpService results inconsistent
This is pretty much how Flex works and has been documented. What I always do is convert the result into an array... new ArrayCollection(ArrayUtil.toArray(event.result)) so even with only one record I still get an ArrayCollection. --- In flexcoders@yahoogroups.com, "Sells, Fred" wrote: > > If I have multiple records in the response I get an ArrayCollection > however if I have only 1 record I get an ObjectProxy. I'm not sure if > specifying the resultFormat would resolve this and if so, which format > is appropriate. I typically map the results to an ArrayCollection which > is the dataProvider for a datagrid. > > > > Perhaps I should just map the datagrid .dataProvider to the > HttpService.lastResult... > > > > Any suggestions or experience with this. My code is below: > > > > > > result="QueryService_resultHandler(event)" /> > > ... > > protected function QueryService_resultHandler(event:ResultEvent):void > { > > try { GridDataArray = event.result.resultset.record; > > }catch (e:*) { GridDataArray = new ArrayCollection(); } > > mydatagrid.dataProvider = GridDataArray; > > }__,_ > > > > -- results with std xml header removed > - > > > > time__id="3" time__label="08:00" id="3" order__resident__payor="3"/> > > > > > > ._,___ >
Re: [flexcoders] Launch a .bat
Air lets you run programs on the local machine in the desktopProfile (you have to do a little research on that) so I guess .bat would work too. John 2011/8/5 Pete > ** > > > Actually, there was something nagging at me all day yesterday and I > remembered what it was today. > > There is a windows specific way maybe... Might only work in Air... > > Check out > http://www.fluorinefx.com/ > > I use it to do AutoDial on voip phones using the appropriate command line > options. I guess it'd do a batch file too. Windows specific because it > needs you to install some dll's. > > Regards > Pete > > > On 03/08/2011 15:54, cjacquel73 wrote: > > > > Hello, > > Is it possible to launch a .bat from the web application in Flex ? > > Thx, > Chris, > > >
Re: [flexcoders] Mobile->Desktop Desktop->Mobile synching
As far as I know, there is no protocol that lets you sync a mobile app directly to a desktop app. You will , most probably have to go through a server ( in most cases a web server - since its one of the simplest way to do it. ) On Wed, Aug 24, 2011 at 6:28 PM, Amy wrote: > ** > > > Hi, all; > > I have been searching for a tutorial/example that shows how to get data > from a mobile app to a desktop version of the same app, and vice versa, but > I have only come up with examples that synch to the web. Can anyone point me > to at least the basics of how to accomplish synching between mobile and > desktop? > > TIA; > > Amy > > > -- Regards, Ganaraj P R
[flexcoders] Re: Spark Datagrid selectedItem question
We'd prefer to stay within the datagrid. --- In flexcoders@yahoogroups.com, Rishi Tandon wrote: > > Make a pop up window which include the searchable row based on some unique ID > and then display the row field and data inside a form. > > After changing the field value, update the grid data provider with the > changed row value. > > Sent from my iPhone > > On Aug 24, 2011, at 10:56 PM, "Amy" wrote: > > > How would a user edit a row that is not selected? > > > > --- In flexcoders@yahoogroups.com, "bhaq1972" wrote: > > > > > > How would I go about making the datagrid.selectedItem the ONLY editable > > > row? > > > > > > A bit like making individual columns editable by setting > > > GridColumn.editable. > > > > > > Thanks > > > > > > BH > > > > > > > >
[flexcoders] Re: Spark Datagrid selectedItem question
Let me elaborate (sorry I was trying to keep the question short and sweet). In my situation, we don't want our users to edit more than one row at a time. So the datagrid starts off uneditable. They select a row they wish to edit. They then click a button to 'edit' that row. Once editing is complete they then click a confirm button to commit their It all sounds a bit backward but my boss assures me its the best way for our users. --- In flexcoders@yahoogroups.com, "Amy" wrote: > > How would a user edit a row that is not selected? > > --- In flexcoders@yahoogroups.com, "bhaq1972" wrote: > > > > How would I go about making the datagrid.selectedItem the ONLY editable row? > > > > A bit like making individual columns editable by setting > > GridColumn.editable. > > > > Thanks > > > > BH > > >