RE: [flexcoders] Data Model Structure Question...

2005-02-04 Thread Doug Coning
Thank you. I like the ability to use just one model since I will be submitting the entire model to a service. Can you still validate the data even though the actual fields are in different tabs? Doug Coning Software Developer FORUM Solutions, LLC _ From: Matt Chotin [mailto:[E

Re: [flexcoders] I am in serious need of help with previewing applications

2005-02-04 Thread James Ward
Make sure you have the Flash 7 plugin installed. -James On Fri, 2005-02-04 at 15:47 -0500, [EMAIL PROTECTED] wrote: > The concepts of Flex seem easy enough to understand but whenever I try > to preview it in the browser it never lets me do it. One of several > things happens either it shows a br

I am in serious need of help with previewing applications

2005-02-04 Thread nostra72
The concepts of Flex seem easy enough to understand but whenever I try to preview it in the browser it never lets me do it. One of several things happens either it shows a browser with a completely empty screen OR it Macromedia Flex 1.5 crashes. The browser I am using for previewing is Netscape so

RE: [flexcoders] Data Model Structure Question...

2005-02-04 Thread Matt Chotin
Up to you.  How related is the data on the 5 tabs?  Sometimes what I do is have a larger model in the Applicationand make the tabs work with subsets.         …          …     Tab1.mxml       {input1.text}     {input2.text}         …   So it reall

RE: [flexcoders] reset a form?

2005-02-04 Thread Matt Chotin
Check out the validator enable/disablemethods.  They’re meant for exactly this.   Matt   From: James Ward [mailto:[EMAIL PROTECTED] Sent: Friday, February 04, 2005 12:09 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] reset a form?   I wish there were a method on a

reset a form?

2005-02-04 Thread James Ward
I wish there were a method on a form to reset it... I have a form in a viewstack... The user fills out the form clicks save, I set the text fields text = "", and then switch to a different view. Works decent. However, let's say I allow the user to navigate back to the form. Well, the validator is n

Data Model Structure Question...

2005-02-04 Thread Doug Coning
Newbie Question: I have a user application that contains 5 tabs (using the TabNavigator). I'd like to use the class to store and validate the data from each of the forms on those 5 tabs. What is the best method for doing this? Should I place the Model in the Application file or should I break

RE: [flexcoders] tree traversal?

2005-02-04 Thread Robert Brueckmann
Thanks!  That was actually perfect for what I needed because the tree has to open to get to the selected node anyways for display purposes.  Thanks so much!  Nice and simply and recursion-less!  What more could you ask for?   Robert L. Brueckmann Web Developer Merlin Securities,LLC 59

RE: [flexcoders] Question about deprecated attributes

2005-02-04 Thread Stephen Gilson
For information on deprecated properties, and migrating from Flex 1.0 to Flex 1.5, you can access the Migration Guide from the FlexDoc site:   http://macromedia.com/support/documentation/en/flex/1_5/migration.html   Stephen Gilson From: Matt Chotin [mailto:[EMAIL PROTECTED] Sent: Friday, Fe

RE: [flexcoders] Want to know when all records retrieved in remot ing

2005-02-04 Thread Matt Chotin
The modelChanged event is dispatched from the dataProvider itself (which can be the Array class).  I’m notfamiliar with flashorb so I don’t know how it goes about populating its results.  In order for the modelChanged event to fire you need to use the DataProvider methods like addItem and r

RE: [flexcoders] WSDL question /services dir

2005-02-04 Thread Matt Chotin
I think the services mapping is in the web.xml in samples.war (it’s mapped to the SamplesAxisServlet).   Matt   From: chrs_hearn [mailto:[EMAIL PROTECTED] Sent: Friday, February 04, 2005 7:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] WSDL question /services dir

RE: [flexcoders] Question about deprecated attributes

2005-02-04 Thread Matt Chotin
You should still use this book, it’s a great resource (and not just because of the technical editing J).  We’ve listed the deprecated terms in the release notes which you can get off the web site.  There was not a 1.5 update of the Flex book, but all of the concepts still hold.   Matt  

RE: [flexcoders] Oddities with binding columns of a DataGridColum in width in a repeater.

2005-02-04 Thread Matt Chotin
Actually turns out the bug was in there.  I was wrong that we had fixed it in 1.5, we had deferred it and I fixed it in the later build.  The release note mentions that Charts shouldn’t be used in Repeaters but it’s because of the same bug.   Matt   From: Jeff Tapper [mailto:[EM

RE: [flexcoders] Oddities with binding columns of a DataGridColum in width in a repeater.

2005-02-04 Thread Jeff Tapper
Thanks! At 01:58 PM 2/4/2005, you wrote: I'll get a bug in there for you to make sure it is officially fixed. _ From: Jeff Tapper [mailto:[EMAIL PROTECTED] Sent: Friday, February 04, 2005 10:57 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Oddities with binding columns of a DataG

RE: [flexcoders] Laszlo Systems, Inc.

2005-02-04 Thread David Mendels
Hi, I'd also add support for accesibility. -David - > -Original Message- > From: David Ringley [mailto:[EMAIL PROTECTED] > Sent: Friday, February 04, 2005 1:07 PM > To: flexcoders@yahoogroups.com > Subject: Re: [flexcoders] Laszlo Systems, Inc. > > > Another issue to look at when co

RE: [flexcoders] Repeater + Validate

2005-02-04 Thread Matt Chotin
We don’t really have support for dynamic validators right now.  The only thing I can think of is that you could subclass TextInput and put a model in there, then use a validator on that.  Then in the Repeater you would use your new version of TextInput.  This TextInput would be pretty speci

RE: [flexcoders] Oddities with binding columns of a DataGridColum in width in a repeater.

2005-02-04 Thread Matt Chotin
I’ll get a bug in there for you to make sure it is officially fixed.   From: Jeff Tapper [mailto:[EMAIL PROTECTED] Sent: Friday, February 04, 2005 10:57 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Oddities with binding columns of a DataGridColum in width in a repe

RE: [flexcoders] Oddities with binding columns of a DataGridColum in width in a repeater.

2005-02-04 Thread Jeff Tapper
Can you file the bug report for me, or is it not worth doing, since it seems to be fixed on the new release you're running. At 01:54 PM 2/4/2005, you wrote: Ok, bad news. I had been running on my own internal build which has had some updates to it. It worked there. I ran it on an official 1.5 bu

RE: [flexcoders] tree traversal?

2005-02-04 Thread Jeff Tapper
Here's a snippet from a recent project which loops through and opens all branches in a tree. Shouldnt be too tough to modify for your needs. function openTree(t:mx.controls.Tree) { var i:Number=0; var node:mx.controls.treeclasses.TreeNode=t.getTreeNodeAt(i); while (node != undefined){ if (t.getIs

RE: [flexcoders] Oddities with binding columns of a DataGridColum in width in a repeater.

2005-02-04 Thread Matt Chotin
Ok, bad news.  I had been runningon my own internal build which has had some updates to it.  It worked there.  I ran it on an official 1.5 build, it had the bug.  So it’s clearly a bug.  Don’t have a workaround for you, sorry!   Matt   From: Jeff Tapper [mailto:[EMAIL PROTECTED]

Question about deprecated attributes

2005-02-04 Thread nostra72
I have a book titled Developing Rich Clients with Macromedia Flex by Steven Webster and Alistar McCloud, and I must say its a very good book. Thereivews for it have been fantastic however there is one thing, some of theattributes the book uses have been deprecated which makes me wonder what Ishou

RE: [flexcoders] tree traversal?

2005-02-04 Thread Robert Brueckmann
Thanks for your help!  This should make for an interesting afternoon…   Thanks again!   Rob   Robert L. Brueckmann Web Developer Merlin Securities,LLC 595 Madison Avenue New York, NY 10022 p: 212.822.4821 f: 212.822.4820 From: Robert Stuttaford [mailto:[EMAIL PROTECTE

Re: [flexcoders] Laszlo Systems, Inc.

2005-02-04 Thread David Ringley
Another issue to look at when considering Laszlo is internationalization of your product. Laszlo beta 3 does implement some localizable controls but not completely, such as the button control. Where as Flex has had a lot of foresight with their components for localizing, such as there calendar, for

RE: [flexcoders] tree traversal?

2005-02-04 Thread Robert Stuttaford
An addition:   Function findthatnode( parent node, nodeID ) {       Loop through parent node’s children:       If current child node is the one with nodeid, then   return current node   else if current child node has at least one child node of its own

RE: [flexcoders] tree traversal?

2005-02-04 Thread Robert Stuttaford
Recursion, at it’s simplest, works like this:   function foo () {     foo(); }   A function that calls itself – or, put another way, a function that calls a COPY of itself.   In pseudo code:   Function findthatnode( parent node, nodeID ) {     Loop through parent

tree traversal?

2005-02-04 Thread Robert Brueckmann
Is there any easy, recursive way to traverse a tree component?  My tree’s data provider is an XML object sent from the db.  I have 3 tree components actually…the 2nd tree is built based on the selection of the 1st tree and the 3rd tree is built based on the selections made in the 1st and 2nd

Re: [flexcoders] selectedIndices

2005-02-04 Thread JesterXL
The property name is in your email: youList.selectedIndices = [0, 3, 4]; That'll select row 0, 3, and 4. - Original Message - From: "Eric Guesdon" <[EMAIL PROTECTED]> To: Sent: Friday, February 04, 2005 5:51 AM Subject: [flexcoders] selectedIndices Hi to all, Are there any possibi

Re: [flexcoders] WSDL question /services dir

2005-02-04 Thread Jeff Steiner
After the install you need to whitelist the local server to allow it to run the webservice samples. Look inside your flex directory for flex-config.xml and scan through for the whitelist tag inside http-service. There are some examples there that you see what to add. If this does not answer your

Re: [flexcoders] Dynamic model

2005-02-04 Thread Jeff Steiner
Isaac, Are we to understand that the XML filename changes and that you are trying to compile the result into the swf at compile time, or are you, for example, passing a querystring variable to a dynamic page which results in dynamic XML? mx:Model and mx:XML tags grab the XML at compile time and s

RE: [flexcoders] Out Of Memory: Message

2005-02-04 Thread Cathy Murphy
> > In \Program Files\Apache software Foundation\Tomcat > > 5.0\bin\catalina.bat, in the last section immediately after "rem > > Execute > > Java with the applicable properties", insert this line, > > set CATALINA_OPTS=-mx1024m. Save the file. Did you check in the bin directory of the Tomcat inst

Re: dynamic xml in flex

2005-02-04 Thread pioplacz
This is my PHP: '; echo ''; //fitching all the entries while ($row=mysql_fetch_assoc($result)) { $line = ''.$row['id'].''; $line1 = ''.$row['title'].''; $line2 = ''.$row['year'].''; $line3 = ''.$row['publisher'].''; $line4 = ''.$row['genres'].''; $line5 = ''.$row['image'].''; $line6 = ''.$row['i

Want to know when all records retrieved in remoting

2005-02-04 Thread bhaq1972
Hi I'm using flashorb remoting to retrieve data from my .net middle tier. My flashorb is configured to return an initial 10 records and then retrieve the rest as needed. This is fine and is exactly what i want when (for example) i am populating a datagrid or any other UI. However, if i am po

WSDL question /services dir

2005-02-04 Thread chrs_hearn
When i run the samples i get a WSDL error...looking at my config file i see this...but when i look for the /services/ dir i cant find it. Should there be a services dir? I dont think i missed anything on the install. {context.root}/services/ContactManagerWS?wsdl

Repeater + Validate

2005-02-04 Thread Stephan Zuch
Hello group! Im tryin to use repeated Form elements together with validation but i absolutely dont know how. without a repeater i hav my mx:model bound to my form elements and define my mxml validator with fields referencing my mode. and with a repeater? i create my model at "initialize", so how

FW: [flexcoders] Cairngorm Event to Command

2005-02-04 Thread al77_t
Sorry it is called "broadcastEvent" not dispatchEvent Alex - Ah, I see your point now. I presume u need to use commands when u want to exchange data with server. Otherwise u just broadcast the event via EventBroadcaster's dispatchEvent and that doesn't prevent from adding severa

Re: [flexcoders] Re: Flex, Hibernate and Coldfusion

2005-02-04 Thread Michael McKellip
Matt, Glad to see that someone else would like to see this work. Our goals may have been slightly different than yours. We were trying to use the persistence layer and pojo's created with Hibernate in both an internal Flex application and re-use it in a public Mach-II application. Both our CF and

RE: [flexcoders] Cairngorm Event to Command

2005-02-04 Thread al77_t
Ah, I see your point now. I presume u need to use commands when u want to exchange data with server. Otherwise u just broadcast the event via EventBroadcaster's dispatchEvent and that doesn't prevent from adding several listeneres (via AddEventListener) for the same event.. -Original Messa

Re: how can I do this in Flex? -- (warning, best -practice police are in the hou

2005-02-04 Thread Miguel D�az Valenzuela
supposing a datagrid with 5 rows that´s function you give me: function envia_motivos_fuc(){ var Request:Object = new Object(); for(var i=0;i wrote: > Miguel, > > I'm not sure what are you asking. Can you please explain the problem? > > Thanks > > Agha > > -Original Message- > Fr

RE: [flexcoders] Cairngorm Event to Command

2005-02-04 Thread Michael Herron
It requires a new command class because the command classes I currently have update the two views separately. The requirement is not always for the view to be updated simultaneously, so they each have their own command class. The controller looks something like: addCommand("updateViewOne", ViewO

RE: [flexcoders] Cairngorm Event to Command

2005-02-04 Thread Michael Herron
The command classes already exists and work in their own right for their respective views. I will not always want to update both the views at the same time. You seem to be getting confused with the purpose of the event. The event is broadcast once the product has been added, not when the product

Re: [flexcoders] Re: simple datagrid cell colour renderer

2005-02-04 Thread Manish Jethani
Andrew Spaulding wrote: I have tried using a getPreferredHeight method that returns the owners layoutHeight and this works fine, the colour fills the entire cell now. But I still have some weird behaviour when there is a scoll bar on my datagrid. If click and drag on the scroll bar and move it up a

Re: [flexcoders] Flex Uploading to server?

2005-02-04 Thread Manish Jethani
Tolulope Olonade [ MTN -YelloDrome ] wrote: Dont mess with C# though. According to opinions all over the globe its widely accepted as the most elegant language. Developed by Anders Hejlsberg [snip] At the risk of taking this discussion off topic, here's my two-bit opinion on C# vs. Java: http://

RE: [flexcoders] Oddities with binding columns of a DataGridColum in width in a repeater.

2005-02-04 Thread Jeff Tapper
Its definitely 15. One of the lines in the jrun console is: INFO License Service: Flex 1.5 Developer Edition enabled When you ran the 2nd example did the 2 grids have their columns spaced like the one in the first example? Attached is a screenshot of what i see. 1.5 At 11:41 PM 2/3/2005, you wr

RE: [flexcoders] Cairngorm Event to Command

2005-02-04 Thread al77_t
Not sure why it requires to create a new command class. onResult function in your command class that is assigned with "add product" event would be something like public function onResult( event : Object ) : Void { var view1ViewHelper = ViewLocator.getInstance().getViewHelper( "view1" ); var view

RE: [flexcoders] Cairngorm Event to Command

2005-02-04 Thread Michael Herron
Yes that would certainly work, but that would involve creating a new command class. I was wanting to re-use the command classes that are currently being used, but just fire them both for the same event. Although your solution does seem more elegant that broadcasting multiple events. -Mike -O

Re: [flexcoders] in which platform i will get the best prformens on Flex Server

2005-02-04 Thread Manish Jethani
shvilamit wrote: i wont to buy a server and i wont to know if the flex will have a better preformens on linux server or dose it will be faster on windows server I guess the single most important factor influencing the performance of Flex is the J2EE server that Flex is deployed on. Manish

Re: [flexcoders] Re: dynamic xml in flex

2005-02-04 Thread Manish Jethani
pioplacz wrote: Maybe it sounds king of noobish but i'm a noob... but cannot get it to work... i tryed just passing the data from httpservice to datagrid but the right data won't show... I'm getting all confused maybe is something wrong with my php xml output... :S Your XML output looks fin

RE: [flexcoders] Dynamic model

2005-02-04 Thread ibibas
Thanks Abdul, but I think I´ve not explained my problem correctly. As the XML name is dynamic, I need to create the Model at runtime. In other words, I know the XML name in the moment the .mxml page is built , I cannot declare the Model as you suggest. me. Any thoughts? Isaac Bibás Abdul Qab

FW: [flexcoders] Cairngorm Event to Command

2005-02-04 Thread al77_t
Hi Mike, I presume nothing prevents you from accessing two different views via ViewLocator singleton within one command. Regards, Alex. -Original Message- From: Michael Herron [mailto:[EMAIL PROTECTED] Sent: Friday, February 04, 2005 2:48 PM To: flexcoders@yahoogroups.com Subject: [flex

Model with AMF

2005-02-04 Thread [EMAIL PROTECTED]
Hi, unfortunately considering that you/they can be used in flex methods overload, here one example side java i have to method CPF getCodice(String cod_art); CPF[] getCodice(String seasons); in flex {CSchedaModello.getCodice.result} .. then in all my flex ui binding to .. then I don'

Cairngorm Event to Command

2005-02-04 Thread Michael Herron
Hi all Just a quick question about using cairngorm: In my application when a product has been added, I wish to broadcast a "product added" event and have it picked up by two separate command classes that will update two separate views. Unfortunately, when the event is broadcast, it only seems to

RE: [flexcoders] Dynamic model

2005-02-04 Thread Abdul Qabiz
Hi, You can't use Model to load XML on runtime. It works at compile time... However, you can use HTTPService object to load xml dynamically at runtime. Please search the flexcoders archive, this question has been discussed recently.. Also check out Flex documentation for HTTPService. I answered

[flexcoders] selectedIndices

2005-02-04 Thread Eric Guesdon
Hi to all, Are there any possibilities to select programmaticaly more than one row in Datagrid or in List where multipleSelection propertie is true. Best regards. -- Eric Guesdon / Capgemini / France http://www.capgemini.com This message contains information that may be privileged or confidentia

Re: MySQL .jar file question

2005-02-04 Thread Daniel Harfleet
Hi, there is a file called sqladmin.properties under WEB-INF/classes, did you put your db name / url / username / password details in there ? In MySQL, make sure the user you specify in the above file has localhost connection permission (assuming your db is on the same machine as your webapp)

Dynamic model

2005-02-04 Thread ibibas
Hi coders, I intend to create a generic screen containing a comboBox its content depends on externalized parameter specifying a XML file. I´ve tried unsuccessfully the following: In a AS function: myModel:Model = new Model(); myModel.source=the_XML_path; Anybody knows how to create model dynami

Re: hi

2005-02-04 Thread flexcoder
Thank you Sagar. great help. Best Regards, Sandip

RE: [flexcoders] Re: dynamic xml in flex

2005-02-04 Thread Abdul Qabiz
Hi, Can you post your code here, so that we can see whats wrong in that? You can also post your php code, I can look at it ? -abdul -Original Message- From: pioplacz [mailto:[EMAIL PROTECTED] Sent: Friday, February 04, 2005 4:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Flex Builder

2005-02-04 Thread Robert Stuttaford
Unless of course you’ve already bought Dreamweaver J   From: Tracy Spratt [mailto:[EMAIL PROTECTED] Sent: 04 February 2005 03:03AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Builder   To be more accurate, the Flex trial converts to a Developer license whic

RE: [flexcoders] Oddities with binding columns of a DataGridColum n width in a repeater.

2005-02-04 Thread Matt Chotin
So I ran your examples it looked rightto me.  I seem to remember that we had a problem with binding into arraysin repeaters in 1.0, is it possible you’re not using a 1.5 install?   Matt   From: Jeff Tapper [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03,2005 3:43 PM To: f

RE: [flexcoders] Re: simple datagrid cell colour renderer

2005-02-04 Thread Matt Chotin
OK, so doing the preferredHeight trickis a bad idea.  Unfortunately in looking at the code that builds the row I basically can’t figure out the “right” thing to do. I think you should file a bug saying that it’s too difficult to indicate in a cell renderer that you want to be the same size

RE: [flexcoders] unable to get value from popup to parent window

2005-02-04 Thread Srikanth Duvvuri
Hey Abdul   Thanks dude.. that did work.. We are going through the changes made by you and I think we should succeed in getting the same into our app also   Cheers Srikanth   -Original Message- From: Abdul Qabiz [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2005 7:

Re: [flexcoders] Menu events and panel status [was: Attempting to add a button to Panel titlebar]

2005-02-04 Thread JesterXL
I never got the Menu component to work, can't help you on 1 and too burnt to try again till the morning.   :: wavers ::   To heck with status, make your own, or overwrrite the mug:   private var _status:String;   public function get status():String {     return _status; }   public function set

Menu events and panel status [was: Attempting to add a button to Panel titlebar]

2005-02-04 Thread Seth Voltz
Thanks, Jesse, Coenraet's article was exactly what I needed. Okay, two more questions now that I have a couple buttons in the panel: 1) One of the buttons spawns a menu like so: function handleMenuButton ( event ) { if ( _menuData ) { winMenu = Menu.createMenu ( event.target, menuData ); winMen

Re: [flexcoders] Printing TextArea

2005-02-04 Thread JesterXL
Something close to this: http://www.macromedia.com/2003/mxml";> - Original Message - From: "Mark Hitchcock" <[EMAIL PROTECTED]> To: Sent: Thursday, February 03, 2005 9:02 PM Subject: [flexcoders] Printing TextArea Does anyone have an example or ideas about how to print scr

Re: [flexcoders] Out Of Memory: Message

2005-02-04 Thread Seth Voltz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What are the equivalent commands for the *nix tomcat install? (or is this not an issue for that version?) Thanks, Seth On Feb 03, 2005, at 20:29, Tracy Spratt wrote: There have been a couple threads that indicate you should boost the memory settings:

Printing TextArea

2005-02-04 Thread Mark Hitchcock
Does anyone have an example or ideas about how to print scrollable content in a textArea? Thanks Mark Hitchcock [EMAIL PROTECTED]

Re: [flexcoders] Laszlo Systems, Inc.

2005-02-04 Thread Tarik Ahmed
Well and then there's the Microsoft XAML initiative too. And as for an IDE, IBM has built one for Laszlo http://www.alphaworks.ibm.com/tech/ide4laszloThe main thing for me is, and why I think Flex will be successful:1) Community/Support. I'm very appreciative of the Flex community. All the folks fr

RE: [flexcoders] Out Of Memory: Message

2005-02-04 Thread Tracy Spratt
There have been a couple threads that indicate you should boost the memory settings: Open the apache tomcat configuration app in sys tray, and on the "Java" tab, bump up the initial memory pool size and the maximum memory pool size to 512 Initial and 768 Max, click Ok In \Program Files\Apache sof

RE: [flexcoders] Re: dynamic xml in flex

2005-02-04 Thread Tracy Spratt
How are you handling the returning data? Are you binding it directly, or are you using an AS function to assign it to a control? You understand about the asynchronous issues right? There are examples of simple case uses of data services on www.CFLEX.net. Post your http service declaration. Trac

RE: [flexcoders] Re: Working with special dataProviders

2005-02-04 Thread Tracy Spratt
Other than Jimmy's note, you approach looks ok. How far in is your data getting? Trace something out of the model, if the data is there, then trace something out of the data provider. Tracy -Original Message- From: mwelie [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2005 11:27

RE: [flexcoders] dataProvider row filtering / suppressing

2005-02-04 Thread Tracy Spratt
I never would have expected casting an object to a String would return a usable string! (will be interested to try it and look at the string!) If there was a "key" field in the data provider, you could use the same technique using the key value in place of String(item). Tracy -Original Messa