[flexcoders] Re: Does LCDS support replication of runtime created Destination ?

2009-08-09 Thread Dharmendra Chauhan
Now , I assume that LCDS does not support replication of run time created Destination. Regards, Dharmendra --- In flexcoders@yahoogroups.com, "Dharmendra Chauhan" wrote: > > Hi All , > I have been working on LCDS clustering and I could successfully got > static

[flexcoders] Does LCDS support replication of runtime created Destination ?

2009-08-06 Thread Dharmendra Chauhan
Hi All , I have been working on LCDS clustering and I could successfully got static destination clustering working .. But I need to Clustering/Replication for runtime created Destination. Does LCDS support it ? Regards, Dharmendra

[flexcoders] DataService Destination Clustering is not working

2009-08-05 Thread Dharmendra Chauhan
Hi All , We are trying to get clustering configured for our application so that DataService's Destination keep serving the cleint in case of any server failure . We are using F5 hardware load balancer. We have set up a default-cluster, using tcp and while creating DataService Destination

[flexcoders] Does it required to have Licenced Version of LCDS for Clustering

2009-07-29 Thread Dharmendra Chauhan
Hi, I am bit confused on LCDS products. I have downloaded trial version and trying to replicate DataService's Destination. Does it required to buy licensed veresion of LCDS to DataServive Destination replication ? My req is If serverA is down then user should immedialtely get connected to s

[flexcoders] Re: Memory Leak in DataServices based App ??

2009-06-29 Thread Dharmendra Chauhan
collected. > > Alex Harui > Flex SDK Developer > Adobe Systems Inc.<http://www.adobe.com/> > Blog: http://blogs.adobe.com/aharui > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Dharmendra Chauhan > Sent: Saturday, June 27, 2009 1

[flexcoders] Re: Memory Leak in DataServices based App ??

2009-06-27 Thread Dharmendra Chauhan
Systems Inc.<http://www.adobe.com/> > Blog: http://blogs.adobe.com/aharui > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Dharmendra Chauhan > Sent: Friday, June 26, 2009 10:21 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Me

[flexcoders] Memory Leak in DataServices based App ??

2009-06-26 Thread Dharmendra Chauhan
Hi All, I have very basic application which uses DataSerives over RTMP channel to populate dataGrid , I have not used any user defined component. This application has got LOAD data and Remove data Button just to simulate the actual application What happens , when I click on LOAD data

[flexcoders] Need suggestion on design

2009-06-10 Thread Dharmendra Chauhan
Hi There, I need some thoughts or ideas in designing loading status functionality in flex app. pls see the req below : - Requirement : Showing loading status in DataService based DG and turn it off when loading is done. DataService's fill method is fetching data from Jboss deployed app.

[flexcoders] Re: DataGrid not releasing memory on removeAll()

2009-06-08 Thread Dharmendra Chauhan
had to call the script to release the > renderers. Additionally, a removeAll didn't seem to do the trick for us > either...we had to set the dataProvider to null. > > HTH > -adrian > > Dharmendra Chauhan wrote: > > > > > > * > > Hi All, > >

[flexcoders] Re: DataGrid not releasing memory on removeAll()

2009-06-07 Thread Dharmendra Chauhan
not necessarily released just after you remove the items from > datagrid. > > Removing them, you make them eligible by the garbage collector, but this > does not necessarily means that it will be collected. > > HTH, > > PS > > On Sat, Jun 6, 2009 at 3:02 PM, Dharmendra

[flexcoders] DataGrid not releasing memory on removeAll()

