RE: [flexcoders] How to manage 2 applications with different output folders in one project?

2007-04-16 Thread Stembert Olivier (BIL)
In FB, I think it's not possible. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sergey Kovalyov Sent: Monday, April 16, 2007 10:25 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to manage 2 applications with different output

RE: [flexcoders] User authentication

2007-04-05 Thread Stembert Olivier (BIL)
You can secure your destination and send the credentials to your remote objects (j2ee security model). From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of André Rodrigues Pena Sent: Thursday, April 05, 2007 3:14 PM To: flexcoders@yahoogroups.

RE: [flexcoders] Role based UI

2007-04-05 Thread Stembert Olivier \(BIL\)
On Thursday 05 Apr 2007, Stembert Olivier (BIL) wrote: > What I don't like is the fact that the method is intrusive. Do you > know a more elegant way to achieve that? What we do is use visible/includeInLayout, bound to the role name in the model to hide/show GUI elements, or wh

[flexcoders] Role based UI

2007-04-05 Thread Stembert Olivier (BIL)
Hi, I'd like to design a flex app based on the user role. The user role would be obtained from passing back via an RPC call to a remote object and would be available on the Model. I'd like to design my screens depending on the role. As an example, a button would be enabled/disabled depending on

RE: [flexcoders] Re: Module Interface Problems

2007-04-05 Thread Stembert Olivier \(BIL\)
Mike, I experienced exactly the same problem. I think it's a bug. Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Ritchie Sent: Wednesday, April 04, 2007 9:40 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: M

RE: [flexcoders] Filtering/Sorting data from Flex Data Services

2007-04-05 Thread Stembert Olivier (BIL)
It's not possible to sort and filter the whole dataset on the client. You have to sort and filter it on the server side first. Rgds, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of VVV Sent: Wednesday, April 04, 2007 11:42 PM To

RE: [flexcoders] Compilation, library-path and configuration file

2007-03-16 Thread Stembert Olivier \(BIL\)
Any ideas??? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stembert Olivier (BIL) Sent: Wednesday, March 14, 2007 11:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Compilation, library-path and configuration file Hi

RE: [flexcoders] Cairngorm FrontController

2007-03-15 Thread Stembert Olivier (BIL)
I think when Shannon is talking about components he's talking about modules in fact. In that case, each module has its own controller. In that scenario, if you dispatch an event and that event (same event type) is registered in two different modules, the two commands in different modules will be f

RE: [flexcoders] Cairngorm: When / why override clone in Events

2007-03-15 Thread Stembert Olivier (BIL)
Sean, You can read in the Flex doc: There are two utility methods in the Event class. The clone() method allows you to create copies of an event object. The toString() method allows you to generate a string representation of the properties of an event object along with their values. Both of these

[flexcoders] Compilation, library-path and configuration file

2007-03-14 Thread Stembert Olivier \(BIL\)
Hi flexcoders, I try to compile my project with a configuration file which contains the following library-path tag: C:\LOCALAPP\workspace\Merlin\bin\Merlin.swc Other compilation options in the config file are taken into account during compilation but the library-path tag is not. Only

[flexcoders] Cairngorm, front controller and modulat apps

2007-02-15 Thread Stembert Olivier (BIL)
Hi all, I am in the process of integrating Cairngorm in a modular application. The modular app is composed of one shell and several modules. I would like that one module can send a message to another module via the shell. How to do that? 1. In each module, I define a front controller which will

RE: [flexcoders] duplicate function definition

2007-02-12 Thread Stembert Olivier \(BIL\)
Hi Mayur, When you define a member variable, a setter method is internally created. You have to rename your variable vbox and define it as private. private var _vbox:VBox; public function set vbox(val:VBox):void { _vbox = val; } Rgds, Olivier From:

RE: [flexcoders] Re: FlexAntTasks and tokens

2007-02-12 Thread Stembert Olivier \(BIL\)
hs within the build.xml file, though. Hope that's what you were looking for, Chris --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Stembert Olivier \(BIL\)" <[EMAIL PROTECTED]> wrote: > > Hi, > > I'd like to use tokens with

[flexcoders] FlexAntTasks and tokens

2007-02-12 Thread Stembert Olivier \(BIL\)
Hi, I'd like to use tokens with FlexAntTasks. I don't see how I can pass the token to the mxmlc tag. To know what is a token, one can red in the doc: "You can pass custom token values to the compiler using the following syntax: +token_name=value In the configuration file, you reference that value

RE: [flexcoders] Re: Project structure

2007-02-05 Thread Stembert Olivier (BIL)
You organize your applications in a package hierarchy. What I'd like is to organize them in a folder hierarchy like in the samples webapp. Rgds, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sgrosven2 Sent: Monday, February 05

