DatagridColumn Sort function

2005-03-11 Thread Simon Fifield
I set up a DataGridColumn sort function but the sort only happens every otherheader clickeven though the sort arrow changes direction on every click. Anyone got any ideas??? Kind Regards, Simon Fifield

RE: [flexcoders] DatagridColumn Sort function

2005-03-11 Thread Abdul Qabiz
Sorting should happen every click, you should probably look into your sort function Look at the attached code, it works fine:- ##DataGridSort.mxml### ?xml version=1.0? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; backgroundColor=#FF mx:Script ![CDATA[ function

Formatters

2005-03-11 Thread Valy Sivec
Hello, I have a simple question regarding the way to use formatters. In case I attach a number formatter or currency formatter to a form item should I unformat the input text value before sending it back on the server side?. Is it something that am I missing? Shouldn't the value remain

RE: [flexcoders] Left aligned form labels

2005-03-11 Thread Paul Frantz
Yep :) But the following seems to do the trick... test.mxml ?xml version="1.0" encoding="iso-8859-1"? mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns="*" mx:Form HackedFormItem label="small label" mx:TextInput / /HackedFormItem HackedFormItem label="really big label"

Re: [flexcoders] Left aligned form labels

2005-03-11 Thread JesterXL
damn, didn't think of that; I did an exact positioning of an entirely new label on the Stage's resize: ?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"initialize="initApp();"mx:Script![CDATA[function

RE: [flexcoders] DateField: DateFormatter noCancel ?

2005-03-11 Thread Matt Chotin
Next version will make the formatter function assignment better. I dont know off-hand of a way to prevent the selection to null, I assume you could do it by subclassing the DateField and overwriting the selectedDate setter, but I havent tried it. Matt From: r0main

RE: [flexcoders] childDescriptors array/ UIObjectDescriptors.id i s undefined

2005-03-11 Thread Matt Chotin
Im not sure why you want the idto be the same as the class name. It may not work as you want (having ids the same as a class name can lead to weird conflicts). What youd want to do is after creation give your parentDocument a property with the name as your class. Matt From:

Macromedia Looking for Dynamic Flex Interfaces

2005-03-11 Thread Lucian Beebe
Periodically, Macromedia asks for help from you, the Flex community. Recently, Ive solicited your thoughts about components and printing. Its incredibly valuable to us. It helps us get the product right so it works the way you want it to. I cant tell you how much direct impact you can have

RE: [flexcoders] Formatters

2005-03-11 Thread Abdul Qabiz
Hi, No, Formatter doesn't have any unformat method. Probably, formatting is undoable unless you extend the formatter and add a unformat method with reverse logic.. You can have your server-side script to process a formatted string. Its always better and less work on server? Another way is you

Linking a repeater to an array of arrays?

2005-03-11 Thread nostra72
Is this possible to do or is it possible to change the dataprovider property of a repeater?

guidelines for flex apps

2005-03-11 Thread Duccio Del Ministro
Hi all, is there a document or something about guidelines and standards in devoleping a flex app? I searched in Macromedia site but didn't find anything. Thanks Duccio Del Ministro ___ Nuovo Yahoo! Messenger: E' molto più divertente: Audibles, Avatar, Webcam,

Re: childDescriptors array/ UIObjectDescriptors.id i s undefined

2005-03-11 Thread bhaq1972
Hi Matt conflicts). What you'd want to do is after creation give your parentDocument a property with the name as your class. The problem is i'm also interested in objects before creation. I'm actually interested in the className but if the component hasn't been created, you get

Help with a custom component

2005-03-11 Thread Michael Herron
Hi all. I'm looking for some help with custom components. Basically, I have done a bit of a hack and managed to get something that appears to the user as an editable date field, by placing a TextInput over top of a DateField control and capturing the required events (see attached for the

RE: [flexcoders] guidelines for flex apps

2005-03-11 Thread Abdul Qabiz
Hi, Well there could many guidelines. Try to read the Flex documentation to get an understanding on Flex components and Flex environment. Search Flex coder archives for discussions on different RIA frameworks, like cairngorm or ARP.. Ali's Steven's book Developing Rich Client with Macromedia

Re: [flexcoders] Help with a custom component

