Re: [flexcoders] Re: Loading animation between LCDS page fetched

2010-07-08 Thread Jeffrey Vroom
Depending on your use case, you may not see that error. If you are scrolling through a list or grid, it gets caught and handled by the DataGrid. My memory on this is a little hazy now but I think you can listen to events on the DataService and see all of the traffic from the data service to the

Re: [flexcoders] Re: Flex 4....Large recordset...how much is too much?

2010-03-14 Thread Jeffrey Vroom
Back when I was at Adobe, I had a demo which did paging with 60K records in the query being scrolled. It probably could have done more if I tried since it was doing everything incrementally, though I'll admit the experience was not perfect, particularly if you moved the thumb too quickly. This

Re: [flexcoders] Re: LCDS: Problem with destination inheritance

2010-02-24 Thread Jeffrey Vroom
Hi Kevin, On your specific bug, the bug below where this error occurred improperly was fixed before I left Adobe. It could be a simple problem in your configuration or code. When you use sub-types in Java with hibernate and LCDS, you need a corresponding type hierarchy of ActionScript

Re: [flexcoders] Flex and LCDS - Cannot Remove Client?

2010-02-23 Thread Jeffrey Vroom
LCDS maintains several data structures on the server to track clients using the messaging system. The standard HttpSession is kept by the app server using the cookie. The FlexClient is associated with an individual Flash player instance. Each subscription has a corresponding MessageClient to

Re: [flexcoders] LCDS Deleting offline data cache

2010-02-10 Thread Jeffrey Vroom
I've been away from the code a while and so can't remember exactly but one thing you'd have to do to get that to work is to compile in your services-config.xml into your client app. The offline data store contains the names of the data services id properties, associations etc. when the

Re: [flexcoders] LCDS Offline Synchronization

2010-02-09 Thread Jeffrey Vroom
It sounds to me like you are just not getting that particular DataService connected before you do the fill. There is a DataService.connect method if I recall correctly that might help. I don't think you get commitRequired=true when the app is in a disconnected state. The fill will auto-connect

Re: [flexcoders] Re: Adobe pulls Single CPU and 100-user licenses

2010-01-24 Thread Jeffrey Vroom
Ugh, actually that sounds to me like their lawyers just mailed in the effort. I'm no lawyer but I would not accept that license agreement as it is one of the most anti-competitive things I've seen in a while. It essentially means you cannot use the fds.swc to build an a.b relationship in your

Re: [flexcoders] Re: Adobe pulls Single CPU and 100-user licenses

2010-01-22 Thread Jeffrey Vroom
That statement about fds.swc certainly was true before, but the DataService apis are used to power the rpc based data tools in the new Flex Builder. In the beta at least, it was the exact same file shipped in LCDS as in FB, so presumably use of that file would be covered by the FB4 license.

Re: [flexcoders] Adobe pulls Single CPU and 100-user licenses

2010-01-21 Thread Jeffrey Vroom
I am saddened by this situation... if you read a couple of posts on my blog you'll understand at least one of the reasons I left Adobe: http://blog.jvroom.com/2009/12/11/understanding-the-market-for-software-platforms/

Re: [flexcoders] Tree component + sort + LCDS 2.6 : nasty stackoverflow error [1 Attachment]

2009-12-09 Thread Jeffrey Vroom
I do recall seeing and workaround an error like that... it would occur when you using paging or pending data features with the tree components. They did not do all of the checking for ItemPendingErrors that they needed in the default Flex implementation. There are two ways you can workaround

Re: [flexcoders] LCDS : number of flexsessions

2009-10-22 Thread Jeffrey Vroom
The first thing would be to determine if they are RTMP or HTTP sessions that are sticking around. HTTP sessions can grow because polling clients keep the session alive indefinitely. RTMP sessions should only stick around if the socket between the client and server is still open. Netstat is a

Re: [flexcoders] Re: Flex 4 - data push

2009-10-10 Thread Jeffrey Vroom
LCDS won't automatically pick up changes from the database unfortunately. There is an api you can use if you control the code making the changes - see flex.data.DataServiceTransaction. You also could do some kind of polling on the server using the DataServiceTransaction.refreshFill method... it

Re: [flexcoders] Re: Flex 4 - data push

2009-10-10 Thread Jeffrey Vroom
flexcoders%40yahoogroups.com, Jeffrey Vroom j...@... wrote: LCDS won't automatically pick up changes from the database unfortunately. There is an api you can use if you control the code making the changes - see flex.data.DataServiceTransaction. You also could do some kind of polling

Re: [flexcoders] LCDS async error

2009-05-25 Thread Jeffrey Vroom
I see two possible things that could cause this error: 1) you have a fault handler whose function definition takes a MessageFaultEvent parameter. You need to change that to the common base class which is (I think) a FaultEvent so it can accept both a MessageFaultEvent and a DataServiceFaultEvent.

Re: [flexcoders] Re: loading status for DataGrid

2009-05-13 Thread Jeffrey Vroom
other way to get rid of this issue. DataService should dispatch some event which tells the status of data loading. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Jeffrey Vroom j...@... wrote: You can turn on paging, then listen for the result events on the DataService

Re: [flexcoders] Do we get any notification when user dissconnects from LCDS

2009-05-13 Thread Jeffrey Vroom
The FlexSession object dispatches session closed events. For RTMP sessions, these will be pretty much immediate. For HTTP sessions though, they are dispatched when the session expires. So for RTMP you get quick notification but for HTTP it will be delayed based on your session expiration

Re: [flexcoders] loading status for DataGrid

2009-05-12 Thread Jeffrey Vroom
You can turn on paging, then listen for the result events on the DataService. They'll be dispatched once for each page result. Jeff On Tue, May 12, 2009 at 12:15 PM, Dharmendra Chauhan chauhan_i...@yahoo.com wrote: Hi All, I have flex DataGrid which asynchronously receive data throw LCDS

Re: [flexcoders] Server PUSH in LCDS

2009-05-06 Thread Jeffrey Vroom
If you can run Java code at the time the database changes, you can use the DataServiceTransaction api. It has methods to refresh queries, or push specific create, update, delete changes to the client. There is a refresh operation which you can run from the client. That will only pick up db

Re: [flexcoders] How to 'undo' the changes in the flex client w/ LCDS when a rollback is isssued?

2009-04-29 Thread Jeffrey Vroom
I think this is a bug - calling setRollbackOnly does not trigger the fault handler. The server knows that transaction failed but the client does not so things get out of sync. You have to throw an exception from your assembler methods to get the fault handler called. When you do that, if

Re: [flexcoders] Re: How to 'undo' the changes in the flex client w/ LCDS when a rollback is isssued?

2009-04-29 Thread Jeffrey Vroom
that bug system is not public. Jeff On Wed, Apr 29, 2009 at 12:09 PM, Mehdi elextra...@yahoo.ca wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Jeffrey Vroom j...@... wrote: I think this is a bug - calling setRollbackOnly does not trigger the fault handler