[flexcoders] Location of Spring and LCDS - SpringFactory etc?

2007-10-31 Thread parkerwhirlow
Hi all, We're begining a transition from pure DataManagementServices/Hibernate to running our own DAOs/RPCs configured with spring. Can someone point me to (or provide for everyone) the files for Spring support in LCDS? I've searched around on flexcoders, and seen several posts discussing a "Spr

[flexcoders] Channel.Polling.Error - Using DataService with AtuoCommit and AtutoSync

2007-04-27 Thread parkerwhirlow
Hi I seem to be getting intermittent faults from my data service. Trying the same thing again seems to have it go away. Using DataService w/ HibernateAssembler. AutoSync and AutoCommit are enabled. Destination is configured with the default 'my-polling-amf' channel. see the fault below: [Fault

[flexcoders] Fault events with DataService - Retry operation?

2007-04-24 Thread parkerwhirlow
Hi all, I am not sure if it is JUST the network (WAN/Internet), or if there are strange inconsistencies with FDS and the DataService, but here and there sometimes I get back Fault events. I get faultCode:="Channel.Polling.Error" faultDetail:null and faultCode="Channel.Call.Failed" faultDetail="Ne

[flexcoders] Re: Setting DataGridColumn width programmatically & visibleColumns

2007-04-19 Thread parkerwhirlow
quot;ben.clinkinbeard" <[EMAIL PROTECTED]> wrote: > > Sorry if I am being really dense but I take it you can't just check > the "visible" property of the column? > > Ben > > > --- In flexcoders@yahoogroups.com, "parkerwhirlow" > wrote:

[flexcoders] Re: Setting DataGridColumn width programmatically & visibleColumns

2007-04-19 Thread parkerwhirlow
ne knows of one, I really need something! thanks, PW --- In flexcoders@yahoogroups.com, "parkerwhirlow" <[EMAIL PROTECTED]> wrote: > > Hi, > > I have an issue where I've created a special routine to calculate the > size of the columns in my DataGrid subclas

[flexcoders] Setting DataGridColumn width programmatically & visibleColumns

2007-04-18 Thread parkerwhirlow
Hi, I have an issue where I've created a special routine to calculate the size of the columns in my DataGrid subclass. The problem I have is that I have several data grids that interact with eachother, and not all columns are visible (or were ever visible). When I programmatically set the wid

[flexcoders] Re: Odd behavior when calling DataService.getItem for multiple items.

2007-04-16 Thread parkerwhirlow
Data > management uses this to build a key to store the items in the cache. > > > > Jeff > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of parkerwhirlow > Sent: Thursday, April 12, 2007

[flexcoders] Odd behavior when calling DataService.getItem for multiple items.

2007-04-12 Thread parkerwhirlow
I'm using the same DataService repeatedly in my Cairngorm delegates, and calling getItem() as needed to get items. I'm using the call token to add a responder, and the strange thing is that in the result method of the responder, the event.result property is the SAME instance each time with the n

[flexcoders] Re: Chart Series - formatDataTip inconsistent visibility

2007-02-22 Thread parkerwhirlow
--- In flexcoders@yahoogroups.com, "Ely Greenfield" <[EMAIL PROTECTED]> wrote: > In this scenario, I would suggest subclassing the Stacked series > (ColumnSet, or whichever you need), and exposing the percent values. OK, this seems workable to me. > i.e., if the behavior is defined, accessible, o

[flexcoders] Re: Chart Series - formatDataTip inconsistent visibility

2007-02-22 Thread parkerwhirlow
ion, stuff > my own altenrate data tip function into the hitData structures. > > Ely. > > ____ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of parkerwhirlow > Sent: Thursday, February 22, 2007 12:59 PM > To: flexcoders@yahoogroups.com > Subje

[flexcoders] Chart Series - formatDataTip inconsistent visibility

2007-02-22 Thread parkerwhirlow
I started making some application specific tweaks to the chart series dataTips, and it worked beautifully for ColumnSet (override the protected function formatDataTip), but then I soon realized that only the SET series (subclasses of StackedSeries) have that function as protected. It's actually pr

[flexcoders] Re: FDS/Hibernate - LazyInitializationException when writing AMF output

2007-02-16 Thread parkerwhirlow
ose the Hibernate session. > > Regards, > Dima Gutzeit. > > parkerwhirlow wrote: > > > > Hi again =) > > > > I've just started getting this exception inconsistently... sometimes > > it happens 3 times in a row, other times I can go all afternoon > > with

