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

2006-12-20 Thread thunderstumpgesatwork
Does anyone know how to get hibernate logging when using FDS and the HibernateAssembler? From my reading on Hibernate: see http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#configuration-logging , they use log4j, and talk about putting a log4j.properties file in the WEB-INF/classes di

[flexcoders] Re: There's got to be a better way than Cairngorm

2006-12-20 Thread thunderstumpgesatwork
Hi Brian, While I do agree that Cairngorm can lead to a maintenance nightmare when the commands get overwhelming in number, there are several things you can do to help alleviate the issue. For one thing, it sounds like you have a fairly well known domain model. I would suggest creating an abstrac

[flexcoders] Re: Flex 2 Compilation problem

2006-12-20 Thread thunderstumpgesatwork
There are several compiler settings I have noticed that need to be correctly specified in order for this to work. if you right-click your project and go to properties->Flex Compiler there is a text box for "additional compiler arguments" you should make doubly sure that the following are set to t

[flexcoders] Re: Help with HibernateAssembler

2006-12-20 Thread thunderstumpgesatwork
The Flex Data Services CRM sample can be configured to use Hibernate. Check out the readme in C:\fds2\jrun4\servers\default\samples\dataservice\crm and also, there's a readme about setting up hibernate in C:\fds2\resources\hibernate Also try a search in the flex documentation for 'hibernate con

[flexcoders] Re: FDS - class cast exception - lazy loading relationship

2006-12-15 Thread thunderstumpgesatwork
> I'm going to keep looking into this, but do you have any bi-directional > relationships where both directions are lazy="false"? > > > > Jeff > > > > > > From: flexcoders@yahoogroups.com [mailto:[E

[flexcoders] Re: FDS - class cast exception - lazy loading relationship

2006-12-15 Thread thunderstumpgesatwork
m: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of thunderstumpgesatwork > Sent: Wednesday, December 13, 2006 9:41 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: FDS - class cast exception - lazy loading > relationship > > > > Thanks for the inf

[flexcoders] Re: FDS - class cast exception - lazy loading relationship

2006-12-13 Thread thunderstumpgesatwork
Thanks for the info Jeff... I'lll be looking forward to some of these bug fixes... Meanwhile, I enabled 'autoSync' and 'autoCommit' and now I'm getting a new Error... no code so I can't tell what's going on. I was able to investigate the variables a little enough to know that the managedProperty

[flexcoders] Re: Drag and Drop onto chart... locate axes?

2006-12-11 Thread thunderstumpgesatwork
ers surrounding the > data area of the chart, which is the area the axes occupy. > > Ely. > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of thunderstumpgesatwork > Sent: Monday, December 11

[flexcoders] Drag and Drop onto chart... locate axes?

2006-12-11 Thread thunderstumpgesatwork
I'm trying to handle drag and drop events on a chart. Specifically I'm trying to handle dropping onto a chart axis. In dragOver, I need to know when the mouse is over one of the chart axes. I've looked at trying to get the size of them from the axis Renderers, but it appears the renderers are the

[flexcoders] Re: FDS - class cast exception - lazy loading relationship

2006-12-11 Thread thunderstumpgesatwork
e > problem by turning autoSyncEnabled=true? > > > > Jeff > > > > ____ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of thunderstumpgesatwork > Sent: Tuesday, December 05, 2006 8:20 AM > To: flexco

[flexcoders] Re: FDS - class cast exception - lazy loading relationship

2006-12-05 Thread thunderstumpgesatwork
lease let me know if this has been captured, and if it is a known defect. thanks, Thunder --- In flexcoders@yahoogroups.com, "thunderstumpgesatwork" <[EMAIL PROTECTED]> wrote: > > Guys, > > I'm having more troubles with FDS... seems like there's some interna

[flexcoders] FDS - class cast exception - lazy loading relationship

2006-12-03 Thread thunderstumpgesatwork
Guys, I'm having more troubles with FDS... seems like there's some internal exception lurking around every corner... Here's a simple managed relationship between an applicationConfig and a Set of dashboards. The relationship is lazy, and when a dashboard is accessed I get the expected "ItemPendin

[flexcoders] Re: Horizontal Scroll in Tree ?

2006-10-31 Thread thunderstumpgesatwork
Bump... maybe people missed it last night. This seems like such an obvious problem that it seems like I'm missing something! Also, I can force the scrollbars by setting maxHorizontalScrollPosition, but even then, when you scroll the window, none of the labels redraw! So you don't end up seeing any

[flexcoders] Horizontal Scroll in Tree ?