2009-06-06 Thread Dharmendra Chauhan
Hi All, My DataGrid based application running into a Memory issue.The issue is dataGrid does not release the memory even after emptying it. Initially I thought Its my code which is causing the issue, but later I crated a sample application with just a dataGrid and a ArraCollection (no even

[flexcoders] Re: Need Alternative for enterFrame event (Causing Memory leak )

2009-06-02 Thread Dharmendra Chauhan
to get of my issue. Thanks a ton for your help. Regards, Dharmendra --- In flexcoders@yahoogroups.com, "Dharmendra Chauhan" wrote: > > Hi Mark > Thanks a ton, >Workaround suggeted by you should be doable.I will definitely implement it > and w

[flexcoders] Re: Need Alternative for enterFrame event (Causing Memory leak )

2009-05-29 Thread Dharmendra Chauhan
you just have to set it up right to begin > with and it was obviously "messier" then the ExternalInterface method. > > Sincerely > Mark R. Jonkman > > - Original Message - > From: "Dharmendra Chauhan" > To: flexcoders@yahoogroups.com > Sent:

[flexcoders] Re: Need Alternative for enterFrame event (Causing Memory leak )

2009-05-29 Thread Dharmendra Chauhan
possible. This is really a serious issue, I need some work around to fix it as I could not wait till the adobe fix it. Regards, Dharmendra --- In flexcoders@yahoogroups.com, Manish Jethani wrote: > > On Fri, May 29, 2009 at 12:40 AM, Dharmendra Chauhan > wrote: > > >

[flexcoders] Re: Need Alternative for enterFrame event (Causing Memory leak )

2009-05-28 Thread Dharmendra Chauhan
.adobe.com/aharui > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Manish Jethani > Sent: Wednesday, May 27, 2009 1:43 PM > To: flexcoders@yahoogroups.com > Subject: Re: [flexcoders] Need Alternative for enterFrame event (Causing Memory leak ) &g

[flexcoders] Need Alternative for enterFrame event (Causing Memory leak )

2009-05-27 Thread Dharmendra Chauhan
Hi, I landed up myself in to memory leak and the reason of this leak is enterFrame event. I am re-registering ExterfaceInterface.callBack methods on this event to solve a problem ( callback connection broken on lost focus). memory consumption keeps increasing even when app is idle.. I ne

[flexcoders] Re: How to release Memory consumed by DataService

2009-05-27 Thread Dharmendra Chauhan
ems Inc.<http://www.adobe.com/> > Blog: http://blogs.adobe.com/aharui > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of Dharmendra Chauhan > Sent: Tuesday, May 26, 2009 1:07 PM > To: flexcoders@yahoogroups.com > Subject:

[flexcoders] How release Memory consumed by DataService

2009-05-26 Thread Dharmendra Chauhan
Hello All, dataService.release(); dataService.dissconnect() dataService.logout(); I am using above set of codes to release resources consumed by Data Service. but I was surprised to see that even after running above code memory consumption is not coming down. During prof

[flexcoders] Destroy DataDestination when user Disconnects ?

2009-05-26 Thread Dharmendra Chauhan
Hi FlexCoders, In my application a separate DataDestination gets created when user logs in. I want(struggling) to destroy the destination associated with the particular user. For this I have created FlexSesioListner and as soon as DataDestination gets created I immediately put it in Fle

[flexcoders] Re: NEED more than 15 menu item in Context Menu ????

2009-05-26 Thread Dharmendra Chauhan
We grab the right click in our .NET app and display that. I belive we > capture the event from the control so the native Flash menu isn't shown. > This works really well. > > On Mon, May 25, 2009 at 12:35 PM, Dharmendra Chauhan > wrote: > > > Hi Samuel, > > > &g

[flexcoders] Re: NEED more than 15 menu item in Context Menu ????

2009-05-25 Thread Dharmendra Chauhan
@yahoogroups.com, Sam Lai wrote: > > Is the Flex app loaded in the IE ActiveX control, or the Flash Player > ActiveX control? > > If it is IE, any of the tricks to hide the context menu in the normal > IE browser should work. > > Never tried doing this myself though. >

[flexcoders] Re: session.getAttribute("somekey") returning NULL in SessionDestroyed

2009-05-22 Thread Dharmendra Chauhan
Hi Flexcoders, I request you to have a look in to it as I could not figure out why it is happening. --- In flexcoders@yahoogroups.com, "Dharmendra Chauhan" wrote: > > Hi all, > session.getAttribute("somekey") is returning null in > SessionDes

[flexcoders] Re: NEED more than 15 menu item in Context Menu ????

2009-05-22 Thread Dharmendra Chauhan
to look at. > > http://blog.another-d-mention.ro/programming/right-click-and-custom-cont > ext-menu-in-flash-flex/ > > > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of Dharmendra Chauhan > Se

[flexcoders] session.getAttribute("somekey") returning NULL in SessionDestroyed

2009-05-22 Thread Dharmendra Chauhan
Hi all, session.getAttribute("somekey") is returning null in SessionDestroyed() method of flex listener. Below are the steps I am following 1) I am adding flexLister in contextInitialized method of ServletContextListener FlexSession.addSessionCreateListener(myListener) 2) In sess

