[flexcoders] VO problem

2005-05-27 Thread Christoph Guse
Hi List, I have some problems with my ValueObjects. First I give you my system configuration: SuSE Linux 9.2 Tomcat 5.5.7 Flex 1.5 Eclipse 3 Java 1.5 In my application I have Java Value Objects on the server side and I mapped them to my ActionScript 2.0 with Object.registerClass(). My problem

[flexcoders] Re: I need assistance with datdgrid row height.

2005-05-27 Thread ryan99899
yes, the problem is that I am using a textArea in the cell renderer and I can't set the height of the textArea to something like a variableRowHeight. I just created to columns, which I was trying to avoid but no big deal, and got rid of the cell renderer. thanks though. --- In

[flexcoders] unable to invoke right clicking in apllication

2005-05-27 Thread adit sathish
I want to implement context menu for different components in my application. The right click need to be implemented in Tree, DataGrid and TileList. My context menu is the same as given in Chapter 10 of Developing Rich Clients with Macromedia Flex, Components: Designing for Resuability. I want

RE: [flexcoders] right mouse click in flex

2005-05-27 Thread Abdul Qabiz
Hi, ContextMenu only works with top-level objects in Flex application. ContextMenu wouldn't work with any nested object/component, I believe that is why it is not working with Tree in your case. Macromedia Flash Player team is looking into this issue and we hope it gets resolved in future

RE: [flexcoders] CFlogin, SetCredentials and the RemoteObject

2005-05-27 Thread Peter Farland
What version of CF are you using Dave? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dave buhlerSent: Friday, May 27, 2005 10:36 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] CFlogin, SetCredentials and the RemoteObject Thanks! On 5/27/05, Indy

RE: [flexcoders] Converting Java POJO to Actionscript Errors

2005-05-27 Thread suzy lawson
Hari- THanks for your response. I tried that but I got a compilation error that there is no method with the name MyPojo. I suppose that means I have to manually write the underlying ActionScript class for my Java POJO? That just seems like a really bad implementation design b/c if MyPojo Java

RE: [flexcoders] Converting Java POJO to Actionscript Errors

2005-05-27 Thread Doodi, Hari - BLS CTR
Hi, First couple of questions - did you register your POJO with AS class using Object.registerClass( ) method? What is the constructor method of you Pojo ? After both of above are in place(implemented) then you can create new object of your POJO type and assign your newly returned

RE: [flexcoders] Converting Java POJO to Actionscript Errors

2005-05-27 Thread suzy lawson
Hari, Thanks...I'll give this a shot. So my question is, why do I have to write a matching AS class to match my POJO? When I populate my Datagrid from the remote object (arraylist of POJOs), I din't have to write any AS classes. --- Doodi, Hari - BLS CTR [EMAIL PROTECTED] wrote: Hi,

[flexcoders] The Softer Side of On Demand: A Peek at Software and Workflow News

2005-05-27 Thread Tarik Ahmed
http://members.whattheythink.com/home/od05sherburne7.cfm "...Exstream was showing its brand-new Dialogue Version 5, which, according to Vice President of Marketing Kelley Sloane, has over 250 enhancements. With this release, Exstream teamed up with Macromedia to use its Flex Server to

[flexcoders] Data Binding and Server Objects

2005-05-27 Thread Sean McKibben
If I'm getting objects from a web service and want to use them in data binding, do I have to re-create them in ActionScript in order for their various properties and sub-objects to be bindable? Ideally, I'd like to just use what the server gives me and not rewrite the objects in AS. i.e.:

RE: [flexcoders] Tree change event

2005-05-27 Thread Tracy Spratt
I see it now. That may be a bug. Report it at http://www.macromedia.com/go/wish Maybe someone else will have some suggestions. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mika Kiljunen Sent: Friday, May 27, 2005 3:30 AM To:

RE: [flexcoders] Converting Java POJO to Actionscript Errors

2005-05-27 Thread Peter Farland
(Hi suzy, firstly, I'm a little confused as to how Kevin Ewok's response turned into your message - are you saying you're having the same issue as Kevin? Let me first comment on Kevin's issue which will provide good background for yours...). On looking again at the warning Keven is getting from

[flexcoders] Color Picker - IE CSS Explorer

2005-05-27 Thread nextadvantage
Anyone have any sample code to make a color picker like the one used in the flex css explorer. I don't want to re-invent the wheel if necessary. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send

RE: [flexcoders] Color Picker - IE CSS Explorer

2005-05-27 Thread Alistair McLeod
Look in C:\Program Files\Macromedia\Flex\extras\colorpicker (or equivalent) Ali -- Alistair McLeod Development Director iteration::two [EMAIL PROTECTED] Office: +44 (0)131 338 6108 This e-mail and any associated attachments transmitted with it may contain confidential information and must

[flexcoders] Resizing SWFs in mx:Loader

2005-05-27 Thread Tim Blair
Hello, I'm having trouble when loading SWFs in to a Flex app using mx:Loader. Basically, the SWF isn't being resized to the Loader, no matter what I do. Simple test case: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Panel width=415

[flexcoders] Re: Converting Java POJO to Actionscript Errors

2005-05-27 Thread Kevin Ewok
Pete- Thanksto answer your confusion...Suzy and Kevin are the same person, when I registered, the wrong username got auto-populated when I joined flexcoders and there's no profile for me to fix it. Getting back to your response (thanks by the way), I've tried assigning the returned remote

RE: [flexcoders] Resizing SWFs in mx:Loader

2005-05-27 Thread Tracy Spratt
Try this link instead: http://www.flexdaddy.info/2005/02/21/sizing-apps-within-the-loader-contr ol/ Note: MM recommends against using _parent and advises using mx.core.Application.application instead. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] Re: Converting Java POJO to Actionscript Errors