2006-10-30 Thread thunderstumpgesatwork
Guys, I can't seem to get the horizontal scrollbars to work properly on a tree control. Setting the horizontalScrollPolicy="auto" doesn't do the trick, and I've started looking at maxHorizontalScrollPosition but that doesn't seem to work correctly either (not to mention I don't exactly know how th

[flexcoders] Re: PopUpButton as ItemEditor in DataGrid

2006-10-30 Thread thunderstumpgesatwork
going to be used in a PopUp of an itemEditor. Setting 'focusEnabled=false' on all of the "pieces" of my popup solved my problem. hope this helps someone else down the road. cheers, Thunder --- In flexcoders@yahoogroups.com, "thunderstumpgesatwork" <[EMAIL PROTECT

[flexcoders] Re: DataGrid itemEditor loses focus when using a PopUp

2006-10-30 Thread thunderstumpgesatwork
going to be used in a PopUp of an itemEditor. Setting 'focusEnabled=false' on all of the "pieces" of my popup solved my problem. hope this helps someone else down the road. cheers, Thunder --- In flexcoders@yahoogroups.com, "thunderstumpgesatwork" <[EMAIL PROTECT

[flexcoders] Re: ContextMenuEvent on BarSeries - how can I access the item that was clicked o

2006-10-27 Thread thunderstumpgesatwork
Hey guys, I do something similar with our charts. The ITEM_ROLL_OVER event has everything you need... just add like so: chart.addEventListener(ChartItemEvent.ITEM_ROLL_OVER, hoverChartData); and in the ChartItemEvent class there is a hitData property... good luck! I'm interested to hear if you

[flexcoders] DataGrid itemEditor loses focus when using a PopUp

2006-10-27 Thread thunderstumpgesatwork
Hi guys, I am running into problems with focus changes when trying to use a PopUpButton to pop up a custom component in the scope of a DataGrid itemEditor. I know this should work, because a ComboBox is basically the same thing (a popup button with a list). I have a popup with a tree for selecti

[flexcoders] Re: datagrid and dataField

2006-10-27 Thread thunderstumpgesatwork
Hi, my guess is that your "dataField" cannot support the complex "[EMAIL PROTECTED]"... it should be just a single field name. To me the XML makes more sense (and is simpler) like this: > > > Christina Coenraets > > > Maurice Smith >

[flexcoders] PopUpButton as ItemEditor in DataGrid

2006-10-27 Thread thunderstumpgesatwork
I am running into a doozie of a problem. I'm trying to use a custom popup button as an item editor in a data grid. However as soon as the PopUp is created, and the "open" event fires, the data grid loses focus, the editor closes, and the popup goes away. In the DataGrid framework code, I traced

[flexcoders] Asynchronously populate tree control.

2006-10-24 Thread thunderstumpgesatwork
Hi all, I am trying to populate a tree with asynchronous calls to a remote object. (I.E. each request for children of a node causes a remote call to get the children). The issue that I'm running into is that even before opening a tree node, all the children are being fetched. (call to DataDescri

[flexcoders] Re: [Flex2] Ant + compc - include-libraries not being found during compile..?

2006-10-19 Thread thunderstumpgesatwork
ry-path' did the trick. cheers, Thunder --- In flexcoders@yahoogroups.com, "thunderstumpgesatwork" <[EMAIL PROTECTED]> wrote: > > > Hi guys. Can someone check my ant task? I copied and modified slightly > several different tasks I found around here, and I&#

[flexcoders] [Flex2] Ant + compc - include-libraries not being found during compile..?

2006-10-18 Thread thunderstumpgesatwork
Hi guys. Can someone check my ant task? I copied and modified slightly several different tasks I found around here, and I'm getting errors about finding base classes (Cairngorm's FrontController, ServiceLocator, and the FDS's IManaged) I am pretty sure the libs (swc's) are being found, because if

[flexcoders] Re: Bug with stacked ColumnSet and LogAxis

2006-10-05 Thread thunderstumpgesatwork
Bump... I don't know of an "official" bug submitting channel. Is there one available? I'd like to make sure this gets logged. Thunder --- In flexcoders@yahoogroups.com, "thunderstumpgesatwork" <[EMAIL PROTECTED]> wrote: > > Hi guys, > > I thin

[flexcoders] Bug with stacked ColumnSet and LogAxis

2006-10-02 Thread thunderstumpgesatwork
Hi guys, I think I found a bug when using a "stacked" ColumnSet and a LogAxis. When both are used in combination, I only see one of the series. Take away the LogAxis and it displays properly, change the "stacked" set to "clustered" and it displays properly. All code to reproduce is below. Any

[flexcoders] Re: Stack Overflow with circular managed associations.

2006-09-26 Thread thunderstumpgesatwork
not send the > property value but instead pull out ids of any objects in those property > values and send those in the header. If you don't see anything > obviously wrong in the debug output, send it along to me and hopefully I > can tell what is happening from that. >

[flexcoders] Re: Stack Overflow with circular managed associations.

2006-09-25 Thread thunderstumpgesatwork
ll. Anyone know anything about this happening? thanks, Thunder --- In flexcoders@yahoogroups.com, "thunderstumpgesatwork" <[EMAIL PROTECTED]> wrote: > > > Hi guys, > > I think this may be a bug. I have some classes that have > bi-directional managed associations. I

[flexcoders] Stack Overflow with circular managed associations.

2006-09-22 Thread thunderstumpgesatwork
Hi guys, I think this may be a bug. I have some classes that have bi-directional managed associations. If both sides are declared lazy=false, I'm getting a stack overflow error in Flex when the results are returned. See the error output below. Any ideas? Shouldn't this work? thanks, Thunder Er

[flexcoders] Re: Flex Data Services destination configuration documentation?!

2006-09-22 Thread thunderstumpgesatwork
The online docs have little bits of examples spread in many different pages, but no one place that documents the "schema domain" for the configurations. Thunder --- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]> wrote: > > On Friday 22 September 2006 12:31, EECOLOR wrote: > > wa

[flexcoders] Re: callLater not calling my method...?

2006-09-21 Thread thunderstumpgesatwork
I don't think the UIComponent needs to be added as a child. The LayoutManager class does this same thing, and never adds it as a child of another UIComponent. The event should be gotten from the systemManager.stage property. Though could there be a timing issue where the stage is not initialized o

[flexcoders] callLater not calling my method...?

2006-09-21 Thread thunderstumpgesatwork
Hi guys, I have successfully used this technique to invoke callLater from a non-UIComponent, and it was suggested in this thread: http://tech.groups.yahoo.com/group/flexcoders/message/49612 And I have since then seen this method used in the Framework as well.. It works for me in one case, but no

[flexcoders] Re: Flex2 - "unconverted Bindable metadata in class"

2006-09-21 Thread thunderstumpgesatwork
- In flexcoders@yahoogroups.com, "thunderstumpgesatwork" <[EMAIL PROTECTED]> wrote: > > > Hi all, > > I've recently been getting this warning with some of my value object > classes. > > For the value objects, I typically declare the entire class as > [

[flexcoders] Re: ClassCastException with lazy managed association and HibernateAssembler

2006-09-21 Thread thunderstumpgesatwork
gt; enhancement for this since we should support this data type. > > > > Jeff > > > > ____ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of thunderstumpgesatwork > Sent: Wednesday, September 20,

[flexcoders] ClassCastException with lazy managed association and HibernateAssembler

2006-09-20 Thread thunderstumpgesatwork
Hi, I've tried to implement some lazy managed associations to improve performance when we're loading a large object tree. I'm currently getting the following error on the server when it attempts to get the reference id's of the lazy association. Any ideas what the problem is? It's not able to c

[flexcoders] Re: Actionscript Binding - bind a property through a function

2006-09-20 Thread thunderstumpgesatwork
ay of accomplishing the same thing > > > http://www.adobe.com/2006/mxml"; > layout="absolute"> > x="10" y="40"/> > > > > > > > > > > > > > > -

[flexcoders] Re: state problem

2006-09-20 Thread thunderstumpgesatwork
Hi, 'visible' and 'enabled' are properties, not styles. Try changing the to Thunder --- In flexcoders@yahoogroups.com, Rick Root <[EMAIL PROTECTED]> wrote: > > I'm trying to work with states and having some difficulty. > > Here is my state code in the MXML: > > > >v

[flexcoders] Actionscript Binding - bind a property through a function

2006-09-20 Thread thunderstumpgesatwork
Hi guys, I know in mxml you can do data binding like this: where any time the bindable property "someBindableTextField" changes, the binding fires, and the label is replaced with the result of the function. This is even more powerful if the function parameters has two bindable properties. Whe

[flexcoders] Flex Data Services destination configuration documentation?!

2006-09-20 Thread thunderstumpgesatwork
I can't find a single place that documents the configuration options for a destination in Flex Data Management Services. We found several places that have examples of certain types of configurations, but no 'syntax reference' for what tags are allowed, what the tags mean, etc. Does this documen

[flexcoders] Flex2 - "unconverted Bindable metadata in class"

2006-09-20 Thread thunderstumpgesatwork
Hi all, I've recently been getting this warning with some of my value object classes. For the value objects, I typically declare the entire class as [Bindable], and then have getter/setter functions for properties. Is this something that could cause the problem? Am I required to dispatch the e

[flexcoders] Re: Error 1009 in Flex 2

2006-09-08 Thread thunderstumpgesatwork
event.result must not be an array. when you are assigning it "as Array" it is returning null. use the debugger to determine the actual datatype of event.result. I would guess it is an ArrayCollection, not an Array. But it could be some other kind of list or object too. (XMLList, etc). Hard to tell

[flexcoders] Re: using application.callLater from a non-UI component?

2006-09-07 Thread thunderstumpgesatwork
validateSomething():void > { > trace("invalidateSomething()") > invalidate(updateSomething); > > } > > public function updateSomething():void > { > trace("updateSomething()") > } > > } > } > > > > Peace,