[flexcoders] FDS/Hibernate - LazyInitializationException when writing AMF output

2007-02-16 Thread parkerwhirlow
Hi again =) I've just started getting this exception inconsistently... sometimes it happens 3 times in a row, other times I can go all afternoon without getting it. Once the exception occurs, it will occur every time the client loads until FDS is restarted. Note this occurs on multiple collection

[flexcoders] Re: FDS/Hibernate Sample of updating hierarchical list of values

2007-02-16 Thread parkerwhirlow
27;t think > we've announced the dates on that. > > > > Jeff > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of parkerwhirlow > Sent: Thursday, February 15, 2007 3:29 PM > To

[flexcoders] Re: FDS/Hibernate Sample of updating hierarchical list of values

2007-02-15 Thread parkerwhirlow
> > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of parkerwhirlow > Sent: Thursday, February 01, 2007 6:05 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] FDS/Hibernate Sample of updatin

[flexcoders] Re: parent-child hierarchy of data using Flex, FDS and Hibernate

2007-02-12 Thread parkerwhirlow
--- In flexcoders@yahoogroups.com, "Jeff Vroom" <[EMAIL PROTECTED]> wrote: > It is now trying > to do conflict detection on its own by comparing the previous version > with a version of the hibernate object it loads into that session. That > won't be transactionally correct unless you are using a

[flexcoders] Re: parent-child hierarchy of data using Flex, FDS and Hibernate

2007-02-12 Thread parkerwhirlow
> All-in-all a very worthwhile exercise and my dev environment is now > more under my control. Good to hear. was just replying to your previous post in this thread, and now I see you got it figured out. Excellent. > > I still can't figure out how to turn on debug logging in Hibernate, See this

[flexcoders] Re: FDS DataService.commit() doesn't trigger responder result()...?

2007-02-12 Thread parkerwhirlow
t; > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of parkerwhirlow > Sent: Monday, February 05, 2007 11:15 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] FDS DataService.commit() doesn't tr

[flexcoders] FDS DataService.commit() doesn't trigger responder result()...?

2007-02-05 Thread parkerwhirlow
Hi again, I've got a simple save case working as far as I can tell (from debugging the server java side, everything is OK after leaving the HibernateAssembler.java updateItem() method. But the result never gets back to the client... I have a responder registered to the call like so: call = servi

[flexcoders] Re: FDS/Hibernate Sample of updating hierarchical list of values

2007-02-02 Thread parkerwhirlow
Jeff, thanks for looking into this... while you're at it, I posted this as a bug to the "wishlist" site, but it didn't make it into 2.0.1... I've taken to building the HibernateAssembler myself to try to get things working, but this is dedfinitely a defect: HibernateAssembler.java (fds2.0.1 relea

[flexcoders] FDS/Hibernate Sample of updating hierarchical list of values

2007-02-01 Thread parkerwhirlow
Hi all, I have been tearing my hair out trying to get FDS/Hibernate to update a hierarchical list of values. Even the simplest of collection mappings in Hibernate cause various exceptions when trying to update. Before I post my details, does anyone have any examples of this that work? Has anyone

[flexcoders] Re: parent-child hierarchy of data using Flex, FDS and Hibernate

2007-02-01 Thread parkerwhirlow
Hi guys, I have made a post in similar vein to this one, and had a couple comments. I agree that when possible, using managed associations and individual destinations for each side of the association is a best approach. However I'm running into issues with the "hierarchical values" approach you m

[flexcoders] FDS save problem w/Hibernate collection

2007-01-31 Thread parkerwhirlow
Hello, I'm getting back a Hibernate "NonUniqueObjectException" when trying to update an item via FDS. This happens (as far as I can tell) any time you update a property of an object in a collection that is NOT a managed association in FDS. Here's the details: Single FDS destination: Family F

[flexcoders] Constant 40% CPU usage in Flex App?

2007-01-23 Thread parkerwhirlow
Guys, I just noticed that my application is constantly using around 40% of my computer's CPU... I have a decent (albeit old) 2Ghz machine with 2GB ram... This is long after the app has loaded everything and had time to "settle"... Are there any other people out there seeing strange issues whe

[flexcoders] Re: non visible fields in data grid are displaying

