Re: [flexcoders] Tomcat and jdk version for Flex

2006-07-05 Thread hank williams
Well, its almost that easy.For flex 2 at least, you need to also install the JOTM for tomcat to work.Below is a description of how to do it that is better than the one in the manual. Hank1. un "gzip" the file http://debian-sf.objectweb.org/projects/ jotm 2. go to the lib directory in the result

RE: [flexcoders] Excel, Flex & Database

2006-07-05 Thread Ritesh Jariwala
Tom, can you redirect to me example or any tutorial on it? With Regards, Ritesh Jariwala (Actkid) Freelance Developer www.actkid.com Company: www.synonymic.com -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Wednesday, J

RE: [flexcoders] Tomcat and jdk version for Flex

2006-07-05 Thread Carson Hager
Tomcat 5.5 and Flex 1.5 are a great combination. We use Tomcat on nearly all of our Flex 1.5 apps.  Just copy the flex.war to webapps and Tomcat will automatically deploy the Flex web application.     Carson  Carson HagerCynergy Systems, Inc.htt

RE: [flexcoders] change to mm.cfg setup in FP9?

2006-07-05 Thread Matt Horn
the only thing I can think of is the location of the mm.cfg file. what do you mean by "root of my user folder"? It should be in the directory specified by a combination of the HOMEDRIVE/HOMEPATH environment variables (to see their values, open a command prompt and type "set"). on windows xp, the

RE: [flexcoders] Compiling Flex--thank you!

2006-07-05 Thread Ted Patrick
I have a MacBook Pro and run bootcamp + Flexbuilder. Many devs internally are running Parallels to use Flex Builder and the set-up works great. The entire Flex Builder team got MacBooks for development of the Mac version of Flex Builder. Adobe is very serious about making FlexBuilder gr

RE: [flexcoders] Compiling Flex--thank you!

2006-07-05 Thread Shannon Hicks
Thanks for the link! Turns out my information was 3 days older.   Perhaps I can get that MacBook Pro sooner than I thought? :)   Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ted PatrickSent: Wednesday, July 05, 2006 10:07 AMTo: flexcoders@yahoogroups.comS

Re: [flexcoders] Excel, Flex & Database

2006-07-05 Thread Tom Chiverton
On Wednesday 05 July 2006 15:17, Ritesh Jariwala wrote: > can we integrate flex data services to xls file so if I add record in excel > file and click on save button will reflect changes in database. With Enterprise FDS, you set the xls file as a CF datasource, and FDS will send the updated data

RE: [flexcoders] Compiling Flex--thank you!

2006-07-05 Thread Ted Patrick
Shan,   Not exactly true…   http://weblogs.macromedia.com/flexteam/archives/2006/06/flex_builder_on.cfm   Via the Flex Team Blog…     June 30, 2006 Flex Builder on the Mac There have been many questions over the last few days as to Adobe's intentions for releasing Flex Bu

Re: [flexcoders] Re: listData rowIndex ) [f2 final]