[flexcoders] NEED more than 15 menu item in Context Menu ????

2009-05-22 Thread Dharmendra Chauhan
Hi, I really need to have more than 15 menu item displayed on Context Menu. I desperately need some workaround or ideas to achieve this My client has invested thousands of dollar in Flex Project, he definitely need more than 15 menu item.If this project failed , client will NEVER think to inve

[flexcoders] Re: Multiple selection in dataGrid by dragging Mouse with left mouse key

2009-05-16 Thread Dharmendra Chauhan
quot;Manish Jethani" wrote: > > On Sat, Jan 10, 2009 at 11:55 PM, Dharmendra Chauhan > chauhan_i...@... wrote: > > Is it possible to select multiple rows in data grid by just > > dragging mouse over It. I know this can we achieved with combination > > of sift key an

[flexcoders] Re: SessionDestroyed () method is not getting called

2009-05-14 Thread Dharmendra Chauhan
); > > > --- In flexcoders@yahoogroups.com, "Dharmendra Chauhan" wrote: > > > > Thanks Jeffrey, > > > > I am using RTMT channel, which interface I need to implement in order to > > get notification or I have.I mean what are the ways to implement

[flexcoders] Re: Do we get any notification when user dissconnects from LCDS

2009-05-13 Thread Dharmendra Chauhan
HTTP it will be delayed based on your session expiration interval. > Jeff > > On Tue, May 12, 2009 at 10:39 PM, Dharmendra Chauhan > wrote: > > > > > > > Hi, > > I have to release resources when user get disconnected from LCDS. > > What I need to impleme

[flexcoders] Do we get any notification when user dissconnects from LCDS

2009-05-12 Thread Dharmendra Chauhan
Hi, I have to release resources when user get disconnected from LCDS. What I need to implement in java to listen it ? User may disconnect due to network failure ,when he closes the flex Window etc.. Thanks, Dharmendra

[flexcoders] Re: loading status for DataGrid

2009-05-12 Thread Dharmendra Chauhan
@yahoogroups.com, Jeffrey Vroom wrote: > > You can turn on paging, then listen for the "result" events on the > DataService. They'll be dispatched once for each page result. > Jeff > > On Tue, May 12, 2009 at 12:15 PM, Dharmendra Chauhan > wrote: > > > &

[flexcoders] loading status for DataGrid

2009-05-12 Thread Dharmendra Chauhan
Hi All, I have flex DataGrid which asynchronously receive data throw LCDS deployed on Jboss.Initially It loads around 2k to 3k rows I need to show loading status which would just keep showing Data Loading until data load is complete. DataService class does not have any event which would ser

[flexcoders] Changing the BG color of selected row on contect menu item click

2009-05-06 Thread Dharmendra Chauhan
Hi All, I want to change the BG color of selected row on context Menu Item click. Actually , I have two context Menu Item 1) highlight 2)un-highlight they highlight/un-highlight selected row on click event. I found some resource on google ,all of them changing bg color in drawRowBackgro

[flexcoders] Re: Enable/Disable Context Menu Based on selected row of DG

2009-05-06 Thread Dharmendra Chauhan
> > > > > > > > > HTH > > > > Steve > > > --- In flexcoders@yahoogroups.com, "Dharmendra Chauhan" > wrote: > > > > Hi Everybody, > >

[flexcoders] Enable/Disable Context Menu Based on selected row of DG

2009-05-05 Thread Dharmendra Chauhan
Hi Everybody, I need to enable/Disable Context Menu Item based the selected row of the DG.ie I would perform some logic based on current selected row to decide enabling/Disabling of context menu item. Classical example of this is Timesheet application. If a manager click on any of the

[flexcoders] Context menu is not working for Flash Player 10

2009-05-05 Thread Dharmendra Chauhan
Hi, My Application is working fine with Flash Player9 but with FP10,it's somewhat broken.I am calling some external method throw ExternalInterFace on Context Menu Select event.None of the method is getting called with FP 10 ie call is not being made. Everything is working fine in FP9 have a

