Re: [flexcoders] How to implement Lazy Hibernate?

2006-11-26 Thread Carlos Rovira
Hi, I'm currently searching for info about this topic. Could someone provide some links about how FDS and Hibernate work thogether in this issue? Thanks. C. On 11/26/06, Kelly [EMAIL PROTECTED] wrote: Lazy Loading probably isn't going to help you. You probably want to consider

[flexcoders] Re: padding in the text in cells in a datagrid

2006-11-26 Thread Tim Hoff
mx:DataGridColumn paddingRight=6/ -TH --- In flexcoders@yahoogroups.com, arpan srivastava [EMAIL PROTECTED] wrote: Hi , How to give padding to text in the cells. In my datagrid I have numbers which are right aligned, but they are too much right aligned, the text in last column touches

Re: [flexcoders] DataBinding Vs. Procedural Model Updates

2006-11-26 Thread Ralf Bokelberg
I guess that binding is more efficient, because it updates only the properties, which change, while updateModel always updates everything. Cheers, Ralf. On 11/26/06, Steve Hindle [EMAIL PROTECTED] wrote: Hi All, Anyone know the performance implications of using databinding to update a

RE: [flexcoders] best way to do database to Java to XML to flex

2006-11-26 Thread Flexy
Hello Hank, Some DB's can return result sets in XML all by themselves. IIRC SQLServer can do this. So middle tier is no longer an issue either.. Hope this helps, Flexy. _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hank williams Sent: Sunday,

[flexcoders] Bug??? Re: Loading multiple swfs crashing browser

2006-11-26 Thread dallasweb
Adobe asked for my code regarding this issue. I have since posted it on my blog. Also, I noticed another post on Adobe forum regarding the 'same' problem...browser crashes when loading swfs w/ swfloader Take a peek...maybe it's something obvious.

[flexcoders] validation for form reset

2006-11-26 Thread relisanhard52
Hi I am having a form whose fields i can validate without any issues. I need to have an option of reset. In my reset, i have private function reset():void { nameValidator.enabled= false; name.text=''; nameValidator.enabled= true; } This

[flexcoders] How to know when all data has been returned from a Remote Object Call?

2006-11-26 Thread jroblang
Apologies if this question has been answered before, but I am a newbie to flex (and to web programming in general). I have a situation where I need to make calls to two different remote objects (ColdFusion queries) where one query depends on the results of the other. Call 1 needs to be

Re: [flexcoders] best way to do database to Java to XML to flex

2006-11-26 Thread hank williams
Thanks alot. I actually spent the evening writing a xml to actionscript and actionscript to xml converters. I am using mysql with jdbc and I dont think there is any such capability with these tools. The interesting thing is reading such xml is built into XMLDecode, which is an undocumented api

Re: [flexcoders] How to know when all data has been returned from a Remote Object Call?

2006-11-26 Thread Paul Hastings
On 11/26/06, jroblang [EMAIL PROTECTED] wrote: I have a situation where I need to make calls to two different remote objects (ColdFusion queries) where one query depends on the results of the other. Call 1 needs to be completed before Call 2 can execute. How do you figure out when Call 1

Re: [flexcoders] DateFormatter adds one hour to output