[flexcoders] Flex books

2007-02-04 Thread Stembert Olivier (BIL)
Hi flexcoders, Is it worth buying these books??? Programming Flex2 ActionScript 3.0 Cookbook Did you read and recomment them? Rgds, Olivier - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and

RE: [flexcoders] Project structure

2007-02-04 Thread Stembert Olivier \(BIL\)
... On 2/2/07, Stembert Olivier (BIL) <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: In other words, why do we have to put mxml applications in the main flex folder? I don't understand why such a limitation? Rgds

RE: [flexcoders] Integerating Flex and Java using

2007-02-04 Thread Stembert Olivier (BIL)
Hi, Did you compile your app with the -services compiler option to specify where is your services configuration file??? Rgds, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mukesh Sent: Friday, February 02, 2007 9:00 PM To: f

RE: [flexcoders] AS variables at the top level of a package

2007-02-02 Thread Stembert Olivier (BIL)
erton Sent: Friday, February 02, 2007 12:11 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] AS variables at the top level of a package On Friday 02 Feb 2007, Stembert Olivier (BIL) wrote: > Sorry but it's 7AM here in Luxembourg and I don't see... Okay, try it this way: > >

RE: [flexcoders] Project structure

2007-02-01 Thread Stembert Olivier (BIL)
In other words, why do we have to put mxml applications in the main flex folder? I don't understand why such a limitation? Rgds, Olivier :) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stembert Olivier (BIL) Sent: Thursday, Feb

RE: [flexcoders] AS variables at the top level of a package

2007-02-01 Thread Stembert Olivier (BIL)
riables at the top level of a package On Thursday 01 Feb 2007, Stembert Olivier (BIL) wrote: > package > { > class Test > { > } > } > > var var1 : String; > > public function dummy():void{} .. > I don't understand why I got the compilation err

RE: [flexcoders] AS variables at the top level of a package

2007-01-31 Thread Stembert Olivier \(BIL\)
hy I got the compilation error since I have only one declaration with the public attribute. I know it's not very funny... Rgds, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stembert Olivier (BIL) Sent: Thursday, Febru

[flexcoders] AS variables at the top level of a package

2007-01-31 Thread Stembert Olivier \(BIL\)
Hi again, In the AS3.0 pdf page39, one can read: "Many developers, especially those with Java programming backgrounds, may choose to place only classes at the top level of a package. ActionScript 3.0, however, supports not only classes at the top level of a package, but also variables, functions,

[flexcoders] Project structure

2007-01-31 Thread Stembert Olivier (BIL)
Hi flexcoders, I'd like to put many mxml applications in only one eclipse project. The problem is that I can only put my applications in the main flex folder. I don't like it because I want to structure my project and put my applications in subfolders. Is there a workaround using Flex Builder? I k

RE: [flexcoders] deploying a simple Flex app to WebSphere AppServer?

2007-01-29 Thread Stembert Olivier (BIL)
Check this http://weblogs.macromedia.com/pmartin/archives/2006/11/deploying_flex.cf m#more Rgds, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of djbrown_rotonews Sent: Thursday, January 25, 2007 4:48 PM To: flexcoders@yahoogroup

[flexcoders] Flash simple question

2007-01-27 Thread Stembert Olivier \(BIL\)
Hi all, When a swf file is downloaded to my computer, where is it stored? I mean where on the file system? Thanks Olivier - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. --

[flexcoders] Organize imports

2007-01-26 Thread Stembert Olivier (BIL)
Ho all, Do you know how to organize imports in FlexBuilder? Rgds, Olivier - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -

RE: [flexcoders] Globally Define Custom validation Messages

2007-01-22 Thread Stembert Olivier (BIL)
Hi, I don't like compiling againt the locale. Check this alternative: http://weblogs.macromedia.com/arayne/archives/2006/08/internationalis.cf m#mo Regards, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Eismann Sent:

RE: [flexcoders] Remote list (data provider)

2007-01-21 Thread Stembert Olivier \(BIL\)
Hi, Thanks for sharing your code. Just want to say the paging mechanism is supported in Flex Data Management Service only (not in RPC services). Regards, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of roman_dolgov Sent: Sun

RE: [flexcoders] FDS createItem - how to find ID of inserted record?

