[flexcoders] Re: Tapping into the Cairngorm event model? Merging info from different components

2008-04-30 Thread Tim Hoff
For clarity, one addendum: use the CairngormEventDispatcher to dispatch your Cairngorm events. -TH --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Hi Mic, One way that you can create a solution for your use case is to use Cairngorm events. A common misconception is

[flexcoders] Re: Tapping into the Cairngorm event model? Merging info from different components

2008-04-30 Thread Tim Hoff
Hi Mic, One way that you can create a solution for your use case is to use Cairngorm events. A common misconception is that all Cairngorm events have to be registered to a command in the FrontController and that they all need to have an custom event class. They don't. In some cases, for simple

[flexcoders] Webservice / web proxy clarification

2008-04-30 Thread Giles Roadnight
Hi All On the project we are working on at the moment we are connecting to SOAP services with a wsdl. We've used the import web service tool to generate all the local (buggy and horrible to read) code. In the past I've just used a webservice object to connect to SOAP with a wsdl. Why do we

Re: [flexcoders] Re: LinkButton in DataGrid

2008-04-30 Thread Hasan Maqbool
Hey Anthony, Thank you very much for your very quick reply. But actually, I need to place a label which is something like Edit | Analytics in the datagrid column Now, clicking on Edit will open a new page while clicking on Analytics will open a different page. But opening pages is not an issue.

Re: [flexcoders] Synchronous web service calls

2008-04-30 Thread Tom Chiverton
On Tuesday 29 Apr 2008, byte.sensei wrote: Because of the way the order is handled, it is split into multiple (smaller) orders and then each order is submitted/saved via a web service call. Could you wrap this complexity up in your own single server-side method ? -- Tom Chiverton Helping to

Re: [flexcoders] Frustrations with blazeds messaging

2008-04-30 Thread Tom Chiverton
On Tuesday 29 Apr 2008, netdeep wrote: huge. I've plotted over 140K points in some runs. But even when I filter the data and plot around 10K points, I get browser lockup while it loads and it takes 5-10 seconds to produce the chart and lately it has even been crashing on the larger data

Re: [flexcoders] Cairngorm Model Locator

2008-04-30 Thread Tom Chiverton
On Tuesday 29 Apr 2008, gerhard.schlager wrote: 1) How can I make sure that unused data gets removed from the Model Locator? Why do you need to do so ? -- Tom Chiverton Helping to vitalistically negotiate B2C content on: http://thefalken.livejournal.com

Re: [flexcoders] Re: Cairngorm Model Locator

2008-04-30 Thread Tom Chiverton
On Wednesday 30 Apr 2008, Ben Clinkinbeard wrote: container for a result and fault handler. Rather than your custom events extending CairngormEvent, they extend UMEvent (which in turn extends CairngormEvent), whose second parameter is of type Callbacks. Do I have to give both success and

[flexcoders] Re: ERROR 1009

2008-04-30 Thread smbrinkley6
This is my code: mx:Canvas id=Comments label=Comments mx:VBox id=commentsVbox width=100% height=100% mx:Repeater id=commentsArea dataProvider={qComments} recycleChildren=true mx:TextArea id=commentArea htmlText={commentaArea.currentItem.comments} width=100% editable=false

[flexcoders] AutoCompletion for custon event like with normal event

