[flexcoders] Mapping Java Generics to an AS3 Vector through BlazeDS remoting?

2010-02-21 Thread Jochem van Dieten
ISTM the natural match between Java Generics and ActionScript is the Vector since it allows one to declare a type for the collection members. And apparently there are some performance gains to be had when using a Vector instead of an Array:

Re: [flexcoders] SQL Question

2010-02-21 Thread Jochem van Dieten
On Sun, Feb 21, 2010 at 12:04 AM, Wally Kolcz wrote: I have a record where 'ageGroups' is '0, 1, 2, 3, 4, 5, 6, 7, 8' and the 'accountType' is 'kids, siblings, parents' As other have said, your schema is all wrong. But for this simple scenario it is doable to fix it with string manipulation:

[flexcoders] Using HTTP Basic Authentication with BlazeDS Remoting

2010-02-21 Thread Jochem van Dieten
Is it possible to use HTTP Basic Authentication in combination with BlazeDS Remoting? The scenario is that I have BlazeDS running on a container that is behind an IIS server that forwards all requests intended for BlazeDS. To make the security people happy we want to enable ACLs on the IIS server

Re: [flexcoders] How to get a value

2010-02-21 Thread Wally Kolcz
Here is a small sample of my code. The Page Class is created in a module called Journal. The function to update the text of the TextArea is in the Journal so I dont think 'this' will work. ... public function updateText(e:FocusEvent):void { var uj:JournalEvent = new

Re: [flexcoders] Mapping Java Generics to an AS3 Vector through BlazeDS remoting?

2010-02-21 Thread Roman Protsiuk
You won't be able to get generic element type information during runtime so what's the point? The only likely approach I guess is generic serializer/deserializer. And still I'm not sure whether vector element type information is serialized/deserialized with vector or is it just a compile time

[flexcoders] Re: A framework to help with busines apps?

2010-02-21 Thread Jukka
Hi Nick, you might want to start by looking at http://opensource.adobe.com/wiki/display/flexsdk/Coding+Conventions. These are the conventions that Adobe recommends, although I don't really agree with all of them. When you have finished reading, I suggest taking a trip to the livedocs

Re: [flexcoders] how to implement bread crumbs in flex application

2010-02-21 Thread talluri venkat
Hi Satish, Do you have for flex breadcrumb. Please send me the code. If any one have flex breadcrumb working application. please let me know. Regards,Venkat --- On Mon, 16/11/09, Satish Chowdary chinnu_...@yahoo.co.in wrote: From: Satish Chowdary chinnu_...@yahoo.co.in Subject: [flexcoders] how

Re: [flexcoders] Mapping Java Generics to an AS3 Vector through BlazeDS remoting?

2010-02-21 Thread Jochem van Dieten
On Sun, Feb 21, 2010 at 2:41 PM, Roman Protsiuk wrote: You won't be able to get generic element type information during runtime so what's the point? That is why Remoting can't distinguish between receiving a generified collection and a regular collection from the Java backend and has to fall

[flexcoders] Compile Error Under 3.5a but not 3.4

2010-02-21 Thread mcaplan_labnet
Hi There, I'm unsure what is going on, but I can't compile my project under 3.5. Works fine under 3.4. I get the following errors in 3.5: Encountered errors or warnings while building project Alloys.mxml. Alloys.mxml: Invalid component name 'modules.Alloys': component name must be legal

Re: [flexcoders] A framework to help with busines apps?

2010-02-21 Thread David Adams
On Fri, Feb 12, 2010 at 5:23 AM, Nick Middleweek n...@middleweek.co.ukwrote: My background is 4D DB (www.4d.com) and there are great ways to work and certain events are good for loading data, related data in sub screens. I'm not trying to replacte 4D within Flex because architectural it's

[flexcoders] Strategies for switching between testing and deployment addresses

2010-02-21 Thread David Adams
I've been writing some small programs that use HTTPService calls to fetch data from a back-end. During testing, I'm using 127.0.0.1 or an IP address on my subnet. When I deploy, I update the IP address in service definitions to the right external address and build the app. Or at least I mean to.

[flexcoders] Generating panels dynamically? How?

2010-02-21 Thread flexnewbie999
I have a ArrayCollection of objects that contain an image and other fields. I need to dynamically created a panel for each image in succession as the collection is iterated over (at least that's the idea I've come up with). I can hard code each individual image via mxml into a panel but that

[flexcoders] Re: Compile Error Under 3.5a but not 3.4

2010-02-21 Thread mitek17
Seems like Adobe screwed up namespaces in 3.5 Here is the bug I filed in regards to DesignView not understanding mx namespace for components. https://bugs.adobe.com/jira/browse/FB-25994 I wonder if *anyone* uses 3.5 SDK. I did 3 attempts to migrate from 3.4 and they all failed. PS Probably

Re: [flexcoders] Capturing a browser-refresh event...

2010-02-21 Thread Peeyush Tuli
window.onbeforeunload = function() { return It is not recommended to use the browser close/refresh/close buttons unless you have saved your data and logged out; } Add the above code to a javascript section on the html wrapper which loads your application. This will raise a

[flexcoders] Re: Capturing a browser-refresh event...

2010-02-21 Thread Laurence
That works perfectly. They can't hit refresh/back/close without triggering that pop-up window. Exactly what I needed. Thanks, L. --- In flexcoders@yahoogroups.com, Peeyush Tuli peeyus...@... wrote: window.onbeforeunload = function() { return It is not recommended to use the