since ‎22-07-2008
‎10-12-2019
alice_data
Level 2
Re: Populate data grid
Avatar

alice_data

alice_data
- Adobe LiveCycle
Hi, There is an easy to read document at http://livedocs.adobe.com/flex/3/html/help.html?content=data_access_2.html,and even though it is about PHP, you could use the url as JSP. HTH.Alice

Views

92

Likes

0

Replies

1
Looping SelectedItem values in HttpService to Update Several Rows in Database in Flex
Avatar

alice_data

alice_data
- Adobe LiveCycle
Thanks, but I think I will be a little more explicit hereabout what I really wanted to know. My impression is that if I havea DataGrid and that I would like to allow users to edit certainentries within the actual grid and have all of it saved to thedatabase, I could use a for loop and just update everything withoutpaying attention to what has really been updated, but I have beenstruggling with how to pass it all to the variables side.Currently, I could update things one entry a time, by using th...

Views

109

Likes

0

Replies

0
Looping SelectedItem values in HttpService to Update Several Rows in Database in Flex
Avatar

alice_data

alice_data
- Adobe LiveCycle
Hi, My client wanted me to create something that allows certainDataGrid to display to allow users to edit and update the databaserecords. The only dilemma I am having here is how to actuallycreate something from Flex's end to allow users update several rowsof the database at once. Since everything in my datagrid would bedefined as selectedItem whenever a user accesses the entry, how canI get Flex to recognize each of the updated variables while Iupdate the database? Another question is, if I do ...

Views

439

Likes

0

Replies

2
Re: How to Pass Variables from One Application to Another Pop Up Window
Avatar

alice_data

alice_data
- Adobe LiveCycle
Hi, I am trying to display some data on the Child window thatwould need to take the data from the parent titleWindow, whichcould be drop down menus, text labels or combo boxes. I would needto use a HTTPService on the child dialog box to accomplish task Ithink, but the problem is, how would I get the information from itsparent window? The example I have are all about how the text inputfrom the child window gets feed back to the parent. Would I need to create a "reverse" declaration or somethingso...

Views

156

Likes

0

Replies

0
Re: Duplicate rows in DataGrid in Flex3/LCDS2.5
Avatar

alice_data

alice_data
- Adobe LiveCycle
Hi, Maybe you are right. The nature of our problem may be alittle different, but I also see duplicate rows being generatedwhen they are not supposed to be according to my back-end codingand they get displayed on my DataGrid just as you described above.I even tried to echo back the variables I passed to the HTTPServicerequest, and they bring back the way they should be instead of allthe entries. I am experiencing some problems myself that I cannot explainfrom what I see from my DataGrid, since th...

Views

283

Likes

0

Replies

0
Re: Duplicate rows in DataGrid in Flex3/LCDS2.5
Avatar

alice_data

alice_data
- Adobe LiveCycle
Hi, I think I am having a similar experience too, although I amusing Flex 3. I have just posted my question a few minutes ago.Does this sound like yours?Alice

Views

283

Likes

0

Replies

0
How to Pass Variables from One Application to Another Pop Up Window
Avatar

alice_data

alice_data
- Adobe LiveCycle
Hi, I am wondering if anyone on the list has tried calling up apop up manager, and have two other variables imported for secondaryusage. I have tried using [Bindable], but this does not seem to beworking, and I am still getting errors that tells me that thevariables are "not defined" when it gets passed to anotherHTTPService. I tried embedding the Pop Up Manager in the sameapplication as the one that is supposed to "pass the variables,"but it no longer acts as a pop up window. Could anyone pleas...

Views

549

Likes

0

Replies

3
Re: Problem with HTTPService
Avatar

alice_data

alice_data
- Adobe LiveCycle
Hi, I have similar problem before, but have you tried changingthe permission of the swf file to 755? Another thing that you might want to check is, if you usePHP or Perl, whatever language to access the database, those codesneed to be 755 for their permission too. Hope this helps.Alice

Views

172

Likes

0

Replies

1
Number Variables Do Not Get Sent Through POST?
Avatar

alice_data

alice_data
- Adobe LiveCycle
Hi, I am creating a small application to allow users updaterecords, but currently it appears that only those with String datatypes get sent through and get updated, while the others likeintegers or float data types do not. Is there any specific explanation for this? I am sure that Ihave missed something here. Anything is appreciated.Alice

Views

200

Likes

0

Replies

0
How to Pass string to HTTPService
Avatar

alice_data

alice_data
- Adobe LiveCycle
Hi, I have a scenario here where I have a repeater function likethe example at DisplayingCheckBox Controls DynamicallyI have manipulated my function so that it displays itsstrings at private function button_click(evt:Event):void { var selArr:Array = []; var idx:int; var len:int = arr.length; for (idx=0; idxmessagehere because it never worked. Have I missed something here?Thanks to anyone who can help.Alice

Views

249

Likes

0

Replies

0
Result Not Decoded?
Avatar

alice_data

alice_data
- Adobe LiveCycle
Hi, I have run into a problem where I try to allow users todelete certain entries after they click on the delete button.However, every time when I execute the application, I get thiserror:[RPC Fault faultString="Default decoder could not decoderesult" faultCode="Client.CouldNotDecode" faultDetail="null"] at mx.rpc.http::HTTPService/http://www.adobe.com/2006/flex/mx/internal::processResult()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\http\HTTPService.as:872I have made sure that my code runni...

Views

201

Likes

0

Replies

0
Extracting Data Using HTTPService Without mx:Columns
Avatar

alice_data

alice_data
- Adobe LiveCycle
Hi, Guys: Has anyone tried accessing the database through HTTPService,and not use mx:Columns? One of my columns in my database has really long text blobs,so I don't really want the column name along with the content ofwhat is in the content to be in place along with the other columnswhen I access the database through HTTPService. I tried using something like mx:TextArea and put it inmx:DataGrid, since it is still part of the database, but the screendisplayed a syntactical error message I have al...

Views

200

Likes

0

Replies

1
Re: Extracting Data from Nested XML Elements into Flex
Avatar

alice_data

alice_data
- Adobe LiveCycle
Hi, I have learned that the simplest way is to use the labelfunction in Flex, like the following:private function lfnGeneral(item:Object,column:DataGridColumn):String { var sLabel:String = "" var sHeaderText:String = column.headerText; //so we canhandle the variables switch (sHeaderText) { case "ID": sLabel=item.ois_id; break; case "Name": sLabel=item.name; break; } return sLabel; }Of course, the backdrop is that the name of the item has tobe the same as what appears in the rendered XML file fro...

Views

103

Likes

0

Replies

0
Extracting Data from Nested XML Elements into Flex
Avatar

alice_data

alice_data
- Adobe LiveCycle
Hi, I am a newbie and have just started using Flex. I have alittle XML that I created from PHP in the following: 001 Test I Tara Morrison I used HTTPService provided by Flex to extract the data, andI seem to have no issues extracting the first two columns. However,When I got to the instructor_name, the datagrid gives me this onthe screen produced by the HTML: [object] [Object]. This is what I have in my Flex to extract this particularelement:Does anyone have any tips on how I can get it to dis...

Views

519

Likes

0

Replies

3