2006-07-05 Thread scox
Unfortunately not an option. Can anyone else confirm this is a bug? Or am I doing something stupid? -Original Message- From: "Tom Chiverton" <[EMAIL PROTECTED]> Sent: Wednesday, July 5, 2006 3:12 pm To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: listData rowIndex ) [f2 fi

RE: [flexcoders] Excel, Flex & Database

2006-07-05 Thread Ritesh Jariwala
Yea darron,   My question was not loading xls file into Flex Client. My question was how can we integrate flex data services to xls file so if I add record in excel file  and click on save button will reflect changes in database.   I know its possible with flex data services..i even s

[flexcoders] Webservice Results Format

2006-07-05 Thread Will Morgan
Hi All,The results from the webservice I'm using look something like this:  12345         It's similar to a master / detail view. I can only bind to either headers or orders. headersDataGrid.dataprovider = "{webservice.getOrder.lastResult.headers }"I was hoping I could use headersD

[flexcoders] Re: Webservice Results Format

2006-07-05 Thread Will Morgan
Sorry, screwed up on the results, but I think you get my point...W.On 7/5/06, Will Morgan <[EMAIL PROTECTED] > wrote:Hi All,The results from the webservice I'm using look something like this:   12345         It's similar to a master / detail view. I can only bind to either headers

[flexcoders] Re: CF Flash Remoting project results in Jrun servlet error

2006-07-05 Thread yaagcur
Bjorn You are spot on. It is not building the directory - at least not in the right place So although I am setting defaults of flex root folder: C:\CFusionMX7\wwwroot flex server url: http://localhost:8500/ It is actually writing the bin folder to the default for the project contents viz. C:\Doc

Re: [flexcoders] Compiling Flex--thank you!

2006-07-05 Thread Tom Chiverton
On Wednesday 05 July 2006 14:28, John wrote: > (3) java -jar {flex}/lib/mxmlc.jar -flexlib > {flexdir}/frameworks/Flex.mxml > > This command line instructions came from: > http://labs.adobe.com/wiki/index.php/Flex_Builder:tutorials:compiling_mxmlc > > ---Error--- > Unable to access jarfile {flex}/l

[flexcoders] Re: A datagrid with a separate scrollbar

2006-07-05 Thread bhaq1972
Firstly, you need to make sure scrollPolicy is swicthed off eg then for example, have a button which changes the scrollposition as follows this is untested --- In flexcoders@yahoogroups.com, "Jeremy Lu" <[EMAIL PROTECTED]> wrote: > > If you could provide some visual mock-ups, I might be abl

Re: [flexcoders] Re: listData rowIndex ) [f2 final]

2006-07-05 Thread Tom Chiverton
On Wednesday 05 July 2006 14:02, [EMAIL PROTECTED] wrote: > problem would arise when multiple rows are selected. How would I know > which itemRenderer was clicked on? Don't allow multiple selects then :-) -- Tom Chiverton This email is sent

[flexcoders] Re: listData rowIndex ) [f2 final]

2006-07-05 Thread bhaq1972
from what your describingyour itemRenderer is an 'edit' button. the itemRenderer is appearing in a datagrid. save the row index during a datagrid.itemFocusIn event eg private var savedIndex:int; private function saveIndex(event:DataGridEvent):void { this.savedIndex = event.rowIndex; } an

[flexcoders] Re: Err - seems simple but.... convert from a String to a ByteArray?

2006-07-05 Thread drome.dario
var str:String = "Hi David Golds"; var bin:ByteArray = new ByteArray(); bin.writeUTFBytes( str ); Hope it helps Regards. --- In flexcoders@yahoogroups.com, "davidgolds" <[EMAIL PROTECTED]> wrote: > > How can I convert from a String to a ByteArray? > > ByteArray to String was

Bug in printing with test case (was Re: [flexcoders] Flex print jobs)

2006-07-05 Thread Tom Chiverton
(resend as appears to have vanished) On Tuesday 04 July 2006 15:47, Tom Chiverton wrote: > Has anyone else had problems using the printJob classes ? If I try and print a dynamicaly instantiated GUI component, the job silently fails. If I create the same component in line in the page, the job work

Re: [flexcoders] Compiling Flex--thank you!

2006-07-05 Thread John
Hi Tom, Thanks so much for your helpl`-` here is a very simple example: ---Flex.mxml--- http://www.adobe.com/2006/mxml";> ---compile--- (1) open termnial (2) cd flex (3) java -jar {flex}/lib/mxmlc.jar -flexlib {flexdir}/frameworks/Flex.mxml This command line instructions came from: htt

RE: [flexcoders] Compiling Flex--thank you!

2006-07-05 Thread Shannon Hicks
Just keep in mind that Adobe has not announced any plans to release a Mac version. They did remark that if they do release a Mac version (and we all assume they will), it won't be until the next major revision of Flex Builder. (Does that mean Flex Builder 3? If so, that's 16+ months away!)

Re: [flexcoders] Re: listData rowIndex ) [f2 final]

2006-07-05 Thread scox
I had hoped to be able to keep the itemRenderer completely seperate to the Datagrid - the rowIndex would have been exactly what I was after. The problem would arise when multiple rows are selected. How would I know which itemRenderer was clicked on? Thanks for your suggestion, I may have to just u

