[flexcoders] Re: HTTPService problems with SSL when using IE

2005-06-22 Thread viraf_bankwalla
not to use the Flex Proxy for performance reasons. Do I need to create a policy file to access HTTPS services? - cennis http://www.mail- archive.com/flexcoders@yahoogroups.com/msg08704.html --- In flexcoders@yahoogroups.com, viraf_bankwalla [EMAIL PROTECTED] wrote: Thanks - I had not seen

[flexcoders] Re: HTTPService problems with SSL when using IE

2005-06-21 Thread viraf_bankwalla
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of viraf_bankwalla Sent: Monday, June 20, 2005 7:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] HTTPService problems with SSL when using IE Hi, I have a flex application that works fine

[flexcoders] HTTPService problems with SSL when using IE

2005-06-20 Thread viraf_bankwalla
Hi, I have a flex application that works fine when I use http. I have now switched to serving the application from https. The application appears to be failing with IE. It works fine with Firefox. Anyone had problems with IE and Flex in SSL mode using HTTPService. I am NOT using the

[flexcoders] Detecting flash player

2005-05-24 Thread viraf_bankwalla
Hi, I have a Flex application that is embeded in a HTML page. When the application is referenced using 'appname.mxml.swf' I have noticed that the flash player is not being detected. If I visit 'appname.mxml' directly from the browser, the version detection takes place. How do I enable the

[flexcoders] Re: Data-binding problem using Cairngorm ServiceLocator

2005-04-30 Thread viraf_bankwalla
You could build the request and pass it as a argument to the send. var args:Object = new Object(); args[username] = username; var query = ServiceLocator.getInstance().getService(myQuery); query.send(args); or var query = ServiceLocator.getInstance().getService(myQuery);

[flexcoders] DataGrid Cell Validation

2005-04-27 Thread viraf_bankwalla
Hi, I have a datagrid with a cellrenderer. It does validation, however we would like prevent the user from moving to a new cell unless the validation has passed. How could I do so. Thanks. - viraf Yahoo! Groups Links * To visit your group on the web, go to:

[flexcoders] Re: DataGrid Column updates

2005-04-27 Thread viraf_bankwalla
action such as scrolling took place. How can I have the grid redraw itself. I tried redraw(true) but that did not seem to work either. Thanks. --- In flexcoders@yahoogroups.com, viraf_bankwalla [EMAIL PROTECTED] wrote: Thanks - 1. As I have a headerRenderer does this mean

[flexcoders] Re: DataGrid Column updates

2005-04-26 Thread viraf_bankwalla
] Re: DataGrid Column updates Any suggestions ? --- In flexcoders@yahoogroups.com, viraf_bankwalla [EMAIL PROTECTED] wrote: Hi, 1. What is the best way to have a column's headerRenderer update its value (i.e. call setValue). 2. Have a column update its conthent

[flexcoders] Re: DataGrid Column updates

2005-04-26 Thread viraf_bankwalla
The invalidate did not result in the view to be updated until some action such as scrolling took place. How can I have the grid redraw itself. I tried redraw(true) but that did not seem to work either. Thanks. --- In flexcoders@yahoogroups.com, viraf_bankwalla [EMAIL PROTECTED] wrote

[flexcoders] Re: DataGrid performance

2005-04-25 Thread viraf_bankwalla
on the list - this is an open invitation to send along your performance test cases too! We ordinarily discourage people from contacting employees off-list, but I'll make an exception in this case. Thanks, Dave On 4/13/05, viraf_bankwalla [EMAIL PROTECTED] wrote: I have

[flexcoders] Re: createClassObject

2005-04-25 Thread viraf_bankwalla
Subject: [flexcoders] Re: createClassObject --- In flexcoders@yahoogroups.com, viraf_bankwalla [EMAIL PROTECTED] wrote: imgE = createClassObject(Image,imgE, getNextHighestDepth()); Try avoiding the call to getNextHighestDepth() by maintaining your own counter. Also, I think

[flexcoders] DataGrid Column updates

2005-04-25 Thread viraf_bankwalla
Hi, 1. What is the best way to have a column's headerRenderer update its value (i.e. call setValue). 2. Have a column update its conthent - i.e. each of the column rows update themselves - i.e. call setValue. 3. Have the column header and cells update themselves. Thanks.

[flexcoders] Re: how to delay headerRenderer ?

2005-04-25 Thread viraf_bankwalla
We have the same situation. Once we receive data from a service we create the columns (as it is based on the data in our case) and assign the data provider to the grid. NOTE - if you assign a data provider when there are no columns created Flex will try to create columns based on the

[flexcoders] Re: how to delay headerRenderer ?

2005-04-25 Thread viraf_bankwalla
assigned to it in the beginning and then dynamically assign a dataProvider to the dataGrid only after the data has been obtained ? Sanjay --- In flexcoders@yahoogroups.com, viraf_bankwalla [EMAIL PROTECTED] wrote: We have the same situation. Once we receive data from a service we