2007-01-21 Thread Stembert Olivier (BIL)
Hi, You should set the id in your dao class. Here is an example with a dao using Spring: public void create(Dept dept) throws DataAccessException { String sql = ... NamedParameterJdbcTemplate template = new NamedParameterJdbcTemplate(this.getDataSource()); MapSqlParameterSource namedParameters =

RE: [flexcoders] Difference Between FDS and Flex SDK

2007-01-21 Thread Stembert Olivier (BIL)
Hi Sanjay, You will find a lot of answers by searching a little bit in this forum. And, by the way, here is the link to the doc: http://www.adobe.com/support/documentation/en/flex/ Regards, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

RE: [flexcoders] Precompiling with active web-tier compiler

2007-01-17 Thread Stembert Olivier (BIL)
Hi Hara, Specify the location of the services-config.xml file by using the "services" compiler argument. Regards, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of haravallabhan Sent: Wednesday, January 17, 2007 2:58 PM To: flex

RE: [flexcoders] [Flexunit] - How to test throwing errors?

2007-01-17 Thread Stembert Olivier (BIL)
Hi Christophe, It seems logic the fail() statement is not executed since it follows the new Account() statement which throws the exception. I'm not sure I understand what you mean... Regards, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

[flexcoders] Arp framework

2007-01-17 Thread Stembert Olivier \(BIL\)
Hi, I found the Arp framework (http://osflash.org/arp) on the net. Does anyone use it? It seems very similar to Cairngorm. Regards, Olivier - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and

RE: [flexcoders] Interface class for states?

2007-01-15 Thread Stembert Olivier \(BIL\)
Hans, This is a sort of workaround... In the super class: 1) declare and define the states private function init(arr:Array) : void { var newState : State; var i:int; for(i=0; imailto:[EMAIL PROTECTED] On Behalf Of Van De Velde Hans Sent: Monday, January 15, 2007 5:11 PM To: 'flex

RE: [flexcoders] Re: How to have datagrids with different filterfunction for a single dataprovide

2007-01-15 Thread Stembert Olivier \(BIL\)
I think Daniel wants to filter the rows. I don't see any solution except to duplicate the original one... Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of phipzkillah Sent: Monday, January 15, 2007 10:56 AM To: flexcoders@yahoogrou

RE: [flexcoders] Problem with viewstack in Flex 2.0 ActionScript not search element by id.

2007-01-14 Thread Stembert Olivier (BIL)
Jan, By default, the View Stack control's children are not created until they are selected. Change the creationPolicy attribute of the View Stack to "all". Regards, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of j_hora Sent:

RE: [flexcoders] Cairngorm / MVC Best Practice

2007-01-12 Thread Stembert Olivier (BIL)
e On Friday 05 January 2007 16:07, Stembert Olivier (BIL) wrote: > the view and the command are better decoupled with the ViewHelper > pattern, no? ViewHelper isn't recommended anymore, is it ? -- Tom Chiverton Helping to competently compete

RE: [flexcoders] Client logging

2007-01-11 Thread Stembert Olivier (BIL)
-Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stembert Olivier (BIL) Sent: woensdag 10 januari 2007 9:39 To: flexcoders@yahoogroups.com Subject: [flexcoders] Client logging Hi all,

RE: [flexcoders] Re: Paging with DataGrid??

2007-01-11 Thread Stembert Olivier \(BIL\)
ately? Thanks, Sanjay --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Stembert Olivier \(BIL\)" <[EMAIL PROTECTED]> wrote: > > Sanjay, > > If you are using Data Management Services, you can specify t

RE: [flexcoders] Paging with DataGrid??

2007-01-11 Thread Stembert Olivier \(BIL\)
Sanjay, If you are using Data Management Services, you can specify the paging option on the network node. ... ... 20 ___

[flexcoders] Client logging

2007-01-10 Thread Stembert Olivier \(BIL\)
Hi all, Am I right if I say there's no way to log on the client (trace() output method) without the debugger version of the Flash Player? Thanks - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing an

RE: [flexcoders] DataGrid row

2007-01-10 Thread Stembert Olivier (BIL)
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stembert Olivier (BIL) Sent: Tuesday, January 09, 2007 4:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid row Hi, How can I get a pointer to a row in a DataGrid? i.e

RE: [flexcoders] Event calling in Cairngorm 2.1 - Newbie question.

2007-01-10 Thread Stembert Olivier \(BIL\)
What's the description of the error? Are you sure the controller has been instantiated? Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Sent: Wednesday, January 10, 2007 12:21 AM To: flexcoders@yahoogroups.com Subject: [flex

[flexcoders] DataGrid row

2007-01-09 Thread Stembert Olivier (BIL)
Hi, How can I get a pointer to a row in a DataGrid? i.e. myDataGrid.getRow(index).setSomething() I know the DataGridColumn but there's nothing like a DataGridRow Thanks - An electronic message is not binding on its sender. Any message referring to a binding engagement must be

RE: [flexcoders] Cairngorm / MVC Best Practice

2007-01-05 Thread Stembert Olivier (BIL)
the view and the command are better decoupled with the ViewHelper pattern, no? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Friday, January 05, 2007 4:42 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Cairngorm