[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 long

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. > &

[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] FlowBox Nesting

2009-05-13 Thread Mike Oliver
ht calculation. > > So I'd advise trying to use FlowContainer instead of FlowBox, I bet it > will > solve your problem. > > Doug > > On Tue, May 12, 2009 at 5:56 PM, Mike Oliver > wrote: > >> >> >> >> Yes its the flow box see attached. &

RE: [flexcoders] FlowBox Nesting

2009-05-12 Thread Mike Oliver
icalGap. > > > > 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 8:13 PM > To

RE: [flexcoders] FlowBox Nesting

2009-05-12 Thread Mike Oliver
hoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of Mike Oliver > Sent: Tuesday, May 12, 2009 12:55 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] FlowBox Nesting > > > > > > > > > > I am trying to create a screen with

[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 gr

[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 t

RE: [flexcoders] Server Side Cache and AMF

2009-02-04 Thread Mike Oliver
flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of Mike Oliver > Sent: Sunday, January 11, 2009 4:26 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Server Side Cache and AMF > > > What are the pros and cons to using a serverside cache or

[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

[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

RE: [flexcoders] Where did my CurrentTarget go?

2009-01-03 Thread Mike Oliver
an by "gone"? > > 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

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] 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 > wrote: > > [snip] >

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).

[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? wha

Re: [flexcoders] itemRenderer ComboBox

2009-01-01 Thread Mike Oliver
Thanks, so this script would go within the Right? Manish Jethani wrote: > > On Fri, Jan 2, 2009 at 3:59 AM, Mike Oliver > wrote: > >> 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.

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: http://www.nabble.com/itemRenderer-

[flexcoders] itemRenderer ComboBox

2009-01-01 Thread Mike Oliver
I want to use a ComboBox as an itemRenderer and itemEditor. here is the

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

2008-12-29 Thread Mike Oliver
{ this.Event_Date = Timestamp.valueOf(Event_Date); } } I 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 mes

[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 com.corent.odicx.goms.dao.OrdersV

[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: http://www.nabble.com/PFolder-vs.-F

[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] 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 fro

[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: http://www.nabble.com/TabBar-ViewStack-tp20211166p

[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 archiv