RE : [flexcoders] Tricky Flash Form Question

2005-09-07 Thread Philippe Maegerman
Indeed you can't use JS with your flash forms the same way you do with html forms. There is a global method called submitForm() that you can trigger in actionscript : cfform format=Flash cfinput type=button name=submit_btn onclick=submitForm() /cfform Cheers, Philippe

[flexcoders] LOOKING FOR A FRIEND / LIFE PARTNER ..? A FREE PORTAL�. Register and contact for FREE�.

2005-09-07 Thread Netlife Career
LOOKING FOR A FRIEND / LIFE PARTNER ..? A FREE PORTAL…. Register and contact for FREE…. We would like to introduce our free portal www.netlifematrimony.com If you are looking for a friend or a Life partner, you can now register, contact members and use our entire feature for absolutely

[flexcoders] is there any way to get the width of a string when displaying on the screen?

2005-09-07 Thread xiankevin2005
hi all! as i mentioned in my subject,how can i get the width of a string? when i use a datagrid control and the text in a cell is too long to be fully displayed,the text should be cut off,and then add a ... at the end of the substring.further more,while the width of the column is changing,the

[flexcoders] cellRenderer

2005-09-07 Thread Philippe Maegerman
Isn't it possible to apply a cellRenderer once a component has been created?? Let's say I have a dataGrid with a ComboBox cellRenderer and I want the Combos dataProviders to be the result of a remoting action 1°) DataGrid 2°) Remote = result+ dataGrid.getColumnAt().cellRenderer =

[flexcoders] is there any way to get the width of a string when displaying on the screen?

2005-09-07 Thread xiankevin2005
hi all! as i mentioned in my subject,how can i get the width of a string? when i use a datagrid control and the text in a cell is too long to be fully displayed,the text should be cut off,and then add a ... at the end of the substring.further more,while the width of the column is changing,the

Re: [flexcoders] cellRenderer

2005-09-07 Thread Manish Jethani
On 9/7/05, Philippe Maegerman [EMAIL PROTECTED] wrote: Let's say I have a dataGrid with a ComboBox cellRenderer and I want the Combos dataProviders to be the result of a remoting action 1°) DataGrid 2°) Remote onResult = _global.DP = result + dataGrid.getColumnAt().cellRenderer =

RE: [flexcoders] cellRenderer

2005-09-07 Thread Philippe Maegerman
btw, my cellRenderer is an .as file, so I can't use binding :(( Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish JethaniSent: mercredi 7 septembre 2005 14:57To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] cellRenderer On

Re: [flexcoders] cellRenderer

2005-09-07 Thread Manish Jethani
On 9/7/05, Philippe Maegerman [EMAIL PROTECTED] wrote: onResult of the RemoteObject, I set the result in _global.result, and then apply a cellRenderer to a Datagrid column, then the cellRenderer would use the _global.result to initialize its values (ComboBox cellRenderer). But the

RE: [flexcoders] cellRenderer

2005-09-07 Thread Dirk Eismann
The thing is that your AS cellRenderer code needs to get compiled into your application. Instead of assigning a String to the column's cellRenderer property make sure you're passing in the class itself, i.e. myDataGrid.getColumnAt(0).cellRenderer = name.of.your.CellRenderer; Dirk.

RE: [flexcoders] cellRenderer

2005-09-07 Thread Philippe Maegerman
This is what I am doing already. If I would ask my question differently it would be : Is it possible to change cellRenderers on the fly, switching from cellRendererA to cellRendererB ? Quite tricky question ;)) Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] Problem accessing RemoteObjects

2005-09-07 Thread Jeremy Crane
I am trying to access a RemoteObject that I created to retrieve information from a MSSQL database, and cannot get it to work. Any suggestions on this are greatly appreciated. Details to follow: When Debugging the app from within Flex Builder I get the following under the Output Tab:

RE: [flexcoders] Re: Webservice - Unable to connect to endpoint ...

2005-09-07 Thread Brian Deitte
Well, glad that it works for you now with noProxy although it is puzzling to me that you had this problem. I haven't seen an issue exactly like this before, based on the logs below. Looking at the responses, they look exactly the same for IE and Firefox. Given that it works for you with

RE: [flexcoders] Problem accessing RemoteObjects