Re: [flexcoders] Excel, Flex & Database

2006-07-05 Thread Darron J. Schall
Yes, it's possible for Flex to load Microsoft Excel data. However, it's not easy. You have to write a custom parser for the .xls file format. You can pull the raw binary data in via URLLoader setting it's dataFormat to DataFormat.BINARY, and then parse the .xls data into something usable for

[flexcoders] Remote Services using Flex2 Data Services final released

2006-07-05 Thread arianrechia
I am trying to setup Remote Services using Flex2 Data Services with integrated JRUN and Flex Builder2. Unfortunately, I am receiving the following error: faultDetail = "Channel.Connect.Failed error NetConnection.Call.Failed the error message: (mx:rpc:Fault)#0 errorID = 0 faultCode = "Client.Er

Re: [flexcoders] Flex 2 - Drag-n-Drop with TabNavigator

2006-07-05 Thread Paul Andrews
- Original Message - From: Wayne McFetridge To: flexcoders@yahoogroups.com Sent: Wednesday, July 05, 2006 1:13 AM Subject: [flexcoders] Flex 2 - Drag-n-Drop with TabNavigator Happy Independence Day to American Based Flex developers.I am trying to drag and d

[flexcoders] Re: Handle result/fault from webservice call in Cairngorm 2

2006-07-05 Thread ben.clinkinbeard
I am also having trouble with Web Services in Cairngorm 2. The execute method of my command is being called, but the WS call is not being made, much less handled correctly. Can someone tell me what I am missing here? >From Services.xml:

[flexcoders] Validators and iconName

2006-07-05 Thread Rajesh C.
1). What is the equivalent for validationError() function in Flex2.0 ? * Can i use ValidatorResult Constructor for this ? 2). What is the equivalent for iconName in Flex2.0 ? * I want to use this to put an icon on a Button Regards, Rajesh C. Yahoo! Groups Sp

[flexcoders] Re: Err - seems simple but.... convert from a String to a ByteArray?

2006-07-05 Thread bhaq1972
try something like this var byteArr:ByteArray = new ByteArray(); byteArr.writeUTF("hello"); trace(byteArr.length); byteArr.position = 0; trace(byteArr.readUTF()); (something i tried in beta2...so who knows) --- In flexcoders@yahoogroups.com, "davidgolds" <[EMAIL PROTECTED]> wrote: > > How can I

RE: [flexcoders] FlexUnit, Web Service

2006-07-05 Thread Brian
I tried adding the asserts in the handler. If the asserts fails, it causes a crash of the application. I tested this by making forcing an assert fail. It seems, since the handler is not part of the test suite, the FlexUnit is crashing (on failure only). Must be looking for the test that is ru

Re: [flexcoders] Cairngorm 2 SequenceCommand question

2006-07-05 Thread Joshua Garnett
There are a couple of ways that you can do it.  1) Have your command extend SequenceCommand and then in the command's constructor call super(nextEvent). or 2) You can dynamically assign the nextEvent by passing it to the command.  This is the way I prefer, since it allows you to build different

[flexcoders] Excel, Flex & Database

2006-07-05 Thread Ritesh Jariwala
Hi All,   I have question regarding application development.   I need to develop little application which can load data from database using flex into Microsoft Excel.   Is it possible that flex can load the excel data or suppose if I made changes in excel sheet and click on save it

Re: [flexcoders] Handle result/fault from webservice call in Cairngorm 2

2006-07-05 Thread Tom Chiverton
On Wednesday 05 July 2006 07:20, Artur Kordowski wrote: > >Why not use a delegate ? > The delegate class is not longer available in the flex framework, so I > can't use it. It was never in the flex framework, it's a Cairngorm convention. -- Tom Chiverton

Re: [flexcoders] Re: Cairngorm2: ViewLocator - ViewHelper