[flexcoders] Re: DataGrid: How to Prevent Extra Space Allocation to Last Colum

2009-04-27 Thread Dharmendra Chauhan
My apologies , I missed to answer following:- Just to confirm, you have horizontalScrollPolicy="on"? It is auto. --- In flexcoders@yahoogroups.com, "Dharmendra Chauhan" wrote: > > I could not reproduce it today..But I remember It was happening on column >

[flexcoders] Re: DataGrid: How to Prevent Extra Space Allocation to Last Colum

2009-04-27 Thread Dharmendra Chauhan
m/> > Blog: http://blogs.adobe.com/aharui > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of Dharmendra Chauhan > Sent: Sunday, April 26, 2009 10:28 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: DataGrid: How to Prev

[flexcoders] Re: DataGrid: How to Prevent Extra Space Allocation to Last Colum

2009-04-26 Thread Dharmendra Chauhan
oups.com>, Alex > Harui wrote: > > > > Add one more column with headerText="" and labelFunction that returns "" > > > > Alex Harui > > Flex SDK Developer > > Adobe Systems Inc.<http://www.adobe.com/> > > Blog: http://blogs.ad

[flexcoders] Re: DataGrid: How to Prevent Extra Space Allocation to Last Colum

2009-04-26 Thread Dharmendra Chauhan
ot;" > > Alex Harui > Flex SDK Developer > Adobe Systems Inc.<http://www.adobe.com/> > Blog: http://blogs.adobe.com/aharui > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of Dharmendra Chauhan > Sent: Saturday, April 25, 2009 1:45

[flexcoders] DataGrid: How to Prevent Extra Space Allocation to Last Colum

2009-04-25 Thread Dharmendra Chauhan
Hi All, Please help me to get rid of extra space being allocated to the last column of DataGrid. Where does this extra come from ? whatever column I resize should actually be resized.Why does one column resize led to last column resize ? I have set horizontal policy to auto and resizable =

[flexcoders] Last Column is getting unnecessary space on column resize ?

2009-03-15 Thread Dharmendra Chauhan
Hi All, I have a resizable dataGrid with horizontalScrollPolicy = "auto " , when I resize any column , width of last column is being increased ? If I am not resizing it ( last column) ,why is it increasing its width ? I dived in to dataGrid code and found a method calculateColumnSi

[flexcoders] GENERIC compareFucntion without hardcoding of dataField ?

2009-03-15 Thread Dharmendra Chauhan
hardcoded dataField name Is it possible to create GENERIC compareFucntion which can take dataField without hard coding ? Please throw some light on this it? Regards, Dharmendra chauhan

[flexcoders] Flickering in datagrid Header Renderer while loading data