2007-01-23 Thread parkerwhirlow
I have seen other posts recently regarding this. Search for 2.0.1 in recent past, and you'll find some others with this issue. I personally have not seen it. good luck, PW --- In flexcoders@yahoogroups.com, "Shelley Browning" <[EMAIL PROTECTED]> wrote: > > Hello, > > I've been building an appli

[flexcoders] Re: Is Flash a single thread application?

2007-01-23 Thread parkerwhirlow
Events are not fired concurrently. They are fired in order of their "listener priority". See the following documentation on addEventListener function http://livedocs.macromedia.com/flex/2/langref/flash/events/EventDispatcher.html#addEventListener() By default, priority is '0' for user added events

[flexcoders] Re: DataGrid - numeric sort?

2007-01-18 Thread parkerwhirlow
Thanks a bunch, That did work great. PW --- In flexcoders@yahoogroups.com, "michael_ramirez44" <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com, "parkerwhirlow" > wrote: > > > > DUDE! what the heck ? > > > &

[flexcoders] Re: Flex 2.0.1 update problems - FIXED Cairngorm 2.0

2007-01-16 Thread parkerwhirlow
e the tag) Hope this helps someone else along the way. cheers, PW --- In flexcoders@yahoogroups.com, "parkerwhirlow" <[EMAIL PROTECTED]> wrote: > > > I just installed Flex Builder Plugin 2.0.1 Updater, and followed > install instructions, running eclipse -clean -vmargs -

[flexcoders] Flex 2.0.1 update install problems

2007-01-16 Thread parkerwhirlow
I just installed Flex Builder Plugin 2.0.1 Updater, and followed install instructions, running eclipse -clean -vmargs -Xmx512m Has anyone else seen this error? I've searched flexcoders, and this problem appears to be unique. thanks, PW When Flex starts up I get this error: A problem occurred wh

[flexcoders] Re: DataGrid - numeric sort?

2007-01-11 Thread parkerwhirlow
sortCompareFunction --- In flexcoders@yahoogroups.com, "michael_ramirez44" <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com, "parkerwhirlow" > wrote: > > > > > > Its amazing how complicated something so seemingly easy can be... &g

[flexcoders] DataGrid - numeric sort?

2007-01-10 Thread parkerwhirlow
Its amazing how complicated something so seemingly easy can be... All I want to do is provide a numeric sort for columns that contain numeric data. (by default the sorting is all text based) I found the DataGridColumn.sortCompareFunction and tried this. The problem I have is that the objects pa

[flexcoders] menu / sub menu with custom dataDescriptor

2007-01-09 Thread parkerwhirlow
I think I've run into a horrible defect with Menu... Maybe I'm missing something, here. I have a menu that I assign a custom dataDescriptor. The top menu shows fine. However, when a sub-menu is shown, it assigns a DefaultDataDescriptor, not my custom dataDescriptor. I have tried catching the sho

[flexcoders] Re: working example of custom MenuDataDescriptor?

2007-01-09 Thread parkerwhirlow
Have you found a solution for this? I'm having similar problem. I have set my custom data descriptor to my menu before showing it, however the sub-menu that is automatically created, is having the DefaultDataDescriptor assigned to it. This causes the sub-menu to fail to show. I am not sure why y

[flexcoders] Bug fixes list for 2.0.1?