2006-11-26 Thread Oliver Lietz
Am Freitag, 24. November 2006 02:23 schrieb Kevin Merritt: No bug. Your problems is right here: timeFormatter.formatString = HH:NN:SS; change this to: timeFormatter.formatString = JJ:NN:SS; H - displays hours as 1 - 24 J - displays hours as 0 - 23 (which is how most of us understand 24

Re: [flexcoders] DateFormatter adds one hour to output

2006-11-26 Thread Oliver Lietz
Am Donnerstag, 23. November 2006 17:24 schrieb Tom Chiverton: On Thursday 23 November 2006 12:27, Oliver Lietz wrote: Is this desired behavior? Looks like a bug to me. Your timezone is +1, so I'd expect a 1h difference between locale time and UTC time. Tom, it was 13:26:20 (CET) on my Mac.

Re: [flexcoders] How to implement Lazy Hibernate?

2006-11-26 Thread Douglas McCarroll
Hi Kelly, Lazy Loading probably isn't going to help you. You probably want to consider doing an intermediate class between any many-to-many associations in hibernate so you have two many-to-one associations instead. Thanks for your response Kelly, but I think that I already have an

RE: [flexcoders] How to implement Lazy Hibernate?

2006-11-26 Thread Kelly
From Hibernate Best Practices: Don't use exotic association mappings. Good usecases for a real many-to-many associations are rare. Most of the time you need additional information stored in the link table. In this case, it is much better to use two one-to-many associations to an

Re: [flexcoders] How to implement Lazy Hibernate?

2006-11-26 Thread Douglas McCarroll
Hi Kelly, Most of the time you need additional information stored in the link table It looks to me as though I have a link table - film_actor. I'm assuming that as my .java and .hbm.xml classes are generated by HibernateTools from the DB, they are correct. I'm guessing that they work fine

RE: [flexcoders] How to implement Lazy Hibernate?

2006-11-26 Thread Kelly
I am not sure what the best way of mapping it would be so as to eliminate the circular reference. I am not great at Hibernate. Maybe if you eliminated the one-to-many relationships on Film and Actor. Then you would have a separate collection of FilmActors that you could query by

Re: [flexcoders] How to implement Lazy Hibernate?

2006-11-26 Thread Douglas McCarroll
Hi Kelly, Maybe if you eliminated the one-to-many relationships on Film and Actor. Then you would have a separate collection of FilmActors that you could query by film or actor. It would eliminate the circular reference but I am not sure it’s the best solution or what you had in mind.

[flexcoders] Scrolling TileList?

2006-11-26 Thread Steve Kellogg @ Project SOC
Hello, I have a TileList that conatins some images and text. The normal scroll behavior is to scroll to each row in the list, but I need to be able to scroll at a finer level, so that I can scroll through large pictures that might be too big to show completely in the window. Can anyone

[flexcoders] Re: Scrolling TileList?

2006-11-26 Thread Tim Hoff
Hi Steve, You could place the TileList in a Canvas container. Only set the height of the Canvas; not the TileList. -TH --- In flexcoders@yahoogroups.com, Steve Kellogg @ Project SOC [EMAIL PROTECTED] wrote: Hello, I have a TileList that conatins some images and text. The normal

[flexcoders] Re: head namespace in Flex 2 Style Explorer

2006-11-26 Thread kristoffersingleton
Mark... It is defined right in the tag you are looking at... head:GlassHeaders xmlns:head=* headerTitle=STYLE CONTROLS/ the xmlns:head=* does the trick setting the head namespace to the directory where the mxml file you are looking at resides. HTH _K --- In flexcoders@yahoogroups.com, Mark

RE: [flexcoders] Re: Scrolling TileList?

2006-11-26 Thread Steve Kellogg @ Project SOC
Tim, Thanks VERY much. I appreciate it. Steve _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff Sent: Sunday, November 26, 2006 11:35 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Scrolling TileList? Hi Steve, You could

[flexcoders] adding Bitmap to a container

2006-11-26 Thread Mark Piller
I am experiencing a difficulting adding a Bitmap to a container using the addChild() method. The error i get is: TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::[EMAIL PROTECTED] to mx.core.IUIComponent. The error actually makes sense since flash.display.Bitmap does

[flexcoders] Re: head namespace in Flex 2 Style Explorer

2006-11-26 Thread Mark Piller
I totally missed it. Thanks for pointing it out! Cheers, Mark --- In flexcoders@yahoogroups.com, kristoffersingleton [EMAIL PROTECTED] wrote: Mark... It is defined right in the tag you are looking at... head:GlassHeaders xmlns:head=* headerTitle=STYLE CONTROLS/ the xmlns:head=* does

[flexcoders] Newbie question: Showing a vertical scroll bar on application

2006-11-26 Thread Flexy
Hi, I am adding titlewindows using the popupManager on the application canvas, I have many of them so some are beyond the screen height, However, no vertical scrollbar shows - how can I make sure the vertical scroll bar shows if there are controls beyond the screen height? Thanks,

Re: [flexcoders] Securing WebServices

2006-11-26 Thread Sebastian Zarzycki
Tom Chiverton wrote: means that I have to add this token parameter to *every* webservice method. This is not acceptable, as I want (in fact, my customer wants) my services to be free of such things. Authorization should be transparent (but flexible). Then again I could have one big thing,

[flexcoders] Loader to Image

2006-11-26 Thread Sebastian Zarzycki
I'm using Loader class to dynamically load images from server, as it's advised in Loading content dynamically of * Part5_ProgAS.html*Programming ActionScript 3.0 - Flex doc. But there's one thing I don't understand. In example there, we have : | |var pictLdr:Loader = new Loader();

Re: [flexcoders] Bit Off topic: Microsoft Vista VS Apollo/Flex/Flash

2006-11-26 Thread Sebastian Zarzycki
camlinaeizerous wrote: Microsoft Expressions a new development tool reminded a lot of people of flash studio and it seems like a copy of flash with A Microsoft label on top. Although I didn't get to see a lot of the under working just a quick over view, essentially by default the time line is

RE: [flexcoders] mx.automation

2006-11-26 Thread Matt Chotin
Yeah, that shouldn't really be possible. The automation stuff is I think due to a bug, but you're using a build that others on this list aren't, ahem :-) Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Friday, November

Re: [flexcoders] Loader to Image

2006-11-26 Thread {reduxdj}
Sebastian: Why don't you create your own component like the following then you can bind your component source to your variable then you can control size and effects etc. I prefer SWFLoader to loader and i don't know why but everyone says to use that instead var box:Thumb = new Thumb();

Re: [flexcoders] adding Bitmap to a container

2006-11-26 Thread {reduxdj}
Mark: Instantiate a new UIComponent then try: import mx.controls.UIComponent; ... var myComponent:UIComponent = new UIComponent(); (blah blah blah - Your code here then don't forget to add that component to the display list) addChild(myComponent); This should fix

[flexcoders] Set the Time Zone

2006-11-26 Thread bkeinan
Is there any way to define the time zone for the flash player from with in the Flex code? Thanks, Benny

[flexcoders] VBox Size Listener?

2006-11-26 Thread {reduxdj}
I have a vBox in my main application and when I add content to the vBox, the size changes. Is there a way that I can add a listener to the size of this box, and when it changes size, make it animate? I am sure there is, but I am not sure how to go about this effect. Any ideas, thanks,

[flexcoders] CSS stylesheets and Textfields

2006-11-26 Thread {reduxdj}
I have a stylesheet with my embedded font links that work fine, how do i use my stylesheet with a textformatter for a new text object? var formatter:TextFormat = new TextFormat(); formatter.bold = true; formatter.color = 0xFF; formatter.font = arial;

[flexcoders] Adding dynamic fields to an ArrayCollection

2006-11-26 Thread michrx7
Using the code below I am able to create an array collection and set it as the provider of a datagrid (the resort the columns to match the way I want them to display). Now I have two issues I need to solve if anyone is able to help: 1) I have of defined static arrays (mynewArray1 - 3) to add

Re: [flexcoders] Securing WebServices

2006-11-26 Thread Diego Guebel
Hi there, You can use headers on SOAP, take a look at http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1158.html I'm using that in an application and works fine. You can also use https for the login. Diego. On Mon, 27 Nov 2006

[flexcoders] Field in viewstack null until the layere its on has been made visible?

2006-11-26 Thread rumpleminzeflickr
Hi, I have a datagrid, when I click on an item it switches the viewstack to another element but doesn't display the data in a field because the field is null. I get an error but if I run it again it works. Looking at the debugger the field is null the first time, the second time it is of the

Re: [flexcoders] Bit Off topic: Microsoft Vista VS Apollo/Flex/Flash

2006-11-26 Thread John C. Bland II
Vista isn't -vs- Apollo/Flex/Flash. Here's the breakdown: WPF vs Apollo (and swf wrappers) WPF/E vs Flex/Flash I didn't read your entire post but I wanted to add that clarification. The Expression family isn't the whole round trip. You build WPF apps, most of the time at least, with Visual

Re: [flexcoders] Bit Off topic: Microsoft Vista VS Apollo/Flex/Flash

2006-11-26 Thread Andrew Muller
few Linux/mac people - Yes there are a smaller proportion of Mac users (constantly increasing - there were a lot of switchers at MAX), but they're often the real early adapters - and that's the folk who you want singing the praises of your wonderful new creation... On 25/11/06, camlinaeizerous

RE: [flexcoders] VBox Size Listener?

2006-11-26 Thread Shannon Hicks
I think there's an onResize property. Shan _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of {reduxdj} Sent: Sunday, November 26, 2006 6:44 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] VBox Size Listener? I have a vBox in my main application and

[flexcoders] Resizing a ROW of a List view.

2006-11-26 Thread Steve Kellogg @ Project SOC
Hello, I'm displaying a list of rows. The rows are rendered via an Item renderer. One of the items in the row is a Text field that's setup to wrap text. As per the documentation, I've set the WIDTH of the Text field (to 100%) but NOT the height, so that the text field can decide for