2005-05-27 Thread Peter Farland
I've tried assigning the returned remote object to a general AS object (see example below)...that does not workthat's what causing these errors. [Pete] The hack I meant was something like this (I've not tested this, just something I guessed might work): static var reg:Boolean =

[flexcoders] Re: Converting Java POJO to Actionscript Errors

2005-05-27 Thread Kevin Ewok
OK...i've gotten a lot further. I found an Ant script to create my AS classes from my POJOs (maintaining inheritance). I registered the classes and it compiles fine. THe problem is still there but it looks like the POJO being returned from myRemoteObject is not being converted to it's AS

Re: [flexcoders] mousedown scope

2005-05-27 Thread Tom Fitzpatrick
Thanks Manish. I sidestepped the issue by limiting the top-level mousedown so it doesn't conflict with the subcomponent mousedown. That solved my immediate problem. So - I didn't have a change to try setting event.bubbles to false. - Tom At 10:02 AM 5/27/2005, you wrote: On 5/27/05, Tom

[flexcoders] HaloTheme.fla

2005-05-27 Thread Dennis Baldwin
I'm working on doing some skinning and don't have access to HaloTheme.fla in my Flex 1.5 install. Can someone post a link if they have this file handy? Thanks in advance for any help you can give. Best Regards, Dennis Yahoo! Groups Links * To visit your group on the web, go to:

Re: [flexcoders] The Softer Side of On Demand: A Peek at Software and Workflow News

2005-05-27 Thread John Dowdell
Tarik Ahmed wrote: http://members.whattheythink.com/home/od05sherburne7.cfm ...Exstream was showing its brand-new Dialogue Version 5, which, according to Vice President of Marketing Kelley Sloane, has over 250 enhancements. With this release, Exstream teamed up with Macromedia to use

Re: [flexcoders] CFlogin, SetCredentials and the RemoteObject

2005-05-27 Thread dave buhler
Hi Peter, MX 7 installed on JRun4 DaveOn 5/27/05, Peter Farland [EMAIL PROTECTED] wrote: What version of CF are you using Dave? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of dave buhlerSent: Friday, May 27, 2005 10:36 AMTo:

RE: [flexcoders] Re: Converting Java POJO to Actionscript Errors

2005-05-27 Thread Peter Farland
Is myValue on oNewItem a complex type or is it expected to return a simple value? Does the constructor of com.MyPojo take any arguments? If so, does it look something like this? public class com.MyPojo { public var myValue:String; public function MyPojo(mval:String,

RE: [flexcoders] CFlogin, SetCredentials and the RemoteObject

2005-05-27 Thread Peter Farland
Ok. I believe you can register named objects for CFCs in CFMX 7's copy of gateway-config.xml asit shares essentially the same code as Flex 1.5's gateway- (though note this would be a Flex concept being introduced into a CF/Flash Remoting world)let me know if you are having any

Re: [flexcoders] Re: Converting Java POJO to Actionscript Errors

2005-05-27 Thread Joe Berkovitz
Kevin, here's one other thing to try if Peter's advice isn't relevant: Often, an AS class that is mapped from a POJO will not be referenced anywhere in the application code, since it only arrives in the application as a result of being deserialized. What happens in this case is that the MXMLC

Re: [flexcoders] Resizing SWFs in mx:Loader

2005-05-27 Thread dave buhler
Hi Tim, You're using an image component, and not a loader component. Once you change to a loader component, you can do the following: I get the size of the SWF being loaded into the loader component and then resize the loader component to the size of the contents. By doing so, I can control

[flexcoders] Flash Remoting bug in Map handling

2005-05-27 Thread Alon J Salant
Hey all, This is both an FYI and a query to see if anyone has a solution to this issue. There seems to be a bug in Flash Remoting in the handling of java.util.Map keys. Setup: Flex 1.5 Remoting configured with serializationFlex/serialization lowercase-keysfalse/lowercase-keys The

Re: [flexcoders] CFlogin, SetCredentials and the RemoteObject

2005-05-27 Thread dave buhler
Hi Peter, I'm assuming the CFC is the object? What are the benefits of registering the named objects in the gateway-config file? Is there an informal list of best-practices for security when working with remoting? I would understand if MM couldn't comment on suggesting best practices for

[flexcoders] Virtual Mapped directory not rendering MXML files

2005-05-27 Thread Ikezi Kamanu
Hello there, Got a small issue; I'm running flex 1.5 with integrated JRun, and have created a virtual mapping to my mxml files I did this by adding a virtual-mapping tag to my jrun_root/server_name/WEB-INF/jrun-web.xml file so: http://localhost:8700/foo points to c:\path_to\my_mxml\

[flexcoders] Re: Custom ComboBoxCellRenderer Issue

2005-05-27 Thread alex_harui
You're not missing anything. There's a super-secret mouseDown handler in the datagrid that is messing you up. Lots of folks have tried various ways to workaround it and I think they've succeeded. Last time we tried it, we subclassed the DataGrid and overrode its onMouseDown method to see if

[flexcoders] Re: Tree change event

2005-05-27 Thread alex_harui
Yeah, looks like a bug. Don't see any obvious workarounds either. One questions: Do you even want to allow de-selecting a row? It might be possible to block that by overriding the onPress handlers in the SelectableRows in the Tree. Yahoo! Groups Links * To visit your group on the web,

[flexcoders] Re: Panel Mouse Down Problem

2005-05-27 Thread alex_harui
There are some idiosyncracies when objects appear and disappear under the mouse. In general, by listening to all mouse events (down, up, over, out) you can see a pattern that you can look for (you may see an over instead of a down for example). In other situations, this can be remedied by not