since ‎21-09-2009
‎10-12-2019
RedOctober57
Level 1
Re: Dear Adobe: We need more "Data Centric" examples and videos
Avatar

RedOctober57

RedOctober57
- Adobe LiveCycle
Here is what I have that is not allowing the .autoCommit property to be "visible" in code complete, and it throws the error described in the previous post when the line is executed. ... import services.baa_data_svc.*; // I don't know if this line is necessary. With, or without, makes no difference. Error still occurs. protected function btnGo_clickHandler(event:MouseEvent):void { ... baa_data_svc.serviceControl. // Code hints don't show "autoCommit", but I can manually type it in (but it will error at run time) <fx:Declarations> <valueObjects:BAA_SBJ id="bAA_SBJ"/> <baa_data_svc:Baa_data_svc id="baa_data_svc" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/> <s:CallResponder id="getSBJsResult"/>"Enabled Data Managment" is set up on the BAA_SBJ data type.

Views

21

Likes

0

Replies

0
Re: Dear Adobe: We need more "Data Centric" examples and videos
Avatar

RedOctober57

RedOctober57
- Adobe LiveCycle
I have 4 Data Types in my Data/Services panel, and I have enabled Data Managment on 3 of them, including the only one that I am currently trying to get working. The autoCommit property is still not available. (I am following the instructions on Sujit G's web site correctly as far as I can see)Mayank,I'm struggling with FlashBuilder 4. I would like to get started on building my projects, and not fiddling with FlashBuilder. I would like to hire you as a tutor. Is there a way I can contact you? I'm...

Views

21

Likes

0

Replies

0
Re: Dear Adobe: We need more "Data Centric" examples and videos
Avatar

RedOctober57

RedOctober57
- Adobe LiveCycle
Hi Mayank,These instructions look fantastic. They cover the stuff I need to know how to do. I appreciate your efforts VERY MUCH and am following along dilegently. I'm trying to transpose your very good and detailed instructions into my own project. I'm stuck on the following line:In your example:productService.serviceControl.autoCommit = false;I'm transposing it to my project, which should read:baa_data_svc.serviceControl.autoCommit = false;Because I have a tag of: When I try to run the pro...

Views

19

Likes

0

Replies

0
Re: Dear Adobe: We need more "Data Centric" examples and videos
Avatar

RedOctober57

RedOctober57
- Adobe LiveCycle
Also, I think it must he pretty easy... in the "Generate form" function, can you also include, along with all the fields and binding... a Commit and Undo buttons, along with the associated click events to make them function? The programmer could then just position these items on the form a BAM! done.Commit button = commit changed data to DBUndo = refresh text inputs from DB with original unchanged data (discard changes)

Views

22

Likes

0

Replies

0
Re: How do I commit changed data in a form?
Avatar

RedOctober57

RedOctober57
- Adobe LiveCycle
This is only a partial answer. It commits data, but causes an error next time the user tries to open the form. I still need to know the correct way of Commiting data.

Views

12

Likes

0

Replies

0
Dear Adobe: We need more "Data Centric" examples and videos
Avatar

RedOctober57

RedOctober57
- Adobe LiveCycle
Many of my data centric questions are unanswered (for days now). This tells me that no one in the community knows the answers, which is probably because FlashBuilder 4 and using it against a ColdFusionBuilder 1 server are still so "new". My customers are not impressed with bandwith sucking flashing, flipping, popping, spinning effects, with help hints. That's "kid stuff". They only want and care about lightning fast response time, tons of data at their fingertips, and reliability. They'll add th...

Views

858

Likes

0

Replies

6
Drag & Drop data type onto a grid
Avatar

RedOctober57

RedOctober57
- Adobe LiveCycle
Can anyone tell me, or direct me to the video that shows how one can drag a data type (or what ever) from the Data/Services tree onto an Advanced DataGrid, and then run the program, and the user can then edit the grid, add records, delete records and the changes will be committed to the back end DB? I can get my grid to populate, and I can edit the data in a cell, but that's it. No posting/commiting, no deleting etc.Also, the "Configure Return Type" button on the Data/Services panel is still not...

Views

313

Likes

0

Replies

0
DataGrid: Refresh one single row.
Avatar

RedOctober57

RedOctober57
- Adobe LiveCycle
How do I refresh one single row in FlashBuilder DataGrid? I don't want to change the user's field sort order or selected row.

Views

436

Likes

0

Replies

0
Data Commit throwing an error.
Avatar

RedOctober57

RedOctober57
- Adobe LiveCycle
This is the way I commit data: protected function btnCommit_clickHandler(event:MouseEvent):void { baa_data_svc.updt_SBJ(bAA_SBJ); data_chngd = false; } When I try to re-open the form after a commit (shown above) I get the error:undefined at mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSequenceResult()[C:\depot\DataServices\branches\dune_rc\frameworks\projects\data\src\mx\data\DataList.as:3043] at mx.data::DataListRequestResponder/result()[C:\depot\DataServices\branches\du...

Views

407

Likes

0

Replies

1
How do I refresh my textInput fields from the DB?
Avatar

RedOctober57

RedOctober57
- Adobe LiveCycle
Here is how I load data into a form (it's a component, loaded and displayed as a popup): protected function panel1_updateCompleteHandler(event:FlexEvent):void { rec_obj_guid = parentApplication.grdSBJs.selectedItem.OBJ_GUID; getSBJResult.token = baa_data_svc.getSBJ(rec_obj_guid); }Commit button: protected function btnCommit_clickHandler(event:MouseEvent):void { baa_data_svc.updt_SBJ(bAA_SBJ); } I have an Undo button that simply needs to discard the changes made by the user, and repopulate TextIn...

Views

356

Likes

0

Replies

0
Re: How do I commit changed data in a form?
Avatar

RedOctober57

RedOctober57
- Adobe LiveCycle
When the form first opens up, I do this:protected function panel1_updateCompleteHandler(event:FlexEvent):void { getSBJResult.token = baa_data_svc.getSBJ('...My subject Identifier'); }The user then makes a change in the form data and wants to commit it to the back end DB. I use this: protected function btnCommit_clickHandler(event:MouseEvent):void { baa_data_svc.updt_SBJ(bAA_SBJ); } This writes the data back to the DB. It works. does anyone see anything wrong with this method?

Views

13

Likes

0

Replies

0
How do I change the "Enabled" state of a button when a user changes data in a field in a form?
Avatar

RedOctober57

RedOctober57
- Adobe LiveCycle
On my form page, I have 3 buttons labeled: Commit, Undo, Done respectively. When the form first opens, popuplated with data, the Commit and Undo buttons are disabled (designed that way in Desing mode). When the user changes any data in any field, I would like the "Done" button to become disabled, and the Commit and Undo buttons to become enabled. How do I "tell" the Commit and Undo buttons to become enabled on data change?After the data is committed to the database, how do I tell the Commit and ...

Views

485

Likes

0

Replies

1
How do I commit changed data in a form?
Avatar

RedOctober57

RedOctober57
- Adobe LiveCycle
Since all of the videos I need regarding working with data (Flex 4 beta in a week, Day 4 onwards) are not done yet, I'm asking these most basic questions here.I have successfully built a form, it is populating with data correctly from the back end DB. I can edit the data. I now want to post my updates back to the database. I'm connected to ColdFusion 9 and I have built all the functions for insert, update, and delete in the .cfc. In Flash Builder 4, I have done an "enable data manament" on the d...

Views

439

Likes

0

Replies

2
Spelling error in dialog
Avatar

RedOctober57

RedOctober57
- Adobe LiveCycle
In FlashBuilder 4, Data/Services dialog, right click on a Data Type node in the tree, click on "Configure Return Type" you get a dialog titled:"No operation selected"And the text reads:Currently no operation in selected in the viewPlease select a service operation and try again-------------------------------------It should read:Currently no operation is selected in the viewPlease select a service operation and try again--------------------------------------------When I select a service and right...

Views

387

Likes

0

Replies

0
What part of a "signature" is editable?
Avatar

RedOctober57

RedOctober57
- Adobe LiveCycle
I'm trying to understand the help file, where it says:To enable paging, your data service must implement a function with the following signature: getItems_paged(startIndex:Number, numItems:Number): myDataTypeExactly what text in the "signature" can I change? Can you give me an example, where the table name in the back end DB is BAA_SBJ and the customer data type is BAA_SBJ[]Also, in my data/services tree, one of my data types is listed as BAA_SBJ, and another is BAA_SBJ[]. What is the meaning of...

Views

359

Likes

0

Replies

0
"Configure Return Type" not working in FB4 Beta 2
Avatar

RedOctober57

RedOctober57
- Adobe LiveCycle
I upgraded just today. (I uninstalled FB4 Beta 1 first)All my return data types configured in my data service view in Beta 1 were all reset to "object". I click on "Configure Return Type" button, and it worked for 2 of the data service items, but then quit working. I rebooted my PC, and reloaded FlashBuilder 4 Beta 2 and the button still doesn't work.Is there some other condition that I don't know about that prevents the button from working? I skimmed the docs, but could find any mention of this...

Views

344

Likes

0

Replies

0
Re: DataGrid only showing limited numer of records (I need it to show all records)
Avatar

RedOctober57

RedOctober57
- Adobe LiveCycle
Hmmm... may have answered my own question. There IS a scroll bar along the right hand side of the grid, that was *hidden* by the scroll bar automatically created by the panel that contained the grid, because the grid is a smidge too big. I'll fiddle with it.

Views

10

Likes

0

Replies

0
Re: Configure Columns: I need to be able to multi-select
Avatar

RedOctober57

RedOctober57
- Adobe LiveCycle
Please have a look at the attached image to see where my question/problem lies. Thanks.

Views

12

Likes

0

Replies

0
Setting focus on text input not working the way one would expect
Avatar

RedOctober57

RedOctober57
- Adobe LiveCycle
I have a click handler on a button called "btnGo". During the processing of this function, I want to remove the text from the text input, and set focus to the text input. The following code is my feeble attempt at doing this. It doesn't work. The text input called edtSrch will have it's text removed (which is what I want), however, the cursor is not inside the text input control and it doesn't have focus. What am I doing wrong? protected function btnGo_clickHandler(event:MouseEvent):void { // I ...

Views

346

Likes

0

Replies

0
DataGrid only showing limited numer of records (I need it to show all records)
Avatar

RedOctober57

RedOctober57
- Adobe LiveCycle
Some of my searches will actually have about 100 rows returned from an SQL query. However, in my FB4 app, the grid that is supposed to show all the results, only shows the 12 or so rows that are immediately visible in the size that the grid is at in design time. A scroll bar appears along the right edge, however, it only allows scrolling to the next partially obscured record at the bottom of the grid (because the height of the grid happens to disect the bottom row mid-way down).How can I tell th...

Views

421

Likes

0

Replies

1
Is it possible to tell the FB4 app to "disconnect" from the datasource?
Avatar

RedOctober57

RedOctober57
- Adobe LiveCycle
I have created a user with a login ID of COLDFUSION that I use to allow FB4 and CF9 to connect to my back end DB.I've noticed that when I run my app, it can connect and fetch records into the browser. However, when I close the browser, the COLDFUSION user still appears in my "current users" list in the DB.Is it possible to have the FB4 app "tell" the session that it's connected to, to disconnect when the browser closes? Or, for experimental purposes, can I have a button on my app that will manua...

Views

319

Likes

0

Replies

0
Record/Item count, Contatenation, Selected Record field value
Avatar

RedOctober57

RedOctober57
- Adobe LiveCycle
Please see the comments and questions embedded in this code snippet: protected function btnGo_clickHandler(event:MouseEvent):void { // I fetch a bunch of photo subject records ("items"?) from a back end DB getSBJsResult.token = baa_data_svc.getSBJs(edtSrch.text); // How do I get the record count (item count) from the object returned above // so that I can display it in the tab label in the next line ---> // Also, Is "+" the correct symbol for contatenation? tabSBJs.label = 'Subjects: ' + Whu? //...

Views

418

Likes

0

Replies

0
Re: Configure Columns: I need to be able to multi-select
Avatar

RedOctober57

RedOctober57
- Adobe LiveCycle
Thanks for the docs link. I didn't have that one yet. However, the doc is talking about run time, not design time. I need to be able to multi-select in the "Configure Columns" dialog of a data grid, at design time.

Views

14

Likes

0

Replies

0
Re: Configure Columns: I need to be able to multi-select
Avatar

RedOctober57

RedOctober57
- Adobe LiveCycle
No, however I just tried it now, and in the "Configure Columns" dialog of the advanced grid, it still has the same primitive behavior. I can only select one column at a time. ( I'm not talking about multi-selecting rows at run time, I'm talking about multi-selecting column names so I can set common properties of all of them simply by setting a value for one of them)Example: In the "Configure Columns" dialog, how does one set 20 columns to "visible=false" all at the same time? I can't, as far as ...

Views

12

Likes

0

Replies

0
Configure Columns: I need to be able to multi-select
Avatar

RedOctober57

RedOctober57
- Adobe LiveCycle
I work on Engineering data DBs that contain sometimes 200 tables with 170 columns each. When configuring columns, it would be very handy, when in Advanced mode, to be able to select multiple columns so I could set many of the columns to invisible, or to a common width, or what ever. At the moment, I'm having to click every single column and set the very same property for each. Is there a way to multi-select that I don't know about? (The windows Ctrl-Click, and Shift-Click don't work. If this is ...

Views

714

Likes

0

Replies

5