2006-07-05 Thread JesterXL
'Cause, there are those that like them and I'm sure Adobe is being responsive to the community, and ViewLocator's have their valid uses.   - Original Message - From: Bjorn Schultheiss To: flexcoders@yahoogroups.com Sent: Wednesday, July 05, 2006 3:06 AM Subject: Re: [flexcoders] R

Re: [flexcoders] Cairngorm 2 SequenceCommand question

2006-07-05 Thread Joshua Garnett
Hmm... My e-mail got cut off for some reason.For each, of my SequenceCommands I then put the following after the execute statement:            var sequenceEvent:SequenceEvent = SequenceEvent(cairngormEvent);             nextEvent = sequenceEvent.nextEvent;Then of course at the end of the execute

Re: [flexcoders] Re: Cairngorm Responder interface changes

2006-07-05 Thread JesterXL
Tim, as long as you don't go off and use AJAX, we'll all love you no matter what you do. 1. Nope. The common use case is remoting calls, webservices 2nd, httpservices 3rd. Everyeone will get ResultEvents & FaultEvents. Those who don't are using custom stuff, and thus know what they are getti

Re: [flexcoders] Re: listData rowIndex ) [f2 final]

2006-07-05 Thread Tom Chiverton
On Wednesday 05 July 2006 10:06, [EMAIL PROTECTED] wrote: > Thanks for this, unfortunately that's going to be a no-go. Basically I > have an item renderer which is used create an 'edit' button. Upon clicking > that the view will change to give more detail on that item. The > selectedIndex of the da

[flexcoders] application first crashes,next time runs ok

2006-07-05 Thread Adrian Ionut Beschea
Hello, Flex newbie here.I am using Flex 2.0 (standard version, no Data Services) and the Cairngrom 2.0 project and I don't know if this has anything to do with my problem. Basically I have a login form. When I send my user and password for the first time I get an RefferenceError. If

[flexcoders] Excel, Flex and Database

2006-07-05 Thread Ritesh Jariwala
Hi All,   I have question regarding application development.   I need to develop little application which can load data from database using flex into Microsoft Excel.   Is it possible that flex can load the excel data or suppose if I made changes in excel sheet and click on save it

[flexcoders] Tomcat and jdk version for Flex

2006-07-05 Thread a a
Hi all! I have just a simple question for starting develop Flex application with java.Someone are using Flex with java 1.5 and tomcat 5.5? Can this be a good configuration for application developing or maybe it's better using JRun with jdk1.4?I hope that you understand my bad english :PThanks fo

Re: [flexcoders] Compiling Flex--thank you!

2006-07-05 Thread Tom Chiverton
On Wednesday 05 July 2006 03:45, John wrote: > I can't figure out how to compile flex applications using eclipse (or any > IDE) on the Mac, and have given up on it. Just use the command line. It's fine. If not, post what you typed, what it did, and your code :-) -- Tom Chiverton **

[flexcoders] Any way to tell a hbox to be only as wide as is needed for contents

2006-07-05 Thread hank williams
I have a variety of situations where I want a box to be just big enough to hold its contents, and to just resize other stuff to accomodate. One of the most important reasons for this is localization. I want to support lots of languages and I dont want to have to hard code widths to get things to

Re: [flexcoders] A datagrid with a separate scrollbar

2006-07-05 Thread Jeremy Lu
If you could provide some visual mock-ups, I might be able to help :-)On 7/5/06, hank williams <[EMAIL PROTECTED] > wrote: I want to implement a datagrid, but not use the normal scrollbar,  or not to use it where it is currently placed. Basically I want to be ab

[flexcoders] Menu - handle sub-menu clicks

2006-07-05 Thread chrislee943
Hello all, There is a need to handle MenuEvent.ITEM_CLICK for sub-menus of the standard Menu component. Basically I need this for a case when there is a huge amount of data to show in the menu and click on sub-menu would show a new menu from the current level. So event must contain at least id of

[flexcoders] A datagrid with a separate scrollbar

2006-07-05 Thread hank williams
I want to implement a datagrid, but not use the normal scrollbar,  or not to use it where it is currently placed. Basically I want to be able to scroll, but have the datagrid look as if the scrollPolicy was no scroll bars. I want to put a bar in an entirely different location. The scrollbar stuf