[flexcoders] Re: using application.callLater from a non-UI component?

2006-09-07 Thread thunderstumpgesatwork
hmm... still no go... any ideas why this wouldn't work? does the UIComponent actually need to be added to a parent UIComponent? Does it have to do with the fact that the UIComponent is private? I'm kinda at a loss. Thunder --- In flexcoders@yahoogroups.com, "Michael Schmalle" <[EMAIL PROTECTED

[flexcoders] using application.callLater from a non-UI component?

2006-09-07 Thread thunderstumpgesatwork
Hi all, I need to use the equivalent of UIComponent.callLater() but from a non-UIComponent class. I've tried using the top level application using mx.core.Application.application.callLater() but that doesn't seem to work to call my non-ui object's method. Does that function only work if you're

[flexcoders] Re: Public getter, private setter?

2006-09-07 Thread thunderstumpgesatwork
I still don't have an answer, but I think I have a pretty clean work-around. Since the setter would be private, and called only within the class, I've gone to a private function in Java style eg. private function setLoadState(state:int):void Notice it is not a property setter, but just a functi

[flexcoders] Public getter, private setter?

2006-09-06 Thread thunderstumpgesatwork
Just wondering why I can't declare a property getter as public, and the property setter as protected or private? When I do so, I get "1000 Ambiguous reference to loadState" Any work-arounds? I want to have the setter so that I can raise the property change event when I set the state, but I'd rat

[flexcoders] Re: CellRenderer For ComboBox

2006-09-01 Thread thunderstumpgesatwork
Has anyone gotten this working correctly? I'm trying to do the same thing, and having some issues. 1st is the issue Simeon mentions below, any time you select an item, the dropdown closes. I looked at the source for ComboBox.as, and it is handling the "change" and "click" events on the list, and c

[flexcoders] Re: FDS + Hibernate exception committing updates

2006-08-23 Thread thunderstumpgesatwork
Hi Jeff, I am not using the version or timestamp features of hibernate, however I am using the cascade="all" feature to manage sets of child objects off of the main managed object. In fact, it is this collection of child objects that has changed (removed one, added one, etc.) Should the "transiti

[flexcoders] Re: Custom containers in Flex 2

2006-08-23 Thread thunderstumpgesatwork
The documentation has most of this covered... See this topic on creating Advanced Visual components, and all the sub-topics. Read several times. Example is in there too. http://livedocs.macromedia.com/flex/2/docs/1721.html This page specifically has an example on overriding the layout mechanis

[flexcoders] Re: FDS Data Management quesion

2006-08-22 Thread thunderstumpgesatwork
quot; into the current versions of the items, but when you turn > autoMerge=false, they are queued up instead (the mergeRequired property > is set in this case). At that point, you call "merge" to apply those > changes. > > > > Jeff > > > > __

[flexcoders] FDS Data Management quesion

2006-08-22 Thread thunderstumpgesatwork
I have a question (or two) about saving/persisting/updating changes that have been made. I'm trying to maintain some granular level of control of which managed objects are saved and which are rolled back. First scenario: Assume we used dataservice.fill() to load a collection. Is it possible to s

[flexcoders] Re: Is it possible to add ControlBar container runtime?

2006-08-21 Thread thunderstumpgesatwork
You're going to need to set some properties on the ControlBar I think... Are you actually putting anything in the control bar? Set the size appropriately (either percentage or explicit) Possibly set some styles... either by CSS using .styleName or by .setStyle() Also might try calling invalidateD

[flexcoders] Re: Tree drag & drop: how to get node where item is dropped

2006-08-21 Thread thunderstumpgesatwork
method are private, so they're > useless as is (another example of Adobe being overly private, I'm afraid). > I've had to duplicate (and tweak) the updateDropData() method to make use of > the algorithm. The methods getChildIndexInParent() and getChildren() had to > be d