[flexcoders] Re: DataGrid performance

2005-04-24 Thread viraf_bankwalla
- this is an open invitation to send along your performance test cases too! We ordinarily discourage people from contacting employees off-list, but I'll make an exception in this case. Thanks, Dave On 4/13/05, viraf_bankwalla [EMAIL PROTECTED] wrote: I have a DataGrid with approximately 20 rows

[flexcoders] createClassObject

2005-04-24 Thread viraf_bankwalla
Hi, I have a cellRenderer that creates a number of children in the createChildren. When profiling I noticed that this is taking a considerable amount of time as I have a 20x20 grid. I create the objects in the createChildren method as: imgE = createClassObject(Image,imgE,

[flexcoders] General / Performance questions

2005-04-22 Thread viraf_bankwalla
Hi, I have an application that is primarily two data grids (summary and detailed) that is suffering from performance problems (takes approx 20 seconds to render a page). I am just about to start profiling and examining our application for performance, and have a host of introductory

[flexcoders] Flex with OAS

2005-04-20 Thread viraf_bankwalla
Hi, Has anyone been successful in running a flex application on Oracle 10 app server. I have a test page hello.mxml that I am able to access, however if I access main.mxml.swf it appears that a 404 is being returned. This works fine under weblogic. Thanks - viraf Yahoo! Groups

[flexcoders] Cairngorm

2005-04-18 Thread viraf_bankwalla
Hi, Wanted to follow up to see when we can expect the next release of Cairngorm. Thanks. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use

[flexcoders] Re: Containers siziong - scroll bars

2005-04-17 Thread viraf_bankwalla
is the preferred way os specifying sizes, and what the the difference between specifying percents vs pixels. Thanks. --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 4/17/05, viraf_bankwalla [EMAIL PROTECTED] wrote: mx:ViewStack id=appView width={width} height

[flexcoders] resizing containers as user resizes browser window

2005-04-17 Thread viraf_bankwalla
Hi, How do I resize my containers when the user resizes the browsers window? I added a resize event listner to one of the views in a viewstack. This handler was called twice during the initial rendering if the screen, however it was not called when I resized my browser window. Thanks.

[flexcoders] Re: HTTPService xmlEncoder

2005-04-16 Thread viraf_bankwalla
I have a set of VO's in the application that need to be sent to the server as XML. I was debating whether I should provide the objects and specify an xmlEncoder to the HTTP Service, or simply do the encoding use Strings as the request arguments to send. At this this time, I have decided to

[flexcoders] HTTPService xmlEncoder

2005-04-15 Thread viraf_bankwalla
Hi, I have a HTTPService for which I have written a xmlDecoder to build my VOs from data received from my service. I am not about to send data to the service, and was wondering if using the xmlEncoder was an overkill - my decoder could just as easily build the XML document as a string.

[flexcoders] Rendering in background

2005-04-14 Thread viraf_bankwalla
Hi, I have an application that displays a splash page on startup. It then proceeds to load data for some grids. Once the data has been received, it selects the view to be displayed. The problem is that this view takes a considerable amount of time to load (it has two grids). I would

[flexcoders] Grid Header ContextMenu

2005-04-13 Thread viraf_bankwalla
Hi, How do I create a context menu for my Header in a grid? I have a HeaderRenderer and tried to cast it to a MovieObject and set the menu attribute, however this did not work. Thanks. - viraf Yahoo! Groups Links * To visit your group on the web, go to:

[flexcoders] DataGrid performance

2005-04-13 Thread viraf_bankwalla
I have a DataGrid with approximately 20 rows and 10 columns. Each cell in the grid contains 4 other objects that are displayed. When scrolling vertically the performance is poor at best. What can I do to improve the performance? I am reading the articly on Macromedia's site - however my

[flexcoders] Re: Grid Header ContextMenu

2005-04-13 Thread viraf_bankwalla
); } ]] /mx:Script /mx:Application -abdul -Original Message- From: viraf_bankwalla [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 5:45 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Grid Header ContextMenu Thanks

[flexcoders] Cairngorn Example

2005-04-10 Thread viraf_bankwalla
Hi, I have started looking at Cairngorn and was wondering if there were any real-world examples available. The BOE example appears to be pre Cairngorn and the demo sample is trivial. Are people using Cairngorn as a framework ? Could you share your experiences? Thanks. Yahoo!

[flexcoders] DataProvider Events (filterModel or updateAll)

2005-04-10 Thread viraf_bankwalla
Hi, The DataProvider document identifies the following events: addItems - The firstItem and lastItem properties will indicate the indices of the new items added. removeItems - The firstItem and lastItem properties will indicate the indices of the removed items. updateItems - The firstItem

[flexcoders] HTTPService.send help needed

2005-04-08 Thread viraf_bankwalla
Hi, Enclosed is a simple example of a HTTPService.send. I set the result, fault and xmlDecode properties in the call - however, they do not appear to be called. Could someone please shed light on what I am doing wrong. Thanks. --- startup.mxml ?xml version=1.0 encoding=utf-8?

[flexcoders] Re: Debug Flex Cairngorm application

2005-04-07 Thread viraf_bankwalla
Hi, I am getting started with Cairngorm and do not see a CairngormApplication.mxml. Did you mean CairngormApplication.as ? Is there an mxml version of CairngormApplication that I should be using ? What is the status of 1.0 ? Thanks. --- In flexcoders@yahoogroups.com, Steven Webster

[flexcoders] HTTPService.send

2005-04-07 Thread viraf_bankwalla
The HTTPService.send has the following signature send( parameters: Object) : Object 1. Could someone please explain how to progmatically build the parameters. In the examples mx:request is used but I could not find the mx:request documented. 2. send returns an object HTTP call that can

[flexcoders] DataGrid events

2005-04-06 Thread viraf_bankwalla
Hi, I have a datagrid in which columns have the sortCompareFunction defined. When the method is called this appears to refer to the DataGrid as expected (event). The problem that I am having is that the compiler complains if I try to call any of the methods on the datagrid, as the class in

[flexcoders] XMLNode CDATA

2005-04-05 Thread viraf_bankwalla
Hi, I am writing an XML decoder for my HTTPService, and noticed that the nodeValue is a null when I have a CDATA element. How do I get the CDATA value from the XMLNode? Thanks. - viraf Yahoo! Groups Links * To visit your group on the web, go to:

[flexcoders] Re: XMLNode CDATA

2005-04-05 Thread viraf_bankwalla
instead of firstChild.nodeValue. - Original Message - From: viraf_bankwalla [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, April 05, 2005 3:40 PM Subject: [flexcoders] XMLNode CDATA Hi, I am writing an XML decoder for my HTTPService, and noticed

[flexcoders] Re: AS - adding dynamic properties to an object

2005-04-04 Thread viraf_bankwalla
? Is that an option? ~harris --- viraf_bankwalla [EMAIL PROTECTED] wrote: Hi, How do I add dynamic properties to an obect ? These properties are received over the HTTPService request. Thanks __ Do You Yahoo

[flexcoders] Re: AS - adding dynamic properties to an object

2005-04-04 Thread viraf_bankwalla
the next question is that how do I specify that propertyName is of a given type - say Date or Number. Thanks. --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On Apr 5, 2005 1:08 AM, viraf_bankwalla [EMAIL PROTECTED] wrote: How do I add dynamic properties to an obect

[flexcoders] TextInput and cellEditor questions

2005-03-25 Thread viraf_bankwalla
Hi, I noticed that if I right click on a TextInput field the context menu displays Cut, Copy, Paste, Delete and Select All. How can I add an item to this menu? In a DataGrid, when one selects the cell, one is able to edit it. It appears that a TextInput is being displayed. I would like

[flexcoders] edit ContextMenu

2005-03-25 Thread viraf_bankwalla
When I right-click in a TextInput I get the edit menu. How do I add items to this edit ContextMenu ? I tried the following, however the compiler complains that there is no property with the name Menu. class CellEditor extends mx.controls.TextInput { var _cm = null; function

[flexcoders] Re: edit ContextMenu

2005-03-25 Thread viraf_bankwalla
(item:mx.controls.TextInput, mi:ContextMenuItem) :Void { trace(Selected + mi.caption); } } -abdul -Original Message- From: viraf_bankwalla [mailto:[EMAIL PROTECTED] Sent: Saturday, March 26, 2005 2:26 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] edit ContextMenu

[flexcoders] Re: edit ContextMenu

2005-03-25 Thread viraf_bankwalla
, mi:ContextMenuItem) :Void { trace(Selected + mi.caption); } } -abdul -Original Message- From: viraf_bankwalla [mailto:[EMAIL PROTECTED] Sent: Saturday, March 26, 2005 4:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: edit ContextMenu

[flexcoders] Re: edit ContextMenu

2005-03-25 Thread viraf_bankwalla
Ok - now how do I use this as the CellEditor of a data grid? Thanks. --- In flexcoders@yahoogroups.com, viraf_bankwalla [EMAIL PROTECTED] wrote: Thanks - it works. --- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: Hi, Problem in your CellEditor.as code

[flexcoders] Caching of HTTPService Requests

2005-03-24 Thread viraf_bankwalla
Hi, It appears that my HTTPService requests are being cached (I do not see the request being made to the application). How can I disable the caching of these requests ? Thanks. Yahoo! Groups Links * To visit your group on the web, go to:

[flexcoders] Deploying flex application in an ear

2005-03-21 Thread viraf_bankwalla
Hi, I have a web application that will be provided to customers as an EAR. Some of the pages in the web application will be available in two versions (HTML and FLEX). I am having difficulties in packaging the flex application in a WAR that is included in the EAR (I get ClassNotFound

Flex setup

2005-03-05 Thread viraf_bankwalla
Hi, I am experimenting with flex and have an application that will be requesting for services (HTTP Service) from a J2EE application. I would prefer not to bundle the flex jars, filters etc in the EAR I provide to the client. My understanding is that I can compile flex files into SWF. Is

Re: DataGridColumn.headerRenderer / rotating text in header

2005-02-27 Thread viraf_bankwalla
=GradeCellRenderer; display.addColumn(col); I noticed that I could not specify the renderers as a string - viraf --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: viraf_bankwalla wrote: For some reason, I do not see setValue being called. My cell renderer

Re: inline vs embedded fonts

2005-02-27 Thread viraf_bankwalla
by checking in mx/skins/halo/Default.as which you can find in the FlexForFlash.zip which came with your install. Matt _ From: viraf_bankwalla [mailto:[EMAIL PROTECTED] Sent: Saturday, February 26, 2005 5:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] inline vs

Re: inline vs embedded fonts

2005-02-27 Thread viraf_bankwalla
? --- In flexcoders@yahoogroups.com, viraf_bankwalla [EMAIL PROTECTED] wrote: Yes - it is - however the embeded font looks very different from the inline font. I am using verdana.ttf from windows/font directory. I have declared the font as: mx:Style @font-face { fontFamily:headerFont; src:url

DataGridColumn.headerRenderer / rotating text in header

2005-02-26 Thread viraf_bankwalla
Does someone have an example of the headerRenderer that they could share? Does the headerRenderer need to implement the same methods as a cellRenderer - i.e. setValue? Are there any properties (beyond listOwner, getCellIndex, getDataLabel) that are set? I am trying to create a header in which

Re: DataGrid / dataProvider question

2005-02-26 Thread viraf_bankwalla
. Matt _ From: viraf_bankwalla [mailto:[EMAIL PROTECTED] Sent: Friday, February 25, 2005 7:14 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: DataGrid / dataProvider question Thanks. Can one specify a hierachy for the column name, such as mx:DataGridColumn

Re: DataGridColumn.headerRenderer / rotating text in header

2005-02-26 Thread viraf_bankwalla
As a followup question, how can I pass context to the headerRenderer, or how can the headerRenderer know about its DataGridColumn --- In flexcoders@yahoogroups.com, viraf_bankwalla [EMAIL PROTECTED] wrote: Does someone have an example of the headerRenderer that they could share? Does

Specifying renderers in DataGrid

2005-02-26 Thread viraf_bankwalla
Hi, I have the following code that is called to create DataGridColumn's var col:mx.controls.gridclasses.DataGridColumn; col = new mx.controls.gridclasses.DataGridColumn(cname); col.columnName=cname; col.headerText=cname; col.cellRenderer=MyCellRenderer; col.headerRenderer=MyHeaderRenderer;

Re: Specifying renderers in DataGrid

2005-02-26 Thread viraf_bankwalla
linked in. If Flex doesn't see a class reference it doesn't know to link it into the SWF. Roger has an article on DevNet that goes into this in great detail. Matt _ From: viraf_bankwalla [mailto:[EMAIL PROTECTED] Sent: Saturday, February 26, 2005 10:27 AM To: flexcoders

Re: DataGridColumn.headerRenderer / rotating tex t in header

2005-02-26 Thread viraf_bankwalla
) will be called giving you the expected header text. Matt _ From: viraf_bankwalla [mailto:[EMAIL PROTECTED] Sent: Saturday, February 26, 2005 9:20 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: DataGridColumn.headerRenderer / rotating text in header

Re: DataGridColumn.headerRenderer / rotating tex t in header

2005-02-26 Thread viraf_bankwalla
. Not sure why setValue() isn't called, in looking at the code I think it should be (though in the header case we won't pass in item and sel, just the first parameter str. Matt _ From: viraf_bankwalla [mailto:[EMAIL PROTECTED] Sent: Saturday, February 26, 2005 11:23 AM

Re: DataGridColumn.headerRenderer / rotating text in header

2005-02-26 Thread viraf_bankwalla
. - ciraf --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: viraf_bankwalla wrote: As a followup question, how can I pass context to the headerRenderer, or how can the headerRenderer know about its DataGridColumn See this example: http

DataGrid / dataProvider question

2005-02-25 Thread viraf_bankwalla
Hi, I have an xml document that has the following form categories category id=123 name=abc products product id=123 name=def price12.54/price /product product id=345 name=ghi price12.54/price descdescription/desc /product /products /category category id=123 name=abc products product id=123