2009-03-09 Thread Dharmendra Chauhan
I m also facing similar issue,Please see my code below:- Custom Header Renderer: [Bindable] private var theImage:Class; override public function set data(value:Object):void { dgColumn = value as DataGridColumn; if(dgColumn.sortDesce

[flexcoders] Not able to send Data in URLRequest

2009-02-27 Thread Dharmendra Chauhan
Hi , I am accessing flex application running on JBOSS server from Dot Net Client.Everything is working fine except i am NOT able to send data in http post. var variables:URLVariables = new URLVariables(); variables.htmltable= convertDGToHTMLTable(dg); var u:URLRe

[flexcoders] RTMP channel not found error ..

2009-02-18 Thread Dharmendra Chauhan
Hi , I am getting error similar to above when I run my app after building with Flex ant.It works fine when I compile it with web-tier compiler or flex builder. Please see my ant script given below.Am I missing anything ? Note: I am using flex2 with fds and app server is jboss4.2.

[flexcoders] Arrow on Multiple Column's Header in Flex2 DataGrid

2009-02-15 Thread Dharmendra Chauhan
Hi All, I have to show Sorting arrows(Up & Down) on DataGrid(Hotfix2) Header for more than one Column.I want to show arrow based on underlying dataProvider Sorting ie if arrayCollection was sorted based on two column then two respective column in DG should show arrow on Header. Please do shar

[flexcoders] Re: How to increase datagrid Last Column WIDTH

2009-02-07 Thread Dharmendra Chauhan
icking and dragging the last column; is that correct? > > Off the top of my head, I don't know of any default way to do that. > > Dharmendra Chauhan wrote: > > HI All, > > I am struggling with last column of flex2 dataGrid. > > I have set HS policy to

[flexcoders] How to increase datagrid Last Column WIDTH

2009-02-05 Thread Dharmendra Chauhan
HI All, I am struggling with last column of flex2 dataGrid. I have set HS policy to auto, all column are resizable except last. I can decrease its width but It does not allow me increase it. Does anybody know how STRECH last column widht to increase at at right of the DG Thanks, Dharmend

[flexcoders] Is It possible to dynamically resize datagrid's Width

2009-02-03 Thread Dharmendra Chauhan
Hi All, I have designed a custom data which allows user to add column dynamically.It allows user to resize Column.the functionality which I am looking for is that if I hold mouse on the last column and take it to the right to increase column's width then datagrid should increase its own w

[flexcoders] Can we freeze(Fix) Any Column / Row in DataGrid

2009-02-03 Thread Dharmendra Chauhan
Hi All, Is it possible to freeze any Column and Row in DataGrid while keeping rest of the Row/Column moving.i e ,If my FG has got four column named A,B,C,D ,E..Z.I want to freeze or fixed column B that means I scroll to right of the grid , B column should always be visible. In case of Ro

[flexcoders] Advanced Formatting

2009-01-29 Thread Dharmendra Chauhan
Hi All, This time I am struggling with formatting as I am migrating Dot Net application to flex.Standard flex library does not support advanced formatting. Here is type of formatting which I want to implement in Flex 1) 0 (Zero placeholder): If the value being formatted has a digit i

[flexcoders] Re: DataGrid Column Sizing issue

2009-01-21 Thread Dharmendra Chauhan
ot get scaled but the last column will get stretched as necessary so we don't leave dead space at the far right of the scroll area. > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Dharmendra Chauhan > Sent: Tuesday, January 20, 2009 8:02 AM > To:

[flexcoders] DataGrid Column Sizing issue

2009-01-20 Thread Dharmendra Chauhan
Hi All, I have designed a custom dataGrid which allows user to select column which he wants to be visiable.Here is the issue which I have been facing: When user select two column to be visiable, Lets assumeCol1.with = 25 , Col2.with = 20 , Expected Result:

[flexcoders] Re: Data Grid Issue

2009-01-19 Thread Dharmendra Chauhan
verride any > method. I have just created a method & Array as you have done and > stored the index of selected row at the respective index of array. > thereafter asigned that array to DG's selectedIndices. > > > Cheers > Sanjay Sharma > > --- In flexcoders@yah

[flexcoders] Re: Data Grid Issue

2009-01-13 Thread Dharmendra Chauhan
Regards, Dharmendra --- In flexcoders@yahoogroups.com, "Dharmendra Chauhan" wrote: > > Hello, > I have designed a custom dataGird which allows user to select > multiple row without shift key. that meas user just need to right > click the mouse and drag it ove

[flexcoders] Data Grid Issue

2009-01-13 Thread Dharmendra Chauhan
Hello, I have designed a custom dataGird which allows user to select multiple row without shift key. that meas user just need to right click the mouse and drag it over the grid. For this I have override mouseOverHandler Function in my dataGrid. override protected function mouseOverHand

[flexcoders] Multiple selection in dataGrid by dragging Mouse with left mouse key

2009-01-12 Thread Dharmendra Chauhan
Is it possible to select multiple rows in data grid by just dragging mouse over It. I know this can we achieved with combination of sift key and mouse. This need has arisen because we are migrating .DOT Net data grid with flex data grid and user want to have same ease of multiple selection. Ini

[flexcoders] DataGrid MultipleSelectio with mouse only

2009-01-12 Thread Dharmendra Chauhan
I want to provide functionality where in user can select multiple rows in dg by holding left mouse key and dragging over the dg. I have also designed a sample app for this but Only issue with approach is that It(mOver.target.listData.rowIndex) does not consistently return rowIndex ,sometime

[flexcoders] get rowIndex in datagird's mouseOver Function

2009-01-12 Thread Dharmendra Chauhan
My requiremnt is to get rowIndex in mouseover Function in DataGird so that I can use that index to select perticuler row of datagrid.ItemRollover Function does not get called when I hold left mouse key and drag it over dg. I want to provide functionality where in user can select multiple rows i