[flexcoders] TabBar Background Color

2008-10-28 Thread Mike Oliver
Is there a way to control/set the background of a TabBar so the selected Tab's background color matches the viewstack it controls background color? -- View this message in context: http://www.nabble.com/TabBar-Background-Color-tp20212407p20212407.html Sent from the FlexCoders mailing list

[flexcoders] TabBar ViewStack

2008-10-28 Thread Mike Oliver
I have a TabBar controlling a ViewStack and I want the border on the view stack canvas to be hidden as it crosses under the selected tab so there is no line between the text in the tab and the canvas it controls. -- View this message in context:

[flexcoders] Modules and Sessions

2008-12-01 Thread Mike Oliver
We are planning on the following organization for an Application. Base Application this will contain a scalable application with a canvas and an Toolbar across the top. The Application will be secured by user login in a popup form window. The tool bar buttons will load modules in the canvas

[flexcoders] help me settle an argument

2008-12-08 Thread Mike Oliver
I have a colleague that is of the opinion that SQL statements in Java Code such as DAO classes is bad practice, that the SQL statements and parameter tokens be externalized into Contants or property files. I maintain that is not only not necessary in general but given our loosely coupled service

[flexcoders] PFolder vs. Folder

2008-12-17 Thread Mike Oliver
I cannot find documentation on the List Controls member elements folder and pfolder. I see them everywhere in the examples but noplace can I find the explanation of the difference, where would I use folder vs. pfolder and why? -- View this message in context:

[flexcoders] MySql timestamp column type and Flex DateField

2008-12-28 Thread Mike Oliver
How do I tie a DateField control to a Value Object with a Timestamp column in the database. I am getting java.lang.IllegalArgumentException: Timestamp format must be -mm-dd hh:mm:ss.f at java.sql.Timestamp.valueOf(Unknown Source) at

Re: [flexcoders] MySql timestamp column type and Flex DateField

2008-12-29 Thread Mike Oliver
hope this helps someone else. Mike Oliver wrote: How do I tie a DateField control to a Value Object with a Timestamp column in the database. -- View this message in context: http://www.nabble.com/MySql-timestamp-column-type-and-Flex-DateField-tp21196170p21209213.html Sent from

[flexcoders] itemRenderer ComboBox

2009-01-01 Thread Mike Oliver
I want to use a ComboBox as an itemRenderer and itemEditor. here is the mx:DataGridColumn headerText=Route dataField=med_route_oidCol editable=true editorDataField=text rendererIsEditor=true mx:itemRenderer mx:Component mx:ComboBox

Re: [flexcoders] itemRenderer ComboBox

2009-01-01 Thread Mike Oliver
it looks to me like it is better to use a label function to render the display value and leave the combo box for itemEditor. That still leaves the question on how the ComboBox will display the Option Label when in edit mode. -- View this message in context:

Re: [flexcoders] itemRenderer ComboBox

2009-01-01 Thread Mike Oliver
Thanks, so this script would go within the mx:ComboBox... /mx:ComboBox Right? Manish Jethani wrote: On Fri, Jan 2, 2009 at 3:59 AM, Mike Oliver moli...@corenttech.com wrote: it looks to me like it is better to use a label function to render the display value and leave the combo box

[flexcoders] Where did my CurrentTarget go?

2009-01-01 Thread Mike Oliver
I have a ComboBox as a ItemEditor and a listener dataGrid.addEventListener(DataGridEvent.ITEM_EDIT_END, editCellEnd); I was using e.currentTarget.itemEditorInstance.selectedItem.value to get at a value in the selectedItem now I am still getting that event, but no currentTarget element?

Re: [flexcoders] itemRenderer ComboBox

2009-01-02 Thread Mike Oliver
Ok, so the itemEditor = ComboBox with the above Override and here it is as it stands and works (up to a point). mx:DataGridColumn headerText=Reason Stopped dataField=reason_med_stopped_oidCol editorDataField=selectedItem mx:itemEditor mx:Component

Re: [flexcoders] itemRenderer ComboBox

2009-01-02 Thread Mike Oliver
Perhaps its because it is an itemEditor, but just tried it and value in the editorDataField saves the label string to the Grid, not the 'data' element. Ollie Manish Jethani wrote: On Sat, Jan 3, 2009 at 12:16 AM, Mike Oliver moli...@corenttech.com wrote: [snip] and that saves