2005-03-11 Thread Manish Jethani
On Fri, 11 Mar 2005 09:54:39 -, Michael Herron [EMAIL PROTECTED] wrote: · Or, is there an easier, more elegant way to provide an editable date field? (The docs indicate editable property inherited from ComboBase will be ignored) Yes. :)

Re: [flexcoders] Help with a custom component

2005-03-11 Thread Manish Jethani
If you downloaded it already, download the latest version. It used DateFormatter.parseDateString() for the default date parsing. You can specify your own dateFunction as well, but the default one is good enough. Manish

@@Get SAP/Oracle11i Online Training From Here!!

2005-03-11 Thread ERPOnline
@@SAP/Oracle11i Training Online Available!! we are a ERP training center,Job Oriented Training Available!! My Yahoo Messenger ID:erphouse (or email to [EMAIL PROTECTED]) (if i didn't online ,pls leave a message to me) Remote access USD100/month,Training Cost USD900(50 hours) for SAP/Oracle11i

RE: [flexcoders] Formatters

2005-03-11 Thread Valy Sivec
Abdul, Thanks for your input, I'll try to put together some code and send it to the group for review and maybe find some help. This question looks to me very basic and finding the right way to do it will save me some time down the road. My client want the input form field to be formatted but I

Help Systems integration advice

2005-03-11 Thread AC
Hello I am trying to integrate a help system with a flex app am currently developing. I am currently evaluating Robohelp (FlashHelp; as it's a MM product !!), is there an elegant way of calling FlashHelp files from within flex without having to go out to javascript. Ideally via ActionScript.

Doubts with remote objects

2005-03-11 Thread Kleber Voigt - Gmail
Hello again, I make an app that populate an datagrid with data from a remote object, the data is loaded perfectly, but the function enter in a infinite loop. Looking in the debbuger, I see the RPC are call and work, and work, and work, forever and ever :( I'd try use a webservice to this, but

Re: [flexcoders] mx:Panel and disabling CSS Inheritance.

2005-03-11 Thread Manish Jethani
On Fri, 11 Mar 2005 15:18:37 +1000, Scott Barnes [EMAIL PROTECTED] wrote: I have an mx:Panel, with a simple headerColors=[col1,col2] approach, easy enough. BUT... How do i prevent its children Panels/Controls from also inheriting that style? [snip] 'headerColors' is an inheriting style.

Flex Samples running, but nothing else works??

2005-03-11 Thread Bradley
Alright, I got FLEX installed on IIS over JRun. Now I created a new Server via the JRun Management Console and called it 'Flex', on port 8101. When I browse to http://localhost:8200/samples/ however is when the Flex samples appear. And they appear to run just fine. However if I create my OWN

Flex Docs really need to be up on safari.oreilly.com

2005-03-11 Thread dduuggllaa
If there are any Macromedia people out there or others who can influence decision makers at Macromedia you *really* need to get your documentation up on safari.oreilly.com. Having all docs entirely indexed and searchable is a huge win and will greatly improve our productivity and will increase

hitTest() and createClassObject()

2005-03-11 Thread Jim Laing
Hey all, I'm trying to make a custom component which dynamically changes it's state/appearance. Actually, it's a cell renderer/cell editor which works with our own version of dataGrid, and creates an additional object/changes it appearance when the cell is focused in. To this end, I've decided

RES: [flexcoders] Doubts with remote objects

2005-03-11 Thread Kleber Voigt - Gmail
Thank you Dimitrios, thank you so much! -Mensagem original-De: Dimitrios Gianninas [mailto:[EMAIL PROTECTED]Enviada em: sexta-feira, 11 de março de 2005 11:06Para: flexcoders@yahoogroups.comAssunto: RE: [flexcoders] Doubts with remote objects Hi, You problem lies with the fact

RE: [flexcoders] Linking a repeater to an array of arrays?

2005-03-11 Thread Matt Chotin
Sure. mx:Repeater id=outerRepeater dataProvider={myArray} mx:Repeater id=innerRepeater dataProvider={outerRepeater.currentItem} /mx:Repeater /mx:Repeater You can also change the dataProvider of the repeater no problem, but note that it will replace the items that had been

RE: [flexcoders] Re: childDescriptors array/ UIObjectDescriptors. id i s undefined

2005-03-11 Thread Matt Chotin
You want the name of the class or the class itself? The type property in the descriptor is the class itself. I think you might be able to get the class name by then getting the undocumented symbolName property from the class object. Matt From: bhaq1972 [mailto:[EMAIL

RE: [flexcoders] DRIA Book Form Problem

2005-03-11 Thread Matt Chotin
Move the DataFormatter tag so its at the same level as the form tag. mx:Application mx:DataFormatter / mx:Form / / Another thing I missed on tech-edit I guess J From: Dave Carabetta [mailto:[EMAIL PROTECTED] Sent: Friday, March 11, 20057:07 AM To:

Re: [flexcoders] DRIA Book Form Problem

2005-03-11 Thread Dave Carabetta
On Fri, 11 Mar 2005 08:54:22 -0800, Matt Chotin [EMAIL PROTECTED] wrote: Move the DataFormatter tag so it's at the same level as the form tag. mx:Application mx:DataFormatter / mx:Form / / Yeah, I saw that and was able to move on. However, I'm curious as to why

RE: [flexcoders] Flex Samples running, but nothing else works??

2005-03-11 Thread Tracy Spratt
When you created your JRun server, did you create it as a Service or as an Application? If it is a service, do NOT try to start/stop the sever using the Admin console app it will cause serious problems. Instead use the windows services app. if it is an app, start it from a console window. Verify

Re: [flexcoders] MXI For FlexBuilder

2005-03-11 Thread JesterXL
...ok, I give up, I don't know how the product tag needs to be formatted; Flex nor FlexBuilder is in the docs, and I've tried combos of names and cases, but the Extension Manager assumes Flex/FlexBuilder 1.0/1.5 isn't installed. - Original Message - From: JesterXL [EMAIL PROTECTED]

RE: [flexcoders] mx:Panel and disabling CSS Inheritance.

2005-03-11 Thread Matt Horn
I don't know of any way to prevent an inheriting style from being inherited except to write a custom component. However, you can use CSS to your advantage by having a default style and your custom style. Apply the custom style to the outer panel and then the default style to the inner panels

RE: [flexcoders] mx:Panel and disabling CSS Inheritance.

2005-03-11 Thread Matt Horn
Sorry for the reply to my own message, but I tried out some stuff; here's a quick and dirty way to prevent style inheritance with a custom component (called SpecialPanel in this example). The regular panel picks up the styles from the CSS class selector in the main application file (these

RE: [flexcoders] MXI For FlexBuilder

2005-03-11 Thread Abdul Qabiz
Ok, here you go... Product name: Flex Builder Version: 1.5 Create a sample .mxi: macromedia-extension name=Test Extension version=1.0.0 requires-restart=true type=suite author name=Macromedia / products product name=Flex Builder version=1.5 primary=true / /products description ![CDATA[This

BG Canvas Color / Panel Width

2005-03-11 Thread nextadvantage
How do I set the background canvas to a dark black gradient like I have seen in some of the samples? I am also having issues using 100% width / Hight of my panels. Anyone have any sampel code I can play with it seems even though I have set the height and width 100% the panels still fit tight on

Trying to figure out the XMLTreeDataProvider class

2005-03-11 Thread don4sin
I think the XMLTreeDataProvider class (as opposed to the TreeDataProvider Interface implemented by the XML class) is just what I need to display and modify an XML object in an MXML Tree. This is what it says in mx.controls.treeclasses.XMLTreeDataProvider.as. /** The XMLTreeDataProvider class

Need an easy way to dump XML results to a file?

2005-03-11 Thread dduuggllaa
It would be convenient when receiving an XML payload via a remote service to be able to dump the returned it to a file for debuggin, diagnostics, etc. Can someone suggest a simple way to do this? Perhaps using mx:Model ? Thanks. -Douglass

Re: [flexcoders] Need an easy way to dump XML results to a file?

2005-03-11 Thread Spike
What method are you using to retrieve the XML payload? If you're using HTTPService you can specify the resultFormat as text which will just give you the raw text that came back from the server. You can then output that as you see fit. Spike dduuggllaa wrote: It would be convenient when

RE: [flexcoders] Need an easy way to dump XML results to a file?

2005-03-11 Thread Peter Farland
Have you tried turning on AMF Gateway debug-level logging? The AMF Gateway processes RemoteObject requests on the Flex Server. In /WEB-INF/flex/gateway-config.xml there's a logger element with a level attribute. Set this attribute to Debug and restart the web app. If the logging class is set to

Re: Need an easy way to dump XML results to a file?

2005-03-11 Thread dduuggllaa
Spike, Actually, I'm consuming a web service and want to dump the XML to a text file (foo.xml). Whatever service I use (HTTP, Web, Remote Object) I thought there must be a way to generate such a file. You can then output that as you see fit. And that would be ...? What I'm looking for here

Re: Need an easy way to dump XML results to a file?

2005-03-11 Thread dduuggllaa
--- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: Hi, mx:Model can not be used on runtime. You can look at FlexBuilder debugger and network monitor, its just super cool You can also install Mozdev's Live HTTP Header extension in Firefox to see the HTTP Header

RE: [flexcoders] Re: Need an easy way to dump XML results to a fi le?

2005-03-11 Thread Abdul Qabiz
Hi, Sorry, I mis understood your question. You can do that...You might need to write java code on server, you can dump data to disk using that code... On client, you can save data in SharedObject, but its client specific data, so you need to be logged on the same machine with same account to

Re: [flexcoders] Re: Need an easy way to dump XML results to a file?

2005-03-11 Thread Spike
Surely you can just output the content of the in either a mx:Text or mx:TextArea. If it's coming back as an ActionScript XML object you can use objName.toString() to convert it to plain text. something like this: ?xml version=1.0 encoding=utf-8? mx:Application

RE: [flexcoders] Re: Need an easy way to dump XML results to a fi le?

2005-03-11 Thread Matt Chotin
If this is just for debugging, use the debug player, trace the XML object, look in your flashlog.txt file. Matt From: Spike [mailto:[EMAIL PROTECTED] Sent: Friday, March 11, 200512:04 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Need an easy way to dump

RE: [flexcoders] Trying to figure out the XMLTreeDataProvider cla ss

2005-03-11 Thread Matt Chotin
All of the XMLTreeDataProvider methodsare already mixed into the XML object itself. So you should be able to use them without doing anything to create it (I think). Matt From: don4sin [mailto:[EMAIL PROTECTED] Sent: Friday, March 11, 200511:04 AM To:

Handling deployment of flex-config.xml?

2005-03-11 Thread Eric Raymond
I'm curious how people handle the flex-config.xml file when they deploy their application to a public server? The issue we have is that the flex config has both development settings which should not be released and other settings like RemoteObject settings which need to be released when they

cairngorm with a business delegate on the app server

2005-03-11 Thread Jeff Krueger
All, I am working on setting up my first cairngorm app. I am trying to figure out how to make the flex delegate classwork with the service locator and invoke methods on my SOA. On my appserver I have a user business delegate class. So for example UserMangerBD that has a method

Re: [flexcoders] Handling deployment of flex-config.xml?

2005-03-11 Thread James Ward
Eric, We are using ant to do value replacement in the flex-config then taking the basic flex.war and dumping all our our custom stuff in. This approach works well for us since we do value replacements elsewhere as well. If you want my ant scripts I would be happy to post them. -James On Fri,

Re: [flexcoders] Left aligned form labels

2005-03-11 Thread JesterXL
They probably did an Assetpropflags on it to hide it from for in loops. - Original Message - From: Robin Hilliard [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, March 11, 2005 5:18 PM Subject: Re: [flexcoders] Left aligned form labels Nice One! Thanks Paul Jesse.

Doesn't a Web Service return XML? Confused

2005-03-11 Thread dduuggllaa
I implemented the Google WebService in Flex. Works fine. I now want to snoop in the returned results. I'm having a very difficult time extracting the XML payload. My service: mx:WebService id=ws wsdl=http://api.google.com/GoogleSearch.wsdl; mx:operation name=doGoogleSearch // ...

Re: [flexcoders] Doesn't a Web Service return XML? Confused

2005-03-11 Thread Spike
From the wsdl it looks like the result comes back as a complex type called GoogleSearchResult. I expect Flex is turning that into an ActionScript object... Try using this as the output: mx:TextArea id=theDump text={ws.doGoogleSearch.result.estimateIsExact} / The estimateIsExact key should be