[flexcoders] file uploads

2006-07-05 Thread Clint Tredway
I am using the code from the docs and Flex Builder is telling this 1120: Access of undefined property fileRef.   and that the selectHandler and completeHandler are undefined properties as well. I am declaring the var fileRef, so i dont get why its doing this... very frustrating... -- diabetic? h

RE: [flexcoders] Re: listData rowIndex ) [f2 final]

2006-07-05 Thread scox
Hi Tim, Thanks for this, unfortunately that's going to be a no-go. Basically I have an item renderer which is used create an 'edit' button. Upon clicking that the view will change to give more detail on that item. The selectedIndex of the datagrid could be different to the row they actually clicke

[flexcoders] how to call Webservice within cairngorm2 and flex2 stable?

2006-07-05 Thread saicn_1205
how to call Webservice within cairngorm2 and flex2 stable? i have change the cairngorm2 alpha 's sample "login" to the caingorm2and flex 2 stable. then i wanna to change the service from HttpService to Webservice; i take services.mxml as: http://www.adobe.com/2006/mxml";

[flexcoders] Err - seems simple but.... convert from a String to a ByteArray?

2006-07-05 Thread davidgolds
How can I convert from a String to a ByteArray? ByteArray to String was easy courtesy of ByteArray.toString but I can't see a way to do the reverse. Thanks Yahoo! Groups Sponsor ~--> Great things are happening at Yahoo! Groups. See the new e

[flexcoders] how to call Webservice within cairngorm2 and flex2 stable?

2006-07-05 Thread saicn_1205
how to call Webservice within cairngorm2 and flex2 stable? i have change the cairngorm2 alpha 's sample "login" to the caingorm2and flex 2 stable. then i wanna to change the service from HttpService to Webservice; i take services.mxml as: http://www.adobe.com/2006/mxml";

[flexcoders] Cairngorm 2 SequenceCommand question

2006-07-05 Thread der_kotty
Ok, here's another question about the new Cairngorm 2 release: In the org.nevis.cairngorm.control.FrontController I used to add commands by using addCommand( commandName : String, commandRef : Command ). This enabled me to use the addCommand method more than once with the same SequenceCommand

[flexcoders] Re: Beta 3 WebService Result

2006-07-05 Thread someguy7_7
Our webservices are written in J2EE 1.5 with Axis. I can get the specific version of Axis if you think it matters. Here is part of wsdl that pertains to the question. Sorry about the formatting.

[flexcoders] Compiling Flex--thank you!

2006-07-05 Thread John
Hi,I would like to thank everybody who has offered me help`-`I can't figure out how to compile flex applications using eclipse (or any IDE) on the Mac, and have given up on it. It worked fine in beta 3, but the final release does not work for me!I guess I will have to wait for flex builder to co

RE: [flexcoders] Handle result/fault from webservice call in Cairngorm 2

2006-07-05 Thread Artur Kordowski
@Tom >Why not use a delegate ? The delegate class is not longer available in the flex framework, so I can't use it.   @Jester I've got still an error. Here my code how I've build it.   Service.mxml - subclass from ServiceLocator http://www.adobe.com/2006/mxml" xmlns:cairngorm="com.adobe.cair

Re: [flexcoders] Displaying the error string from a web service?

2006-07-05 Thread Paul Norton
Reading other posts here got me to looking at the resultFormat attribute on the operation element. Setting that attribute cleared up my issues. Thanks, Paul Carson Hager wrote: > Hey Paul, > > All of the details are definitely coming back and should be > accessible. You mention you're gettin

RE: [flexcoders] Re: Cairngorm2: ViewLocator - ViewHelper

2006-07-05 Thread Steven Webster
Guys,   There's a lot of passion, misconception and misinformation around view helpers and their usefulness.  However, a fact of life is that there ARE a number of projects in production where developers have made their own decisions to use ViewLocators and ViewHelpers, and in doing so have

[flexcoders] ScrollBar eating content