2007-01-09 Thread parkerwhirlow
Hi all, I was wondering if there exists a list of bugs that were fixed in the 2.0.1 Flex SDK? I have seen quite a few bugs reported and filed here on flexcoders, (and I'm sure there were more than that) and I'd like to track down a couple to see if they were fixed. Anyone heard of such a list?

[flexcoders] Re: eclipse, FB, and Peter's FDS plugin

2007-01-04 Thread parkerwhirlow
I was getting these memory errors even after raising the memory (-Xms and -Xmx) but also had to add the following. -XX:MaxPermSize=256m Once I did this, I haven't gotten them anymore. PW --- In flexcoders@yahoogroups.com, "Dimitrios Gianninas" <[EMAIL PROTECTED]> wrote: > > I'm using 3.2.1 an

[flexcoders] Chart showDataEffect being canceled?!

2007-01-03 Thread parkerwhirlow
I've spent hours and hours tracking down an intermittent failure of the showDataEffect to trigger. Sometimes it just didn't work. After all these hours, I realized the effect is actually being canceled! In ChartBase, setActualSize is being called, and the effect is being canceled. override publi

[flexcoders] Re: Rich text editor in TabNavigator causes runtime exception.

2007-01-03 Thread parkerwhirlow
it is strongly implied in the docs that TabNavigator children must > be containers: "...for navigating between its child containers ...", and > similar language. > > Tracy > > > > > > From: flexcoders@yahoogroups.com

[flexcoders] Rich text editor in TabNavigator causes runtime exception.

2007-01-02 Thread parkerwhirlow
Hi all, I have placed a RichTextEditor into a tabNavigator, and I get the following runtime error. See sample app. If you remove the tabNavigator, then the RichTextEditor works fine. Any ideas? Am I doing something dumb? TypeError: Error #1009: Cannot access a property or method of a null objec

[flexcoders] Re: Percentage based width in ActionScript

2006-12-28 Thread parkerwhirlow
You should be able to assign percentHeight and percentWidth properties in AS... I do this fairly often. PW --- In flexcoders@yahoogroups.com, "Matt Maher" <[EMAIL PROTECTED]> wrote: > > Yikes, I am creating a component in ActionScript and adding an HBOX to > it as a child. I want that hbox to fil

[flexcoders] Re: DataService commit() doesn't finish.

2006-12-26 Thread parkerwhirlow
that might be worth a > try. > > > > Jeff > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of parkerwhirlow > Sent: Thursday, December 21, 2006 4:14 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] DataService

[flexcoders] Re: Bug using FDS to persist managed association as Set

2006-12-26 Thread parkerwhirlow
b classes in your classpath. You > can find HibernateAssembler in one of the flex-messaging jar files and > just replace the old one with the new one. > > > > Jeff > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of pa

[flexcoders] Bug using FDS to persist managed association as Set

2006-12-22 Thread parkerwhirlow
This is probably best handled by Jeff Vroom, but I'm open to comments from anyone I have dug through the HibernateAssembler source after seeing very strange behavior, and I think I've uncovered a bug in the HibernateAssembler. When it is persisting a change to a property that is an FDS manage

[flexcoders] Re: enabling Hibernate logging through log4j with jrun/fds2

2006-12-22 Thread parkerwhirlow
I have gotten hibernate logging to work by placing log4j.jar into the web-inf/lib directory, and placing a log4j.properties (you can use the sample) into the web-inf/classes directory. That was all I needed to do. good luck, PW --- In flexcoders@yahoogroups.com, "thunderstumpgesatwork" <[EMAIL PR

[flexcoders] Re: FDS: Using Hibernate second-level cache possible?

2006-12-21 Thread parkerwhirlow
Jeff, Niko I don't know exactly your problem, but I DO know where two session factories could come from =) I was stepping through all the HibernateManager code just today and see the following in the HibernateManager.createSessionFactory... (it creates one session factory for general purpose stuf

[flexcoders] DataService commit() doesn't finish.

2006-12-21 Thread parkerwhirlow
Hi guys, I have some functionality that used to work that isn't working anymore... using FDMS and HibernateAssembler. >From Flex, I've made one single change and used DataService.commit(), and added a responder to the AsyncToken. On the server, I can trace through the HibernateAssembler.update

[flexcoders] Re: RegExp

2006-12-21 Thread parkerwhirlow
a couple quick things.. I'm by no means an expert at regex... but... the first backslash is unnecessary isn't it? & is not a meta character, so the \ after the first / isn't needed. also, don't you want to remove ALL characters between the < and > ? so I'd change the inner [a-zA-Z0-9]* to .*? (

[flexcoders] Re: Datagrid scrolling woes!

2006-12-21 Thread parkerwhirlow
I don't know if you're just trying to be misleading, or mis-typed something, but it doesn't help any if you're passing wrong information. DataGrid (or List for that matter) doesn't have a vPosition property at all. I don't know the answer for sure, but there's a 'scrollPosition' property on

[flexcoders] Re: dataGrid Help, populating - newbie array question (consider it a an xmas gift)

2006-12-21 Thread parkerwhirlow
First I think you're confused about the semantics of ArrayCollection... it is not a collection of arrays, but rather a Collection interface wrapper on a single array. When you define the dataProvider statically in mxml the way you did, what you're doing is creating a single array of Objects (ea

[flexcoders] FDMS destinations and inheritance

2006-12-21 Thread parkerwhirlow
Guys, I'm trying to properly set up a relationship between a class View, which has a FDMS destination called View, and in Hibernate has a relationship called parent which points to a ViewContainer. The trick is that ViewContainer is a sub-class of View. So normally I would create my managed relat