2005-09-07 Thread Brian Deitte
The "Creating Service" message you see is from the client side, so it is a little misleading in that it makes it look like RemoteObject already found things, but it isn't an indication of how things are happening on the server side. The error message you are getting says that the class

RE: [flexcoders] Problem accessing RemoteObjects

2005-09-07 Thread Jeremy Crane
I will try to load the class in a JSP later on today. Below is basically what I have my User class stripped down to right now. See any problems? Have any other suggestions? package com.obc; import java.sql.*; public class User { public User(){} public String qryUsers(){

Re: [flexcoders] Problem accessing RemoteObjects

2005-09-07 Thread Douglas Knudsen
I have also modified my RemoteObject to simply return a string, until I am able to get this to work. The java class files are being placed in the following location on the JRun Server: JRUN DIR\servers\SERVERNAME\development\WEB-INF\classes\com\obc Where is Flex installed under your JRun setup?

[flexcoders] invoking function on mxml file load/init?

2005-09-07 Thread cruegger2000
Is there a way to cause a function to invoke when the mxml file first loads/initializes? How would I specify this? Thanks in advance Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back!

RE: [flexcoders] invoking function on mxml file load/init?

2005-09-07 Thread João Fernandes
You can try this, ?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" initialize="myfunction()"mx:Script![CDATA[function myfunction(){ } ]]/mx:Script/mx:Application Regards, João Fernandes Secção de Desenvolvimento Departamento de

RE: [flexcoders] Problem accessing RemoteObjects

2005-09-07 Thread Jeremy Crane
I just created a simple JSP page and was able to successfully retrieve data from it. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Brian Deitte Sent: Wednesday, September 07, 2005 9:29 AM To: flexcoders@yahoogroups.com Subject: RE:

[flexcoders] combobox set selection

2005-09-07 Thread Rajesh Jayabalan
Hi, I am populating a combobox (say terms from database) now even the selected id (The data column) is stored in the database. Is there any easy way to set the selected item using the id or do I need to create a function which goes thru the dataprovider and then get the selected index and set

[flexcoders] Linux Macromedia Flex on Tomcat HOWTO

2005-09-07 Thread charlespaz1
I've just created and posted a HOWTO for installing Macromedia Flex on Tomcat in a RHEL AS4 / Fedora Core 3 environment. Comments and critiques are welcome. http://members.cox.net/midian/howto/flex+tomcat.htm Yahoo! Groups Sponsor ~-- Fair play?

[flexcoders] drilling down to get dynamically generated form values

2005-09-07 Thread cruegger2000
I create a form dynamically using a repeater shown below. When the user hits the Submit button, I want to be able to drill down to get all of the values for the TextInput fields. How can I get to them in ActionScript code for submitForm() starting from form1? Thanks in advance. mx:VBox

RE: [flexcoders] combobox set selection

2005-09-07 Thread Tracy Spratt
Sorry, no easy way right now. Your approach is the correct one. Here is a link to an example: http://www.cflex.net/showfiledetails.cfm?ObjectID=229 Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rajesh Jayabalan Sent: Wednesday,

[flexcoders] Re: combobox set selection

2005-09-07 Thread Rajesh Jayabalan
Thank you Rajesh J --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Sorry, no easy way right now. Your approach is the correct one. Here is a link to an example: http://www.cflex.net/showfiledetails.cfm?ObjectID=229 Tracy -Original Message- From:

[flexcoders] Why Canvas don't work?

2005-09-07 Thread Igor Costa
I trying to create some drag and drop with canvas but I recive theses errors alerts. Warning /canvas.mxml:50 Property mx.controls.List.widthFlex is deprecated.Please use width='n%', where n is a number from 1 to 100. Warning /canvas.mxml:50 Property mx.controls.List.heightFlex is

RE: [flexcoders] drilling down to get dynamically generated form values

2005-09-07 Thread Ashish Goyal
Repeater creates an array of items, so in this case it will create an array of TestInputs. You can access the value of the first TextInput by item1[0].text, for the second TextInput as item2[0].text, 2nd value of first TextInput as item1[1].text and so on... -Ashish -Original Message-

Re: [flexcoders] Linux Macromedia Flex on Tomcat HOWTO

2005-09-07 Thread J.A. Rottman
Awsome tutorial. Do you have a tutorial for installing flex with tomcat and passing it on to apache. This is one thing that I have no been able to get to work yet. --- charlespaz1 [EMAIL PROTECTED] wrote: I've just created and posted a HOWTO for installing Macromedia Flex on Tomcat in a RHEL

RE: [flexcoders] Why Canvas don't work?

2005-09-07 Thread Ashish Goyal
widthFlex and heightFlex properties are deprecated so you are getting those warnings. You can use the syntax as shown in the warnings to get rid of the deprecation warnings. From the error, it seems like you are calling doDragEnter method but its notdefined anywhere. Let us know if you

[flexcoders] Remote objects and ASP

2005-09-07 Thread James
I'm looking for help I'm trying to get remote objects from an ASP page or even an XML template from a MS SQL Server. Can it be done? Have you accomplished it? Is there an example that I can look at? Yahoo! Groups Sponsor ~-- Most low income

Re: [flexcoders] Why Canvas don't work?

2005-09-07 Thread Igor Costa
Ashish The same problem happen, I remove the Deprecated proprieties but those erros still happen I'm pasting the sample code on email body. thanks to feedback so sooner. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml height=652 initialize=dragIt

RE: [flexcoders] Remote objects and ASP

2005-09-07 Thread Carson Hager
In the version available today, the only RemoteObjects you can use must be Java based. The next version of Flex will allow .NET classes to be used as RemoteObjects. As far as XML from SQL Server is concerned, that is very doable. You will simply need a URL that returns the XML. The URL can

Re: [flexcoders] Why Canvas don't work?

2005-09-07 Thread Jeff Tapper
Igor - your code still doesnt have the methods doDragEnter, doDragOver, doDragDrop and doDragExit all of which are referenced in your list boxes.  If you have references to those methods, they must exist.-- Jeff Tapperjeff.mxdj.comQuoting Igor Costa [EMAIL PROTECTED]: Ashish The same problem

[flexcoders] Flex Sample Application

2005-09-07 Thread Shekhar Jain
I'm trying to run the sample applications that come with Flex and am getting the folowing error when I click on any link in the left navigation tree WARNING PROXY SECURITY : Bad service name : FormatSourceService Is there something that I have not configured right Shekhar Jain

RE: [flexcoders] Remote objects and ASP

2005-09-07 Thread James
Thanks Carson, Can I use WEBService tag instead? Again, if the answer is yes, could somebody include, point to an example... James? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson Hager Sent: Wednesday, September 07, 2005 7:52 PM To:

[flexcoders] Connection Pooling, Proxool, and Oracle

2005-09-07 Thread stealth1399
Hello, The application that I'm working on is filling up the connections to our Oracle database. We are using Remote Objects (POJOs) to connect to the database. The application is moderatley database intensive and to speed up the responsiveness, connections are not explicitly being closed after

[flexcoders] Re: Webservice - Unable to connect to endpoint ...

2005-09-07 Thread mrvinedit
Brian, it was actually IE throwing the tantrum. FireFox worked with or without the noProxy. :-) I might just try a sniffer peek this weekend, and I'll post the results afterwards. Thanks again, Mike G --- In flexcoders@yahoogroups.com, Brian Deitte [EMAIL PROTECTED] wrote: Well, glad that it

[flexcoders] getting data from xml file

2005-09-07 Thread Prasad Dhananjaya
Hello, I hava a small problem with getting data from xml file. What I want to do is get the image data from xml file and display image on canves. When I'm trying to run this application, getting the following error Problem parsing external XML. And also I am not sure of writing varible(is this

[flexcoders] problem about using a cellrenderer in dategrid control

2005-09-07 Thread xiankevin2005
when using a cellrenderer,such as checkCellRenderer,in the click event handler of the checkBox,the method listOwner.dataProvider.editField is invoked.but it seems that the datagrid control cannot handle the event that the value of the cell was changed. if my app need to get the number of the

[flexcoders] 3 problems about datagrid ...

2005-09-07 Thread xiankevin2005
hi, i've got 3 problems when using the datagrid... 1: when i use a cellrenderer in the datagrid,such as checkCellRenderer,in the click event handler of the checkBox,the method listOwner.dataProvider.editField is invoked.but it seems that the datagrid control cannot handle the event that the