2008-04-30 Thread Flap Flap
Hi there, Does anybody knows if there is a way to have custom Event autocomplete in the addEventListener method like native Events ? Example : A custom class named Dispatcher with a metadata tag [Event(name=test, type=test.MyEvent)] and a custom event class : package test { import

[flexcoders] Use hibernate annotations with LiveCycle Data Services

2008-04-30 Thread Mathieu Fernandez
Hello, I'm trying to use hibernate annotations with LiveCycle Data Services. My problem is when I launch my server I have this error : An annotationConfiguration instance is required to use mapping class=... So I would like to know how enabling annotation configuration? Thanks

[flexcoders] pending item

2008-04-30 Thread annouss79
i need help about this error : Error: Item requested is not available. A request for the item is now pending. thx

Re: [flexcoders] Re: Cairngorm Model Locator

2008-04-30 Thread Ben Clinkinbeard
Do I have to give both success and failure callbacks Nope, only the first arg (result handler) is required will it use one defined in the Command if (say) the failure callback is missing from the UMEvent ? Exactly, that's a very common approach Ben Sent via BlackBerry by ATT

[flexcoders] implementation of JAAS in Servlet????

2008-04-30 Thread Ganesh Suyampirakasam
Hello Anyone know how to implement JAAS concept in Servlet..?? kindly give me rough idea... anyone work with that things ...kindly explain me.. thanks in advance Ganesh Download prohibited? No problem. CHAT from any browser, without download. Go to

[flexcoders] Re: Deep Linking Problems

2008-04-30 Thread dave_defusion
I haven't had any issues with browsermanager/deep linking either, but I've not gotten to the stage where I really thrash it via testing. As mentioned earlier the other alternative is to use SWFAddress, here is an implementation that allows you to use your existing browser manager code with

[flexcoders] implementation of JAAS in Servlet????

2008-04-30 Thread Ganesh Suyampirakasam
Hello Anyone know how to implement JAAS concept in Servlet..?? kindly give me rough idea... anyone work with that things ...kindly explain me.. thanks in advance Ganesh From Chandigarh to Chennai - find friends all over India. Go to http://in.promos.yahoo.com/groups/citygroups/

[flexcoders] implementation of JAAS in Servlet????

2008-04-30 Thread Ganesh Suyampirakasam
Hello Anyone know how to implement JAAS concept in Servlet..?? kindly give me rough idea... anyone work with that things ...kindly explain me.. thanks in advance Ganesh Best Jokes, Best Friends, Best Food and more. Go to http://in.promos.yahoo.com/groups/bestofyahoo/

[flexcoders] Re: Cairngorm Model Locator

2008-04-30 Thread gerhard.schlager
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: Why do you need to do so ? I need to do this because there would be a lot of unused data in the client's memory. When a user works for hours with the application he will be working with a lot of data. Without freeing the

[flexcoders] Re: Cairngorm Model Locator

2008-04-30 Thread gerhard.schlager
That's exactly what I was thinking about after I wrote my first message. I could do this in the Commands that load / unload the data. I have to check there if the data is already loaded anyway, so that could be the right place to track which window is using the data. --- In

[flexcoders] Modular Application

2008-04-30 Thread Indra Prastha
Hi Guys, Just wondering , whats the best way to build an application that's modular based? Wanted to create one application with a menu on top, each menu item loads another flex app below it inside a container. Flex documentation says that, each sub-application should be compiled into SWF and

[flexcoders] DataGrid Column Renderer not applying styles

2008-04-30 Thread Tyler Frieling
Hi all, I am creating a column renderer to print the summation of some of my data grid's columns as part of the header e.g. Cost: $445.00. Everything is working but the styles are not getting applied. Any ideas? Code below for the renderer. public class SummationHeaderRenderer extends

[flexcoders] blazeds / livecycle ds question

2008-04-30 Thread ibo
I know I have asked this question before but unfortunately I havent found an answer yet :P. Maybe Mr. Vroom can shed some light on this? tia. what if there is at least 500 users using the client, assuming the server is configured to handle the load hardware-wise, does the blazeds keeps

[flexcoders] Re: Flex WS client and Weblogic 8.1 web service

2008-04-30 Thread abdul.basit
This blog explains how to integrate with flex.war with weblogic server: http://www.davidmaddison.co.uk/archives/000103.php --- In flexcoders@yahoogroups.com, abdul.basit [EMAIL PROTECTED] wrote: I did few changes, instead of building a swf from a flex builder I configure all required files

[flexcoders] ANN: Integration between Delphi and Flex (AMF3)

2008-04-30 Thread Kim Bo Madsen
Hi, I hope this is not inappropriate, but I was thinking you may want to know that we have just released the first beta of our application server product for Delphi, kbmMW Enterprise Edition v. 2.90, with support for AMF3. Hence its now possible to also use Adobe Flex to directly access

Re: [flexcoders] Date and Time Math (DST change implications)

2008-04-30 Thread Ryan Matsikas
Convert both dates to the same timezone, I suggest UTC since its already there, then do the math. On Fri, Apr 25, 2008 at 5:03 AM, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 22 Apr 2008, jmfillman wrote: I assume that I need to account for that 1 hour, the question is, how?

[flexcoders] subtopic vs. selector

2008-04-30 Thread strykker75
So, I noticed that there are two very similar ways to break up channels when using the message service. I could not find a discussion of the pros and cons of each. Any thoughts? It seems to me the only real difference is that with subtopics, the producer creates a separate stream of

[flexcoders] Creating and downloading a file in client or alternatives

2008-04-30 Thread ilkka.kudjoi
Hi, we do have a flex application running on a server using .NET C# over FluorineFX. We need to export tables in Excel, so I suppose should create text file containing a html table and set it's mime type to Excel so that the file would open in Excel as default. Is there any means of creating

[flexcoders] How to change columns count in FileSystemDataGrid?

2008-04-30 Thread Carlo Gulliani
Good time, everybody. I've mx:FileSystemDataGrid component. After run compiler i see 5 columns, such as: Name, Type, Size, Created and Modified. Could you tell me, how can i change number of columns in my FileSystemDataGrid component? I want to leave only 3 columns: Name, Type and Size. and how

RE: [flexcoders] Modular Application

2008-04-30 Thread Battershall, Jeff
Flex Builder 2.01 has module support so those modules will be compiled with the main application. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Indra Prastha Sent: Tuesday, April 29, 2008 10:02 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Creating and downloading a file in client or alternatives

2008-04-30 Thread Battershall, Jeff
I'm not sure how you'd do this on the client with a web-based application. For the server side solution, I know how I would do this with ColdFusion, by setting the mime-type of the returned content, stipulating that its an attachment, and so forth. The file does not need to be written to disk in

[flexcoders] Converting Object To XML

2008-04-30 Thread Parkash
Hello Firends .. I have an AS object which contains other collection of other AS Object now is thier any api which converts my AS object and its containing collection to an XML String .. Thanks in Advance 4 UR Help ...

[flexcoders] Re: Need help finding and fixing SQL Error in AIR App

2008-04-30 Thread valdhor
Nope - nothing to do with the XML. You have a comma missing between :Sheet_Depth and :Unique_Product_Code in your sqlText variable in your insertData function. --- In flexcoders@yahoogroups.com, bredwards358 [EMAIL PROTECTED] wrote: So, I finish a simple application to turn an XML Document

RE: [flexcoders] Converting Object To XML

2008-04-30 Thread Jim Hayes
I guess you'd start with looking at SimpleXMLEncoder : from the help The SimpleXMLEncoder class take ActionScript Objects and encodes them to XML. Not used it myself I'm afraid! -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Parkash Sent:

[flexcoders] Re: LinkButton in DataGrid

2008-04-30 Thread bhaq1972
easiest way to get started (may not be the best way) would be to extend on the suggestion given, try mx:DataGridColumn headerText=COlumn 1 mx:itemRenderer mx:Component !--mx:Button label=Click Test width=200 click=outerDocument.handleClick(event) /-- mx:HBox verticalAlign=middle

[flexcoders] Re: Frustrations with blazeds messaging

2008-04-30 Thread netdeep
Thanks for the reply Tom. I do have shadows turned off but it doesn't seem to help. I agree 10K points seems like too much, but here is a sample of the chart which I am trying to reproduce (There are several charts on this page and if you select 'Ch95' the top chart is the one I am

[flexcoders] Re: Click Lite: The right click now. But not now?

2008-04-30 Thread jrunrandy
Thanks for the feedback, Jason. I've cc'd our documentation manager Randy Nielson so that he's aware of your frustration. Perhaps he's aware of some migration docs that can help you. Hi Jason, Maybe check out the Migrating Applications to Flex 2 book, available at

[flexcoders] Re: Creating and downloading a file in client or alternatives

2008-04-30 Thread simonjpalmer
you can do this as a comma separated or tab separated stream of text prepared on the client then sent to a very simple jsp page on the server which bounces it back as a response with the file name and mime type set correctly so the client gets a download file dialog from the browser. We do this

[flexcoders] Re: Calling a function in an inner pd

2008-04-30 Thread Scott
Thanks for the reply. I think I'm going to set bindable properties inside the other pod and automatically update the info that way. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: You can certainly do this with a direct call, but you will be better served to use an

[flexcoders] Extend label class to always show tooltips?

2008-04-30 Thread robert.ross27
Hi folks, I'm trying to make tooltips in a datagrid appear, below and to the right of the mouse, as they would with the Label component. so in the column... mx:DataGridColumn itemRenderer=mx.controls.Label dataField=name headerText=List/ However this means that the

[flexcoders] Flex IDE? url not what i changed it to

2008-04-30 Thread Jason B
im using the flex IDE trial and ive for over an hour tried to change the url param's. i have them as mx:Button x=254 y=90 label=Search click=generalhttprequest('?searching_station=true%26searchstation=' + searchstation.text); / Heres PHP Recording to a file what is coming in? array(2) {

Re: [flexcoders] Re: Cairngorm Model Locator

2008-04-30 Thread Tom Chiverton
On Wednesday 30 Apr 2008, Ben Clinkinbeard wrote: Do I have to give both success and failure callbacks Nope, only the first arg (result handler) is required But I can intermix UMEvent and Cairngorm Event as needed, right ? will it use one defined in the Command if (say) the failure

Re: [flexcoders] Re: Cairngorm Model Locator

2008-04-30 Thread Tom Chiverton
On Wednesday 30 Apr 2008, gerhard.schlager wrote: will be working with a lot of data. More than a few tens of meg ? If not, don't worry about it. wouldn't be possible. Moreover, after some time he would be working with old and inaccurate data since the data is already loaded on the client

[flexcoders] Re: Flex IDE? url not what i changed it to

2008-04-30 Thread Jason B
well turns out i had to remove the files from the server and rebuild them. it's weird that flex ide didnt when compiling overright the older swf file?

[flexcoders] Re: http 500 responses from soap, can Flex handle them?

2008-04-30 Thread Steve Ashton
A workaround that I found on the net last year is to filter the response on the server side. I use Tomcat, not sure how it's done on other servers. I created a servlet filter that all my web service calls are routed through. I then override the setStatus method of the

RE: [flexcoders] compc and manifest file

2008-04-30 Thread Gregor Kiddie
I've answered a similar question a number of times now. Check the archives for some ant magic to prevent the need for a manifest. Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number:

Re: [flexcoders] Re: Cairngorm Model Locator

2008-04-30 Thread Douglas Knudsen
On Wed, Apr 30, 2008 at 10:49 AM, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 30 Apr 2008, Ben Clinkinbeard wrote: Do I have to give both success and failure callbacks Nope, only the first arg (result handler) is required But I can intermix UMEvent and Cairngorm Event as needed,

RE: [flexcoders] Use hibernate annotations with LiveCycle Data Services

2008-04-30 Thread Jeff Vroom
The 2.6 beta (on labs.adobe.com) has annotations support built in - you have to use the HibernateAnnotationsAssembler instead of the HibernateAssembler in your data-management-config.xml. It is not too hard to add to 2.5.1 if you need it there too... there are some new jar files you need to add

[flexcoders] Re: Frustrations with blazeds messaging

2008-04-30 Thread netdeep
Robert, thanks for the reply and your interest in helping. I really appreciate it. The points consist of a Date (x axis) and a number (y axis) They are passed as an array (for each axis) of DataPoint objects (a simple custom class with 2 variables) from java. These are then assigned to an

Re: [flexcoders] Re: Cairngorm Model Locator

2008-04-30 Thread Tom Chiverton
On Wednesday 30 Apr 2008, Douglas Knudsen wrote: Do I have to give both success and failure callbacks Nope, only the first arg (result handler) is required But I can intermix UMEvent and Cairngorm Event as needed, right ? Sure. Just to reiterate UMEvent extends CairngormEvent. Cool.

Re: [flexcoders] Re: Cairngorm Model Locator

2008-04-30 Thread Ben Clinkinbeard
I think support for mixing event types is actually a recent change to the Command class provided by UM Cainrgorm (which your commands then subclass). If your version of the code is more than about a week old I would suggest pulling down the latest. Ben On Wed, Apr 30, 2008 at 10:54 AM, Douglas

Re: [flexcoders] Converting Object To XML

2008-04-30 Thread Michael Wills
Here is an example that might be helpful: http://blog.flexexamples.com/2008/03/04/converting-objects-to-xml-packets-using-the-simplexmlencoder-class-in-flex/ Jim Hayes wrote: I guess you'd start with looking at SimpleXMLEncoder : from the help The SimpleXMLEncoder class take ActionScript

RE: [flexcoders] BlazeDS, List of VOs inside a VOs won't translate

2008-04-30 Thread Alan Prather
Sorry, I did have it declared correctly but still no luck. I am SO stuck and my boss is on my tail like mad now :-( The actual code (I had typed the email manually) has it declared properly as: public var urlButtons: ArrayCollection; on the Flex side, and it's declared as a List (that

RE: [flexcoders] BlazeDS, List of VOs inside a VOs won't translate

2008-04-30 Thread Battershall, Jeff
Alan, I got you on the docs - but here's what I don't get - an ArrayCollection is just a wrapper around an Array and is intended for the client. Personally, I wouldn't bother trying to translate an ArrayCollection to my backend, and vice versa regardless of whether I'm using CF, Java, or

Re: [flexcoders] Flex IDE? url not what i changed it to

2008-04-30 Thread Derrick Anderson
maybe u can let us see the generalhttprequest function? d. On Wed, Apr 30, 2008 at 10:44 AM, Jason B [EMAIL PROTECTED] wrote: im using the flex IDE trial and ive for over an hour tried to change the url param's. i have them as mx:Button x=254 y=90 label=Search

Re: [flexcoders] blazeds / livecycle ds question

2008-04-30 Thread Robert Cadena
if you configure the destination scope to application then there should be one per app, if you configure it request, then there's as many concurrently as there are concurrent requests, so depends. if you configured it session then, i defer to Mr. Vroom for the answer =p /r On Tue, Apr 29,

[flexcoders] BlazeDS Security Confusion

2008-04-30 Thread Jim Boone
Hi, I am trying to wrap my brain around the BlazeDS destination security model. I have read the Securing destinations section in the BlazeDS Developer's Guide about 20 times and I have spent the better part of a day trying to determine the best way to secure destinations. I'm sure it is simple

[flexcoders] Re: Need help finding and fixing SQL Error in AIR App

2008-04-30 Thread bredwards358
--- In flexcoders@yahoogroups.com, valdhor [EMAIL PROTECTED] wrote: Nope - nothing to do with the XML. You have a comma missing between :Sheet_Depth and :Unique_Product_Code in your sqlText variable in your insertData function. Cool, thanks for pointing that out as well. I've figured a few

[flexcoders] Re: Flexbuilder or Eclipse plugin to emulate VisualStudio function drop down?

2008-04-30 Thread djohnson29
Thanks very much - that is a great feature that I was unaware of. That should speed things up nicely! --- In flexcoders@yahoogroups.com, jensen.axel [EMAIL PROTECTED] wrote: You can press Ctrl + o (thats o as in ox) and it will give you a little popup that lets you type and filter

RE: [flexcoders] Creating and downloading a file in client or alternatives

2008-04-30 Thread zoltan
Hi, with any type of backend you can generate files on the fly, so they will not be saved in the server's filesystem and your client will still access it with Url/FileReference For example check out the Simply Compatible: Tab Delimited Format section here

[flexcoders] FlexBuilder3 and Web Service proxy generation tool

2008-04-30 Thread Robert Csiki
This tool generates Actionscript code that is not usable at all. I created a very simple Web Service, deployed it and then I used this tool from FlexBuilder3 to get the AS code in order to consume the service. This generated proxy code is buggy and therefore is not working, even for very, very

RE: [flexcoders] pending item

2008-04-30 Thread Tracy Spratt
Context? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of annouss79 Sent: Wednesday, April 30, 2008 6:02 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] pending item i need help about this error : Error: Item

Re: [flexcoders] Re: Need help finding and fixing SQL Error in AIR App

2008-04-30 Thread Michael Wills
Going back over this conversation, perhaps you could use a pastebin to post the code chunks? I have seen http://pastebin.org/ but I haven't used it before. I am curious about the invalid characters though because the only thing I have seen in the docs so far is that you have to use two single

[flexcoders] Re: Need help finding and fixing SQL Error in AIR App

2008-04-30 Thread valdhor
There are a few predefined characters that can confuse XML. A good article to peruse is at: http://articles.techrepublic.com.com/5100-22-5032714.html '-' and '/' aren't listed. --- In flexcoders@yahoogroups.com, Michael Wills [EMAIL PROTECTED] wrote: Going back over this conversation,

[flexcoders] Re: Error with building dataGrids dynamically

2008-04-30 Thread markgoldin_2000
With this code: override protected function drawColumnBackground(s:Sprite, columnIndex:int, color:uint, column:DataGridColumn):void { if (showHeaders) { listItems.push(new Array()); super.drawColumnBackground(s, columnIndex, color, column);

[flexcoders] Re: Resetting a datechooser

2008-04-30 Thread gur_sukh
Do we have a solution for this? is there a way to reset the date chooser to open with today's date or the date that is in the text? Thanks in advance --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Hmm, that is unexpected. Can you post a small example app? Tracy

[flexcoders] UIComponent - updateDisplayList

2008-04-30 Thread djhatrick
I've created a UIComponent, isn't the this.graphics called automatically on all UIComponents that are added to the the stage? code snippet: override protected function updateDisplayList(unscaledWidth:Number,unscaledHeight:Number):void{ Debug.out(update

[flexcoders] ConstraintColumn in VBox- why not?

2008-04-30 Thread ben.clinkinbeard
Before I go whining to bugs.adobe.com, is there a good reason VBox couldn't support ConstraintColumn and HBox couldn't support ConstraintRow? Seems like since they don't deal with the dimension controlled by layout they should be doable but thought I would ask first. Thanks, Ben

[flexcoders] How to change columns count in FileSystemDataGrid?

2008-04-30 Thread Carlo Gulliani
Good time, everybody. I've mx:FileSystemDataGr id component. After run compiler i see 5 columns, such as: Name, Type, Size, Created and Modified. Could you tell me, how can i change number of columns in my FileSystemDataGrid component? I want to leave only 3 columns: Name, Type and Size. and

RE: [flexcoders] UIComponent - updateDisplayList

2008-04-30 Thread Alex Harui
If you don't specify a size or measure() you might be shrunk to 0 size. If updateDL isn't being called, try calling invalidateDisplayList() at some point. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of djhatrick Sent: Wednesday, April

[flexcoders] Ali from Riccione

2008-04-30 Thread Mir Ali
Hi, I would be interested to be a member of your group. Thanks. Ali -- Mir Ali Riccione Resources, Inc 972.407.1900 x 21 [EMAIL PROTECTED] Please review our web site at: http://www.riccione.com/ for more information. Putting the right people together

RE: [flexcoders] Re: Error with building dataGrids dynamically

2008-04-30 Thread Alex Harui
I don't have time to prepare a full solution. I'm only trying to give you pointers about where to go. The debugger will tell you what is going wrong. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Wednesday,

[flexcoders] Raising Events with Properties

2008-04-30 Thread Nate Pearson
I want to raise an event with some custom properties. Here's my event name: mx:Metadata [Event(name=projectSelected)] /mx:Metadata In code I say: dispatchEvent(new Event(projectSelected)); Now I want to send a ProjectID and ProjectType with the event. Is this possible? Maybe a custom

[flexcoders] Re: How to change columns count in FileSystemDataGrid?

2008-04-30 Thread valdhor
?xml version=1.0 encoding=utf-8? mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=onCreationComplete() mx:Script ![CDATA[ import mx.controls.dataGridClasses.DataGridColumn; private function onCreationComplete():void

RE: [flexcoders] Extend label class to always show tooltips?

2008-04-30 Thread Alex Harui
If you use dataTipFunction, they will always show From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of robert.ross27 Sent: Wednesday, April 30, 2008 7:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Extend label class to always

[flexcoders] Re: Raising Events with Properties

2008-04-30 Thread caffeinewabbit
You'll need to extend event and create a custom child class. Custom event code: package my.package.path { import flash.events.Event; public class MyEvent extends Event { public static const PROJECT_SELECTED:String = projectSelected; public var projectID:Number;

[flexcoders] Re: Raising Events with Properties

2008-04-30 Thread Nate Pearson
You are freaking awesome! Thanks for giving me that example! --- In flexcoders@yahoogroups.com, caffeinewabbit [EMAIL PROTECTED] wrote: You'll need to extend event and create a custom child class. Custom event code: package my.package.path { import flash.events.Event; public

[flexcoders] binding question?

2008-04-30 Thread markflex2007
I have two screens for testing. a) I set object values in screen 1 (for instance obj.value =abc) and go to screen 2 b) I show the value in screen 2 with binding (for instance mx:Label x=37 y=46 text={obj.value}/ and go to screen 1 it works fine when it excute first time.(from screen 1 to

[flexcoders] Re: Date and Time Math (DST change implications)

2008-04-30 Thread jmfillman
I've been playing with this for the past week or so, and the best option I have found is like this: var dateOffset:Number; if (newDate.selectedDate.getTimezoneOffset() == originalDate.getTimezoneOffset()) { dateOffset = ((newDate.selectedDate.getTime() - originalDate.getTime ()) / 8640);

[flexcoders] Update all ItemRenderers in TileList

2008-04-30 Thread Ben Marchbanks
I have a TileList with itemRenders for which I would like to update the toolTips dynamically. After the list is displayed related data is retrieved at which time I would like to trigger an updateDisplayList for each of the IR. Resizing the the application window triggers the update but what's

[flexcoders] Re: binding question?

2008-04-30 Thread emersonfcardoso
I guess it's needing [Bindable] somewhere in your code.. --- In flexcoders@yahoogroups.com, markflex2007 [EMAIL PROTECTED] wrote: I have two screens for testing. a) I set object values in screen 1 (for instance obj.value =abc) and go to screen 2 b) I show the value in screen 2 with

RE: [flexcoders] Re: Raising Events with Properties

2008-04-30 Thread Tracy Spratt
But you may not need a custom event. Folks tend to forget the all event handlers have access to the object that raised the event via the target and currentTarget properties. So if you expose the ID and Type as public properties on your class, you can access them in the handler. Much

RE: [flexcoders] binding question?

2008-04-30 Thread Tracy Spratt
Is obj type Object? Dynamic Object properties are not bindable. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markflex2007 Sent: Wednesday, April 30, 2008 2:41 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] binding

[flexcoders] Re: Resetting a datechooser

2008-04-30 Thread valdhor
The following works for me. What does it do for you? ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical mx:Script ![CDATA[ public function changeDate():void { myDateChooser.selectedDate

Re: [flexcoders] binding question?

2008-04-30 Thread Mark Shen
obj is a instance of VO(value object), do you think if the binding is ok? Thank Mark - Original Message From: Tracy Spratt [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, April 30, 2008 3:19:33 PM Subject: RE: [flexcoders] binding question? Is “obj” type “Object”?

[flexcoders] question for cairngprm ModelLocator?

2008-04-30 Thread markflex2007
Hi I use cairngorm. obj1 is property in modelLocator and it is a instance of a VO I have the code in the view page ... [Bindable] private var modelLocator : ModelLocator = ModelLocator.getInstance(); ... mx:TextInput id=cname x=306 y=43 text={modelLocator.obj1.name} width=196 / ...

[flexcoders] Question on State Management - Please Help

2008-04-30 Thread jkasham
In a component that im working on, im trying to set up multiple views where i have a filter panel that slides in on the right and a detail panel that slides in from the bottom. These are both separate, meaning that there are two buttons that effect each state. I was able to figure out how to make

[flexcoders] Re: question for cairngprm ModelLocator?

2008-04-30 Thread jtgrassie
Probably because your obj1 and/or VO.name is not marked as [Bindable]. --- In flexcoders@yahoogroups.com, markflex2007 [EMAIL PROTECTED] wrote: Hi I use cairngorm. obj1 is property in modelLocator and it is a instance of a VO I have the code in the view page ... [Bindable]

[flexcoders] Datagrid update question

2008-04-30 Thread Nicolas Boulet-Lavoie
Hello guys, I have a method who parses a XML feed and updates a datagrid each seconds (it’s for a real-time customer support). I have a question about this mechanism. Is that possible to keep the current selectedIndex of the datagrid? Because, as soon as the grid is udpated by the next update

RE: [flexcoders] binding question?

2008-04-30 Thread Tracy Spratt
Not if the VO is a dynamic object. What is it? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Shen Sent: Wednesday, April 30, 2008 3:21 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] binding question? obj

RE: [flexcoders] Datagrid update question

2008-04-30 Thread Tracy Spratt
...By placing the selectedIndex in a int... that is the simplest way. If, instead of re-assigning the entire dataProvider, you can figure out a way to only update the changed data, using the dataProvider API, the UI will update, and not redraw entirely. I usually just keep the selectedIndex

[flexcoders] Re: Yahoo ASTRA AutoCompleteManager component error

2008-04-30 Thread alariccole
Could you provide details on what you are doing, such as sample code and build set-up. I have not been able to reproduce the error. --- In flexcoders@yahoogroups.com, pioplacz [EMAIL PROTECTED] wrote: Hi, I was just wondering if anybody experience problem when enabling autofill on the

RE: [flexcoders] Re: Raising Events with Properties

2008-04-30 Thread Gordon Smith
Writing an event subclass is best-practice, but if you want to be lazier you can use the DynamicEvent class. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nate Pearson Sent: Wednesday, April 30,

[flexcoders] BlazeDS: java.lang.NoSuchFieldError: ENDPOINT_REQ_CHILDREN

2008-04-30 Thread sk_acura
HI All, When i try to upgrade from Flex2 to Flex3 in my Blaze App i am getting the following Error: SEVERE: Allocate exception for servlet MessageBrokerServlet java.lang.NoSuchFieldError: ENDPOINT_REQ_CHILDREN at

RE: [flexcoders] How to change columns count in FileSystemDataGrid?

2008-04-30 Thread Gordon Smith
To show only the Name, Type, and Size columns, do myFileSystemDataGrid.columns = [ myFileSystemDataGrid.nameColumn, myFileSystemDataGrid.typeColumn, myFileSystemDataGrid.sizeColumn ]; DataGrids don't support specifying percentage widths for their columns. You'll have to apply the

Re: [flexcoders] binding question?

2008-04-30 Thread Mark Shen
I change the obj to static. problem fixed.Thanks Mark - Original Message From: Tracy Spratt [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, April 30, 2008 4:17:34 PM Subject: RE: [flexcoders] binding question? Not if the VO is a dynamic object. What is it? Tracy

[flexcoders] Re: BlazeDS Security Confusion

2008-04-30 Thread meteatamel
Hi Jim, The short answer is that TomcatLoginCommand uses Tomcat valve to do its authentication/authorization but here's a writeup I have on BlazeDS security that should clarify things. -Mete = BlazeDS uses the security framework of the

[flexcoders] ObjectProxy override flash_proxy not firing for known properties problem

2008-04-30 Thread madflexcoder
I'm extending ObjectProxy and overriding flash_proxy setProperty() in an object and it's not firing when setting known properties. Is there any way around this? it seems to fire when I dynamically add properties but not for my known properties.

[flexcoders] Issues with Air...

2008-04-30 Thread djhatrick
Hi, I've logged the following bugs in JIRA for adobe, but I'm having issues with NativeWindows and extending a sprite and drawing graphics into that sprite and then adding it to my nativeWindow - the sprite is never added and is never visible. Has anyone had issues with the NativeWindow

Re: [flexcoders] Re: http 500 responses from soap, can Flex handle them?

2008-04-30 Thread Josh McDonald
Yeah, I found something similar, although we haven't figured out how to do the same thing to Oracle SOA yet :S -J On Thu, May 1, 2008 at 12:51 AM, Steve Ashton [EMAIL PROTECTED] wrote: A workaround that I found on the net last year is to filter the response on the server side. I use Tomcat,

[flexcoders] Re: pending item

2008-04-30 Thread annouss79
not context , i'm trying to get an arrayCollection of objects (myObject) using getItemAt(i) thx

  1   2   >