[flexcoders] Re: Tree drag & drop: how to get node where item is dropped

2006-08-18 Thread thunderstumpgesatwork
Bump... I'm trying to do similar. Though I need to do it in the DragOver event, and determine under which node it is going to be dropped. I need to do this because certain places in the tree are acceptable places to drop certain items... I know I can get the "dropIndex" by using the tree function

[flexcoders] Re: Bug? Tree Drag-N-Drop to Datagrid

2006-08-18 Thread thunderstumpgesatwork
I haven't actually done this, but I was thinking... have you tried calling preventDefault() as it sayz in the documentation for dropEnabled property on ListaBase: "If you set this property to true, the control accepts all data formats, and assumes that the dragged data matches the format of the da

[flexcoders] Re: Bug in Slider::UpdateDisplayList

2006-08-17 Thread thunderstumpgesatwork
lls invalidateDisplayList() > somePropertyChanged = false; >} > } > > override protected function updateDisplayList( > { >super.updateDisplayList(... > >mySlider.move(... >mySlider.setActualSize(... > } > > > This is the correct

[flexcoders] Bug in Slider::UpdateDisplayList

2006-08-17 Thread thunderstumpgesatwork
Hi all, I'm running into Flex 2 Release error with Slider (HSlider to be exact). The "null reference exception" happens when there are no thumbs. See the source and exception traces below. On line 1480 it checks the number of thumbs and correctly handles a null 'thumbs' array. However, if thumbs

[flexcoders] Re: Determine if a Class implements an Interface

2006-08-16 Thread thunderstumpgesatwork
ers] Determine if a Class implements an Interface > > > > describeType should be able to get you that info I think. > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of thunderstumpgesa

[flexcoders] Determine if a Class implements an Interface

2006-08-15 Thread thunderstumpgesatwork
Hi all, I often use if (obj is MyClassOrInterface) { // do whatever } but it appears that only works with Instances not Classes. With just a Class, how can I tell if that class implements a particular interface or is of a particular base type? Do I have to create an instance of it and check

[flexcoders] Re: Binding properties routine

2006-08-10 Thread thunderstumpgesatwork
ty(_image, "source", this, "imageSource"); > } > > True? > > On 8/10/06, thunderstumpgesatwork <[EMAIL PROTECTED]> wrote: > > Yeah, > > > > If you have a UIComponent (or subclass of), you can bind properties in > > the initialize() f

[flexcoders] Re: Binding properties routine

2006-08-10 Thread thunderstumpgesatwork
Yeah, If you have a UIComponent (or subclass of), you can bind properties in the initialize() function. You can also overload the setters, and create/manage the bindings in the setters. Just remember when the setter changes to a new value, you need to remove the old binding to the previous value

[flexcoders] Flex 2 - Using removeChild/addChild to move children with removeEffect/addEffect

2006-08-09 Thread thunderstumpgesatwork
Hi guys, I'm trying to add an effect when changing the positioning (order) of some GridItems in a GridRow. In my move function, I remove the child, and add it back at a different index. This works fine with no effect, however if I have a removeEffect and addEffect, I get an error. If I comment o

[flexcoders] Re: Handling VERY large numbers in Flex

2006-08-08 Thread thunderstumpgesatwork
Hi all, I'm running into these issues also. I'm considering porting the java BigInteger class to Flex (or at least part of it). Does anyone know if this has been done already? I have a question, is it possible to implement functions for the operators? For instance == or + or - ? This is somethin

[flexcoders] Flex 2 DS shared Managed Objects question

2006-08-04 Thread thunderstumpgesatwork
I'm using Data Services with Managed Objects and the Hibernate Assembler. I have a question regarding updating a shared managed object through one managed object, and having that update be reflected in another managed object. Should this work? I the most simple case, lets say I have a managed obj

[flexcoders] Re: DataService addItem vs. adding to a fill()'d collection

2006-08-01 Thread thunderstumpgesatwork
> We do reference counting on the client so only when you have released > the last reference to a managed item is the item's managed state > released. > > > > Jeff > > > > ____ > > From: flexcoders@yahoogroups.com

[flexcoders] DataService addItem vs. adding to a fill()'d collection

2006-08-01 Thread thunderstumpgesatwork
Hi all, I'm wondering what is the difference between adding an item to a managed collection (one gotten from a fill() call) and actually using the DataService.addItem() function. In the CRM sample, it seems they do it both ways. The code to add a company uses DataService.addItem(), and the code t

[flexcoders] Re: Backend/Frontend Application Development (Cairngorm)

2006-07-28 Thread thunderstumpgesatwork
Seems like in most cases, a shared command would 'speak' to the shared model. Thunder --- In flexcoders@yahoogroups.com, "Douglas Knudsen" <[EMAIL PROTECTED]> wrote: > > right...but hot to get a shared command to speak to a individual model? > > DK > &g

[flexcoders] Re: Flex Debug Error

2006-07-28 Thread thunderstumpgesatwork
You using Eclipse 3.2 with Flex plugin? If so, see this thread: http://groups.yahoo.com/group/flexcoders/message/42280 good luck. Thunder --- In flexcoders@yahoogroups.com, eduardodias <[EMAIL PROTECTED]> wrote: > > Hi All, > > I am having problems when trying use the Flex Builder Debug. The F

[flexcoders] SOLVED Re: Debugging Java remote Objects in Eclipse

2006-07-27 Thread thunderstumpgesatwork
; > Works in eclipse and intellij. > > - Cathy > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of thunderstumpgesatwork > Sent: Monday, July 24, 2006 1:02 PM > To: flexcoders@yahoogroups.com > Subject: [flexcod

[flexcoders] Architectural questions RE: Cairngorm 2

2006-07-27 Thread thunderstumpgesatwork
gestions are greatly appreciated! Thanks, Thunder --- In flexcoders@yahoogroups.com, "thunderstumpgesatwork" <[EMAIL PROTECTED]> wrote: > > Hi all. I've only just started using Cairngorm in my application, and > already it's helping to clean up a lot of code. Man

[flexcoders] Re: Backend/Frontend Application Development (Cairngorm)

2006-07-27 Thread thunderstumpgesatwork
Hey guys, I'm just starting with Cairngorm also, and I've never seen this done specifically, but I don't see any reason you can't have multiple ModelLocators... they're just singleton classes really. So, you could for instance have a shared ModelLocator with state that is shared between apps. The

[flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread thunderstumpgesatwork
Hi, The delegate function thinks you just have a CairngormEvent. I think you just need to check to make sure the event you received is your custom event type and then cast it. so: if (eventHere is LoadScorecardEvent) { del.getScorecard( LoadScorecardEvent(eventHere).scorecardId ); } else {

[flexcoders] Re: Flex 2 Release - HTTPService decoding and ArrayCollection

2006-07-25 Thread thunderstumpgesatwork
til.toArray and replace it with my util function. What do you all think? Thunder --- In flexcoders@yahoogroups.com, "thunderstumpgesatwork" <[EMAIL PROTECTED]> wrote: > > Hi all, > > I have been using an HTTPService to get an XML configuration file from > the serve

[flexcoders] Re: Flex 2 Release - HTTPService decoding and ArrayCollection

2006-07-25 Thread thunderstumpgesatwork
til.toArray and replace it with my util function. What do you all think? Thunder --- In flexcoders@yahoogroups.com, "thunderstumpgesatwork" <[EMAIL PROTECTED]> wrote: > > Hi all, > > I have been using an HTTPService to get an XML configuration file from > the serve

[flexcoders] Flex 2 Release - HTTPService decoding and ArrayCollection

2006-07-25 Thread thunderstumpgesatwork
Hi all, I have been using an HTTPService to get an XML configuration file from the server and using it to configure my app. The result format was ActionScript Objects, not e4x. When accessing a node that could be an array (one or more) I was using ArrayUtil.toArray(results.SomeNode.ArrayNode) to

[flexcoders] Flex 2 Release - HTTPService decoding and ArrayCollection

2006-07-25 Thread thunderstumpgesatwork
Hi all, I have been using an HTTPService to get an XML configuration file from the server and using it to configure my app. The result format was ActionScript Objects, not e4x. When accessing a node that could be an array (one or more) I was using ArrayUtil.toArray(results.SomeNode.ArrayNode) to

[flexcoders] FIXED Re: Remote Services using Flex2 Data Services final released

2006-07-25 Thread thunderstumpgesatwork
hope this helps, Thunder --- In flexcoders@yahoogroups.com, "thunderstumpgesatwork" <[EMAIL PROTECTED]> wrote: > > Hey, I'm getting the same exact error. Have you had any luck fixing > this? It's an HTTP-404 error... seems like it just can't find the > channe

[flexcoders] Re: Remote Services using Flex2 Data Services final released

2006-07-25 Thread thunderstumpgesatwork
Hey, I'm getting the same exact error. Have you had any luck fixing this? It's an HTTP-404 error... seems like it just can't find the channel location, but I'm pretty sure it's set up correctly (the default)... Have you come across a fix? I'll definitely post something up if I figure it out c

[flexcoders] SOLVED Re: Debugging Java remote Objects in Eclipse

2006-07-24 Thread thunderstumpgesatwork
he Classpath tab and select User Entries in the list, then use 'Add External Jars' to add: - ALL Jar files from C:\fds2\jrun4\lib - ALL Jar files from C:\fds2\jrun4\servers\lib - ALL Jar files from C:\fds2\jrun4\servers\default\flex\WEB-INF\lib * Click 'Apply&#x

[flexcoders] what happened to ViewStack -> changeEffect?

2006-07-24 Thread thunderstumpgesatwork
I was using the ViewStack changeEffect="fade" to fade between views... how is this accomplished now? I see hideEffect and showEffect inherited from UIComponent... but is that going to apply to the views in the stack, or only when the container itself is shown or hidden? thanks, Thunder --

[flexcoders] Using Data Management Services and HibernateAssembler

2006-07-21 Thread thunderstumpgesatwork
Hi all, We're architecting a configuration tree for a Flex App that right now doesn't have any server-side link. The config is for Flex, and we're considering using the HibernateAssembler to bypass the need for managing Hibernate in Java. I'm curious how many people are using it or planning on us

[flexcoders] Architectural questions RE: Cairngorm 2

2006-07-21 Thread thunderstumpgesatwork
Hi all. I've only just started using Cairngorm in my application, and already it's helping to clean up a lot of code. Many cudos to all the contributors! I've been reading and soaking up every bit of documentation and Flexcoders posts I can. A couple of arshitectural questions have come up as to

[flexcoders] Flex 2 plugin with Eclipse 3.2 errors

2006-07-20 Thread thunderstumpgesatwork
Hi all. Before you all tell me "It's not supported", I know. However I'm using HibernateTools which requires it, so I've been giving it a try. I read on the official Flex forum that some people are using Eclipse 3.2 successfully. However I get the following 'internal errors' when the stack trace i

[flexcoders] Debugging Java remote Objects in Eclipse

2006-07-17 Thread thunderstumpgesatwork
Hi guys, The following URL used to point to a WIKI page that described the steps for setting up Eclipse to launch the integrated JRun flex server in debug mode so that it is able to debug server-side java code. http://labs.adobe.com/wiki/index.php/Flex_Enterprise_Services:Debugging Where is thi

[flexcoders] Re: Wanted: Full-Time Flex/Java Developer

2006-07-14 Thread thunderstumpgesatwork
Looks like the email address got cut off... thunder.stumpges'at'gmail.com thanks, Thunder Yahoo! Groups Sponsor ~--> Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM

[flexcoders] Wanted: Full-Time Flex/Java Developer

2006-07-13 Thread thunderstumpgesatwork
Hello all. I'm posting this because we have a job opening for a Flex/Java developer. The position is full time, and relocation is not necessary. (work from home; some travel required) Starting ASAP Work for a fast paced, up and coming Business Intelligence and Collaboration company. Position deta

[flexcoders] Re: Flex2 B3 - Scroll Bar problems

2006-06-27 Thread thunderstumpgesatwork
of the text area, it will never get smaller than the set height > and width dimensions. Your choice here is whether to show > scrollBars up the displayList or not. It's actually quite logical. > It just takes some forethought to apply correctly. I learned a > couple of thi

[flexcoders] Re: Flex2 B3 - Scroll Bar problems

2006-06-23 Thread thunderstumpgesatwork
; creationPolicy="all" > verticalScrollPolicy="off" > horizontalScrollPolicy="off"> > > > > width="70%" height="100%" > paddingTop="0" paddingBottom="0" paddingLeft="0" paddingRight="0&quo

[flexcoders] Re: Flex2 B3 - Scroll Bar problems

2006-06-22 Thread thunderstumpgesatwork
scrollBars. If you add scroll policies and > clip content properties to the rest of your containers, you should > be able to fix the problem. > > -TH > > --- In flexcoders@yahoogroups.com, "thunderstumpgesatwork" > wrote: > > > > Trying to control s

[flexcoders] Flex2 B3 - Scroll Bar problems

2006-06-22 Thread thunderstumpgesatwork
Trying to control scrollbars is giving me a headache! I want everything to be dynamic sizing, so in general I either use percentages for all my sizes, or layout constraints. In some cases though, a component just cannot get smaller than a certain size to look correct. This is when I set the minHei

[flexcoders] Re: Beta3 - Remoting error when running from "local" build

2006-05-23 Thread thunderstumpgesatwork
Great, thanks for the info. Thunder --- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote: > > If you have {context-root} in any of your endpoints and rely on the > services configuration to generate the correct channels for you at > runtime then you must specify --conte

[flexcoders] Re: Beta3 - Remoting error when running from "local" build

2006-05-23 Thread thunderstumpgesatwork
yahoogroups.com, "thunderstumpgesatwork" <[EMAIL PROTECTED]> wrote: > > Wait a minute... it's missing the "{context.root}" portion of the > URL... thats why there's two slashes... > > Looking for the setting that should pick that up. > >

[flexcoders] Re: Beta3 - Remoting error when running from "local" build

2006-05-23 Thread thunderstumpgesatwork
Wait a minute... it's missing the "{context.root}" portion of the URL... thats why there's two slashes... Looking for the setting that should pick that up. Thunder --- In flexcoders@yahoogroups.com, "thunderstumpgesatwork" <[EMAIL PROTECTED]> wrote:

[flexcoders] Beta3 - Remoting error when running from "local" build

2006-05-23 Thread thunderstumpgesatwork
Hi all, I've got Flex Data Services installed in the default path, and Flex Builder Plugin set to "Compile Locally". The server path is set properly under "Flex Server" properties tab: Flex Root Folder - C:\fds2\jrun4\servers\default\flex Flex Server URL - http://localhost/flex/ Note: I've c

[flexcoders] Beta3 - Charting "Trial" watermark

2006-05-23 Thread thunderstumpgesatwork
Is there any way to get rid of this watermark in Beta3? How come this was put in? We're demo-ing toprospective customers, and this looks really bad on our demos. Thanks in advance, Thunder -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.

[flexcoders] Beta3 - Chart Selection functionality removed?

2006-05-15 Thread thunderstumpgesatwork
Hi all, I think way back in the alpha, it was mentioned that item selection functionality might be going away on the chart components... did this finally happen for Beta3? I'm getting errors around all my selection code (.selectionMode, selectedItems[], etc) If this was removed, can you enligh

[flexcoders] Re: Beta3 - Error with @Embed - worked in Beta2

2006-05-15 Thread thunderstumpgesatwork
;/af/images/config.png" >  > That fixed if for me! >  >    Clarke > >   _  > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of thunderstumpgesatwork > Sent: Monday, May 15, 2006 2:14 PM > To: flexcoders@yahoogroups.com &

[flexcoders] Beta3 - Error with @Embed - worked in Beta2

2006-05-15 Thread thunderstumpgesatwork
Hi guys, were there changes to @Embed statement for Beta3? All of my @Embed statements are now failing. These used to work in Beta2, and I didn't see any documentation refereces mentioning changes to the syntax... The images exist in the same place and format as they did previously. This erro

[flexcoders] Beta3 - RemoteObject destination error with stateful parameter

2006-05-15 Thread thunderstumpgesatwork
Guys, as of Beta3 I am getting an error in my remote object configuration. It is complaining about the parameter. Below are the configurations and the error I'm receiving. For now I've removed this statement. Was this changed or removed for Beta3? I didn't see it in the upgrade docs, and it's s

[flexcoders] Re: Flex2 - null exception with HistoryManager$ and Accordion

2006-05-09 Thread thunderstumpgesatwork
er.as:375]   at mx.managers::FocusManager/mx.managers:FocusManager::mouseDownHandler()[C:\dev\beta2\sdk\frameworks\mx\managers\FocusManager.as:1164] --- In flexcoders@yahoogroups.com, "thunderstumpgesatwork" <[EMAIL PROTECTED]> wrote: > > Hey guys, > > I've be

[flexcoders] Flex2 - null exception with HistoryManager$ and Accordion

2006-05-09 Thread thunderstumpgesatwork
Hey guys, I've been getting this error sporatically. It doesn't happen on a regular basis, and I can't reproduce it reliably. Basically every so often I get the following error message: TypeError: Error #1009: null has no properties.   at mx.managers::HistoryManager$/save()   at mx.con

  1   2   >