2006-07-05 Thread Jean-Luc ESSER
In beta3, when using an auto scroll bar in a Box with content sized to 100% width and no height, when the scrollbar appeared, the content was resized accordingly so the scroll bar could fit in.   In final version, the scroll appears on top of the content, thus eating some of it !   I find t

RE: [flexcoders] Array of object types returned from remote objects

2006-07-05 Thread João Fernandes
Tom, How can you have missed everything ColdFusion team has been speaking about all this time? ColdFusion Extensions can make your life a lot easier (believe me). Generate those files and you'll see what must implement, but basically 1) in your AS : [RemoteClass(alias="mypath.to.my.cfcomponent

Re: [flexcoders] Flex and commercial use

2006-07-05 Thread Tom Chiverton
On Tuesday 04 July 2006 18:50, Ville Walveranta wrote: > Yeah, it’s the IDE that costs $499, but it’s not necessary to create Flex > apps (as the compiler is free), though it does make the life with Flex much > easier :-). I'm not so sure as I was. But then I was happy with CFEclipse rather than D

Bug in printing with test case (was Re: [flexcoders] Flex print jobs)

2006-07-05 Thread Tom Chiverton
On Tuesday 04 July 2006 15:47, Tom Chiverton wrote: > Has anyone else had problems using the printJob classes ? If I try and print a dynamicaly instantiated GUI component, the job silently fails. If I create the same component in line in the page, the job works well. Please can someone confirm t

Re: [flexcoders] Array of object types returned from remote objects

2006-07-05 Thread Tom Chiverton
On Tuesday 04 July 2006 17:02, João Fernandes wrote: > Tom if you want to avoid casting all away in your flex app you can follow > the "new" rules for mapping cfcs & AS. Instead of returning an array of > struts, return an array of components with define in them > (very same order or it won't work

RE: [flexcoders] Re: Flex 2 Icon in PopUpMenuButton

2006-07-05 Thread Jason Hawryluk
Thanks for your help, but no, it does not solve the problem. Perhaps Adobe or others could contribute to this for a better solution, or be aware of the bugs/items/work arounds.   A couple of things with this control. After a little testing.   1: The lableFunction does not work at all.

[Junk E-Mail - LOW] [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] [flexcoders] Dat

2006-07-05 Thread polestar11
... I mean thanks Tracy Yahoo! Groups Sponsor ~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexc

[Junk E-Mail - LOW] [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] [flexcoders] Dat

2006-07-05 Thread polestar11
Thanks Shannon You have pointed me in the right direction. Just realised that I have a lot more to learn, reading the manuals. Cheers Tracy Yahoo! Groups Sponsor ~--> See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA

[flexcoders] ServiceLocator - does it have to be MXML?

2006-07-05 Thread Bjorn Schultheiss
Using the mxml defined service you would need to set your handlers. So when calling the service, Var call:AsyncToken = service.GetDataByGrouping(); Call.resultHandler = blah Same for fault (excuse word formatting the code)   In terms of does it have to be mxml, obviously not, but

RE: [flexcoders] FlexUnit, Web Service

2006-07-05 Thread Bjorn Schultheiss
Besides dummying the webservice result can you place the assert in the handler.   I am interested in this and will run some tests myself later on.   Regards,   Bjorn Schultheiss Senior Flash Developer QDC Technologies From: flexcoders@yahoogroups.com [mailto:flexcod

RE: [flexcoders] Re: How to integrate Flash and Flex well done ?

2006-07-05 Thread Bjorn Schultheiss
I guess Flash 9 solves the issue of creating new flash content for flex applications.   Regards,   Bjorn Schultheiss Senior Flash Developer QDC Technologies From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom Versweyveld | VERSO Sent:

Re: [flexcoders] Re: Cairngorm2: ViewLocator - ViewHelper

2006-07-05 Thread Bjorn Schultheiss
Hey Jesse,   Any idea on why ViewHelper and ViewLocator classes are in Cairngorm 2 if they have been deemed un-beneficial? I myself felt obligated to see if there was a valid use for this based on the fact that they were included.   Regards,   Bjorn Schultheiss Senior Flash D

<    1   2