Re: [flexcoders] itemRenderer ComboBox

2009-01-03 Thread Mike Oliver
Yes that's what it takes, thanks! I used an itemRenderer to set the display to the label from the lookup source for the data that was stored. Manish Jethani wrote: Here's what I suggest: /* in your item editor */ public function get myCustomProperty():Object { var

RE: [flexcoders] Where did my CurrentTarget go?

2009-01-03 Thread Mike Oliver
? Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Mike Oliver Sent: Thursday, January 01, 2009 8:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Where did my CurrentTarget go? I have a ComboBox

[flexcoders] Server Side Cache and AMF

2009-01-11 Thread Mike Oliver
What are the pros and cons to using a serverside cache or proxy cache with Flex and AMF? I can see a cache on a web service that is primarily a lookup service, but don't see much if any benefit to a cache related to transactions, and for lookup, except for really large data sets I think a client

[flexcoders] DateField JDBC

2009-01-21 Thread Mike Oliver
It seems odd or even cumbersome to tie the DateField control through to a Date column in a JDBC database using the text property of the DateField. The format out of the DateField doesn't match the format for a JDBC date so you must reformat the 01/21/2009 to 2009-01-21. That's not so tough, but

RE: [flexcoders] Server Side Cache and AMF

2009-02-04 Thread Mike Oliver
duplicate requests as the user navigates forward and back through pages, so caching along the network path is essential to protect your servers from inadvertent DoS attacks :) Best, Seth From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Mike Oliver Sent: Sunday

[flexcoders] Tradeoffs

2009-04-18 Thread Mike Oliver
What are the tradeoffs between creating a flex project with the J2EE type vs None type? The J2EE type is about 10% larger from what I can tell, but the None type seems to work just fine in the browser. If we start with None type, and then add ActionScript calls to the Remote interface it seems

[flexcoders] FlowBox Nesting

2009-05-12 Thread Mike Oliver
I am trying to create a screen with a grid and a toolbar on top of it. The problem is that the toolbar can have more user selectable controls in it than will fit on small screens. So I wanted to use the FlowBox and that works great but only if I allow for the space between the Flowbox and the

RE: [flexcoders] FlowBox Nesting

2009-05-12 Thread Mike Oliver
container will show scrollbars Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Mike Oliver Sent: Tuesday, May 12, 2009 12:55 PM To: flexcoders@yahoogroups.com Subject

RE: [flexcoders] FlowBox Nesting

2009-05-12 Thread Mike Oliver
, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Mike Oliver Sent: Tuesday, May 12, 2009 8:13 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] FlowBox Nesting I said that I tried a VBox

Re: [flexcoders] FlowBox Nesting

2009-05-13 Thread Mike Oliver
your problem. Doug On Tue, May 12, 2009 at 5:56 PM, Mike Oliver moli...@corenttech.com wrote: Yes its the flow box see attached. http://www.nabble.com/file/p23513630/ToolbarDemo.swf ToolbarDemo.swf It looks like the flow box calculates its height based on all components wrapping

[flexcoders] Flex Library and and MXML component

2009-06-27 Thread Mike Oliver
I have an MXML Component Canvas that I want to put into a Flex Library SWC. I created a Flex Library Project with /src and /bin I added the /images folder with the image in it that the Component Canvas uses to /src. I added the mxml source file for the Component to the /src The /bin gets the

Re: [flexcoders] Flex Library and and MXML component

2009-06-27 Thread Mike Oliver
Right, I hadn't added the class that was the MXML Component, so that was it. Ollie Aaron Hardy wrote: Right-click project -- Properties -- Flex Library Build Path -- Select All -- OK. Make sure it rebuilds and you should be good to go. Aaron Mike Oliver wrote: I have an MXML

[flexcoders] Swing Layout Manager Equivalent in Flex 3

2009-07-23 Thread Mike Oliver
I have built many GUIs with Swing and two of the Swing Layout Manager Options I found most useful were Flow and Border. I have a design goal where I am creating a component that has a Data Grid under a set of control icons. If the browser window shrinks to the point the control icons can no