Re: {Disarmed} [flexcoders] Data Paging a la Matt Chotin for Flex 2.1

2007-05-23 Thread Jurgen Beck
Hey Shaun, You may want to check out the FlexBox components list. There are two components, one for a paged DataGrid, the other one for a paged ArrayCollection. http://flexbox.mrinalwadhwa.com/ Jurgen Shaun wrote: I am getting ready to implement a report for a project that requires the

[flexcoders] Re: Modules + Tab Navigators = Error

2007-05-23 Thread boy_trike
I did NOT know there was a hot fix. I downloaded it and unzipped it in the FLEX 2 SDK folder and told it overwrite ALL. I still get the error. (It required me to reenter my license #. When I go to Product Details / Features. The version is 2.0.155577. Does this mean that the update did

RE: [flexcoders] Tabbing bug - disabling tabbing in the application

2007-05-23 Thread Alex Harui
Well, if you can create a mini-example, we can try to see what's going on. I looked at the FM code again. I guess you can capture keyDown in the same way and eat the TABs, something like: systemManager.stage.addEventListener(KeyboardEvent.KEY_DOWN, eatTabHandler, true); private

Re: {Disarmed} [flexcoders] Data Paging a la Matt Chotin for Flex 2.1

2007-05-23 Thread Shaun
Jurgen, Thanks for the tip. I checked them out, but unfortunately, those implementations don't address my main issue: getting the data from the server in a paged fashion. They simply allow you to view an arraycollection in chunks, where Matt's goes back to the server as needed to get chunks of

RE: [flexcoders] Re: Modules + Tab Navigators = Error

2007-05-23 Thread Alex Harui
I'm so many builds down the road that I've lost track of build numbers. Hopefully someone else can confirm. However, I dug further and I'm thinking you have the shared code problem discussed on my blog (http://blogs.adobe.com/aharui/2007/03/modules.html). Declaring a variable of type

[flexcoders] HELPPPP... Whitch one I must use RemoteObject or mxml.RemoteObject ?

2007-05-23 Thread Carlos Humberto
Hi all, I've spent hours and hours thinking how to use the showBusyCursor property and I've resolved with simple way, just modifying the import of RemoteObject from import mx.rpc.remoting.RemoteObject to import mx.rpc.remoting.mxml.RemoteObject My question is how can I know when I must use

RE: {Disarmed} [flexcoders] Data Paging a la Matt Chotin for Flex 2.1

2007-05-23 Thread Matt Chotin
FDS will do some of this work for you automatically, one reason why we didn't write an updated version of the blog post :-) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Shaun Sent: Wednesday, May 23, 2007 2:32 PM To:

Re: {Disarmed} Re: {Disarmed} [flexcoders] Data Paging a la Matt Chotin for Flex 2.1

2007-05-23 Thread Jurgen Beck
I hear ya! I haven't run across any other references, but that is not to say that someone hasn't done it. Matt may be aware of an updated implementation. Matt? Jurgen Shaun wrote: Jurgen, Thanks for the tip. I checked them out, but unfortunately, those implementations don't address my

[flexcoders] Re: textAlign not working for TabBar

2007-05-23 Thread scalenine
I know you can set that via styling: mx:Style Tab { textAlign:left; } /mx:Style --- In flexcoders@yahoogroups.com, phall121 [EMAIL PROTECTED] wrote: I'm not to get textAlign=left working on the TabBar control. I've searched the

Re: {Disarmed} [flexcoders] Data Paging a la Matt Chotin for Flex 2.1

2007-05-23 Thread Shaun
Aww, what about us non-FDS guys, Matt? :-( Protecting the FDS revenue stream I take it? Actually, I would love to use FDS, but unfortunately this app requires a .NET backend and doesn't have the budget for FDS or WebOrb anyway. Oh well, time to start coding... :-) Shaun --- In

RE: {Disarmed} [flexcoders] Data Paging a la Matt Chotin for Flex 2.1

2007-05-23 Thread Matt Chotin
Well, for non-FDS guys the problem was I got a new job and don't have time to code anymore :-) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Shaun Sent: Wednesday, May 23, 2007 2:58 PM To: flexcoders@yahoogroups.com Subject: Re:

RE: {Disarmed} [flexcoders] Data Paging a la Matt Chotin for Flex 2.1

2007-05-23 Thread Matt Chotin
The key to this is write an implementation of IList that throws ItemPendingErrors and then does the loading for you. You then pass that IList to aListCollectionView and away you go. Keep in mind that if you attempt to sort or filter the ListCollectionView will try to load all of your data, so

Re: {Disarmed} Re: {Disarmed} [flexcoders] Data Paging a la Matt Chotin for Flex 2.1

2007-05-23 Thread Jurgen Beck
WebORB for .NET Standard (free) was just updated to include AFM3 doing RPC. You may have an easier time implementing your paged solution with it. May be worth taking a second look at it. Jurgen Shaun wrote: Aww, what about us non-FDS guys, Matt? :-( Protecting the FDS revenue stream I take

Re: {Disarmed} RE: {Disarmed} [flexcoders] Data Paging a la Matt Chotin for Flex 2.1

2007-05-23 Thread Jurgen Beck
Additionally, if you're doing this in .NET you could let your class library handle the paging and simply just move the current recordset to Flex as a List Of objects collection. All you would need to do then is to tell your remote object where you are at in the list and if you are resorting

Re: {Disarmed} RE: {Disarmed} [flexcoders] Data Paging a la Matt Chotin for Flex 2.1

2007-05-23 Thread Shaun
Thanks for the direction, Matt and Jurgen. I now have a plan of attack for tomorrow. Shaun --- In flexcoders@yahoogroups.com, Jurgen Beck [EMAIL PROTECTED] wrote: Additionally, if you're doing this in .NET you could let your class library handle the paging and simply just move the current

RE: [flexcoders] Populate Tree with XML

2007-05-23 Thread Tracy Spratt
Yes, XML works great as a dataProvider Tree. With your structure, you will want to use a labelFunction. I have several examples on CFLEX.net, including labelFunction with complex xml. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

[flexcoders] Using annotationElements for series item labels

2007-05-23 Thread simonjpalmer
Is it possible to use a chart's annotationElements to render labels for data points? I have a bubble chart with data in a single series and I want to add a textual label to each bubble without resorting to a legend and multiple series. The annotationElements looks promising but I can't quite

[flexcoders] Adding a class path to israfil maven plugin

2007-05-23 Thread ivansebastiansurya
Hi everyone, Does anyone know how to add a classpath in the pom file for maven 2 israfil plugin? In Flex builder, this is equivalent to right clicking the object, then select Properties and Flex Build Path. Thanks, Ivan.

RE: [flexcoders] Adding a class path to israfil maven plugin

2007-05-23 Thread Sterling, Brian
Here is my understanding: Each library you depend on should be in your Maven repository. Then you just add a dependency section to your pom.xml as specified in the Setting up SWC dependencies in a SWC or SWF project section of the usage guide at

[flexcoders] Internationalization using Modules?

2007-05-23 Thread gary_mangum
I am trying to figure out the best way to allow my app to support i18n. My first approach was to put all strings into separate ResourceBundles and complile separate SWF files for each language. In other words my entire application is inside of one SWF file and I have one for each language. The

Re: [flexcoders] Data Paging a la Matt Chotin for Flex 2.1

2007-05-23 Thread Scott Stroz
This may help: http://www.boyzoid.com/blog/index.cfm/2007/5/10/Paginate-an-ArrayCollectionthe-easy-way On 5/23/07, Shaun [EMAIL PROTECTED] wrote: I am getting ready to implement a report for a project that requires the user to be able to sift through a maximum of 150,000 records from a

[flexcoders] Clear data after logout

2007-05-23 Thread randall_salas
Hi: I have a Flex app. This app contains a logout function and I would like to clear all variables and also, reinitialize all components. Because some events are triggered when the components are instantiated. Any help would be really appreciate it. Thanks

Re: {Disarmed} RE: {Disarmed} [flexcoders] Data Paging a la Matt Chotin for Flex

2007-05-23 Thread barry.beattie
Jurgen please forgive me for asking, could you clarify what's going on at the .NET end and what the SWF would need to do to get the next page of data? would the 150k+ records be held in a dataset (or whatever) in memory (cache, session, etc) on the server? (flex would need to send a call back

RE: [flexcoders] Cast Exception from FDS to Hibernate

2007-05-23 Thread Jeff Vroom
I think the problem is that you define your Bean property as a Collection, not a Set. But hibernate is expecting an object which implements the Set interface. When FDS deserializes the ActionScript Array collection, it needs to know to convert it to a Set on the server side so it is compatible

[flexcoders] Re: Highlight a word in a RichTextEditor

2007-05-23 Thread Julien Phalip
Thanks a lot, that's very helpful! Now I got the right coordinates. However, I still have a rendering problem. When I try to draw on the RichTextEditor's graphics (e.g. rte.graphics.drawRect(...) the rectangle appears behind the textarea. That kinda makes sense because I guess the textarea is

[flexcoders] ChartItemEvent Bug

2007-05-23 Thread patricklemiuex
I noticed a bug in double click events... i have a couple charts in my application, only one is getting the doubleclick event but I have created 3 of them. top20channelschart.addEventListener(ChartItemEvent.ITEM_DOUBLE_CLICK, getSnappData); tho, when I switch the line to

RE: [flexcoders] Clear data after logout

2007-05-23 Thread Tracy Spratt
By far the easiest way is to simply re-load the entire app. Call navigateToURL with self, and the url of the app. Other than that, you will have to code. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of randall_salas Sent:

[flexcoders] Fixed IT! Thanks

2007-05-23 Thread boy_trike
Declaring a variable of type HistoryManager in the main app should do the trick I think. and it worked! Thanks Bruce

[flexcoders] HTTPService - application/xml - white space added

2007-05-23 Thread pgp.coppens
Gentlepeople, I am using HTTPService to send XML to the server (so what?! ;) ). Anyway, that works fine except for the fact that in cases of mixed xml content flex seems to add (significant) white space in circumstances I have yet to figure out. Has anyone seen this? Is there anything I can do

Re: [flexcoders] Re: Question about inline ItemRenderers

2007-05-23 Thread Flexing...
Hi Sai, In the attached code change mx:RadioButton groupName={parentApplication.sameGroup} value={data.emp}/ to mx:RadioButton group={parentApplication.sameGroup} value={data.emp}/ groupName attribute has been changed to group This should do the job. Thanks On May 24, 2007, at 12:41

[flexcoders] File Upload IO Error because of File Name?

2007-05-23 Thread Tracy Spratt
I can upload files successfully, but have found that some file names cause an IO error to be thrown. The file, OP1_CR001.pdf fails with an io error, though it is a valid pdf file. TestBadOP1.pdf, which is simply a renamed copy of the above file, succeeds in the upload. Are there file naming

[flexcoders] Change the Drag and Drop Image proxy object

2007-05-23 Thread smustafa77
Hi everybody In my application I have a drag and drop between a datagrid and a Hbox which contains a image. I need that when the row is draged from the datagrid,the image of the drag object changes to a particular image. Please let me know if it is possible. Help is appreciated Thanks MS

[flexcoders] Re: Vertial Scroll Issue with Using Date Field ItemRenderer in a DataGrid

2007-05-23 Thread Troy A. Binford
Yes, you are correct. I just had to refresh the app and my problem went away. Thanks! --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: I was not able to reproduce the problem with the datefield in the latest hotfix. From:

[flexcoders] Introduction

2007-05-23 Thread bornaeon
Hi every body. I'm Borna your group new member. I'm from Iran. nice to mitt you all.. and then, is there any body can help me about RTL direction in flex? I know that flash player (Our lovly platform) does not support RTL, but anyway is there any way that we can direct our texts as RTL?

Re: {Disarmed} Re: {Disarmed} RE: {Disarmed} [flexcoders] Data Paging a la Matt Chotin for Flex

2007-05-23 Thread Jurgen Beck
Flex in this case strictly acts as a pure presentation layer. In other words, the data that is viewable in Flex is prepared and provided by the .NET end. More specifically, it is a remote object with a set number of records in the form of a list. Without the more powerful data mangement

RE: [flexcoders] Internationalization using Modules?

2007-05-23 Thread Matt Chotin
I would think about whether you're willing to play with beta software in the next month or so that has solved this problem within the framework :-) Runtime localization is one of our features in Flex 3. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL

Re: [flexcoders] File Upload IO Error because of File Name?

2007-05-23 Thread Mike Weiland
Tracy, Not sure exactly what you are running into, I havenĀ¹t had anything like that in my upload app. However, if you have snort or some other rules based system there might be something like that thinking the file is an intrusion and blocking the upload. We had this happen with WordPress, a

RE: [flexcoders] HTTPService - application/xml - white space added

2007-05-23 Thread Peter Farland
Hmm, have you tried setting the static XML.prettyPrinting property to false before constructing the XML: http://livedocs.adobe.com/flex/2/langref/XML.html#prettyPrinting or played around with the other static properties on XML? From:

RE: [flexcoders] HELPPPP... Whitch one I must use RemoteObject or mxml.RemoteObject ?

2007-05-23 Thread Peter Farland
You can use either one, the mx.rpc.remoting.mxml.RemoteObject subclass is what the MXML tag syntax maps to... the mx.rpc.remoting.RemoteObject superclass is a lighter-weight version which simply exists to avoid dependencies on the rest of the flex framework. Pete

[flexcoders] Webservice with Soapheader

2007-05-23 Thread narennathmal
Can someone provide me an example of calling a webservice from FLEX in which a soapheader is passed. Are there any known limitation on setting the namespace when setting the Qname from the header? Thanks

[flexcoders] Re: textAlign not working for TabBar

2007-05-23 Thread phall121
Great suggestion. I had not thought of this. Unfortunately, though, this didn't work. I applied in a couple of different ways and still no luck. But, again, thanks for the suggestion! It was worth a try. PHall --- In flexcoders@yahoogroups.com, scalenine [EMAIL PROTECTED] wrote: I know

[flexcoders] FileReference upload request does not get to the servlet in Unix comp

2007-05-23 Thread ivansebastiansurya
Hi everyone, I've got a funny problem with my Flex application. I've got a client that lets user upload File to a Java servlet (image file). It works fine when I run it in WIndows machine using any browser. But when I run it in Unix/Linux machine, it seems that the upload request never reaches

Re: [flexcoders] FileReference upload request does not get to the servlet in Unix comp

2007-05-23 Thread Bjorn Schultheiss
There may be characters in the image filename that need to be escaped? Do you make the upload call in a try catch block? Usually the upload will not take place if the player detects a possible error prior to making the upload.. regards, Bjorn On 24/05/2007, at 2:40 PM, ivansebastiansurya

Re: [flexcoders] Locking Last row in a Flex Data Grid

2007-05-23 Thread Dharmendran A
Got It !!! Thanks :))) - Original Message From: Harish Sivaramakrishnan [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, May 23, 2007 5:46:37 PM Subject: Re: [flexcoders] Locking Last row in a Flex Data Grid http://blogs. adobe.com/ aharui/2007/ 04/datagrid_

[flexcoders] One Item Renderer Component for Multiple Columns in a DataGrid - How to find name of column being rendered?

2007-05-23 Thread Thind, Aman
Hello, I have many columns in my DataGrid that have similar values and I need to render them in a similar manner. So I wish to write just one itemRenderer component and set that as the renderer of all these columns. So I believe each column will invoke my renderer when my grid shows up.

Re: [flexcoders] One Item Renderer Component for Multiple Columns in a DataGrid - How to find name of column being rendered?

2007-05-23 Thread Flexing...
You need to use Action-Script to set the column renders: var colRendererFactory:ClassFactory = new ClassFactory(columnRenderer); colRendererFactory.properties = {columnName:mycol1}; column1.itemRenderer = colRendererFactory var colRendererFactory2:ClassFactory = new

RE: [flexcoders] One Item Renderer Component for Multiple Columns in a DataGrid - How to find name of column being rendered?

2007-05-23 Thread Thind, Aman
Hi Flexing, Thanks for the reply! Yes I already set my itemrenderers in actionscript using: column.itemRenderer = new ClassFactory (com.lehman.smd.util.ValueRenderer); for all my columns. My problem is inside the itemRenderer component, I do not know the name of the column that

<    1   2