RE: [flexcoders] how to pass data to a cell renderer ?

2005-07-11 Thread Abdul Qabiz
Hi Nithya, yeah it is possible. You can have data in DataProvider and data can be passed via setValue(..) method in CellRenderer class. Check out the CellRenderer documentation and specially look at setValue(..) method description... -abdul From: flexcoders@yahoogroups.com

[flexcoders] Disappearing server call parameter

2005-07-11 Thread Markus Ansamaa
I'm totally confused with one of my server calls. It seems to be that in certain circumstances one of the parameter object's properties disappear. I have debugged the application to the point where the server call is made and debugger says the property exists. But when the server side code is

[flexcoders] Question about css files

2005-07-11 Thread nostra72
I know this is probably a basic question but what is the use of them? I mean I know you do not need them but how is it an advantage in some cases to have them in your flex programming? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search

RE: [flexcoders] Question about css files

2005-07-11 Thread Abdul Qabiz
Hi, You can share the same css betweendifferent Flex applications. It is better to keep CSS styles in files because you can change styles in CSS file and it would be reflected in allapplications using it. You don't need to modifyall applications for some styles, this saves lots of human

[flexcoders] Re: Extending DataGridColumn + emitting events = java.lang.NullPointerException

2005-07-11 Thread mrmcfeely8
Well, I found you can simply pass a Function object to the custom DataGridCell and have the custom cell handle its own click method with that Function. The drawback is that the function must live in the same MXML file that the DataGridCell is declared in. I'd still much rather use Flex's own

Re: [flexcoders] skinning accordion header

2005-07-11 Thread Clint Modien
I replied. http://www.mail-archive.com/flexcoders@yahoogroups.com/msg09983.html http://www.mail-archive.com/flexcoders@yahoogroups.com/msg09985.html On 7/11/05, Nithya R [EMAIL PROTECTED] wrote: hai, i posted this question long back but found no response... i use the following code for

RE: [flexcoders] Re: Extending DataGridColumn + emitting events = java.lang.NullPointerException

2005-07-11 Thread Theodore E Patrick
Use a cellrenderer, the cellRenderer API was designed to extends and provide custom inner layout of datagrid cells. There are some default objects that decorate each CellRenederer instance: var listOwner:MovieClip //the datagrid var getCellIndex:Function

RE: [flexcoders] Gartner's Take on Rich Internet Applications

2005-07-11 Thread Tolulope Olonade
Title: Gartners Take on Rich Internet Technology Oh I see. Thats a very blurry line created by the broadcast just like you said. Especially with the topic Gartners take on RIA J When I saw sample screen shots of Nexaweb applications I was not in the least impressed as when I saw

RE: [flexcoders] Re: Extending DataGridColumn + emitting events = java.lang.NullPointerException

2005-07-11 Thread Theodore E Patrick
Sorry correction, 'owner' in the datagrid is the DataGridRow not the column! -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Theodore E Patrick Sent: Monday, July 11, 2005 9:10 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders]

[flexcoders] Re: Extending DataGridColumn + emitting events = java.lang.NullPointerException

2005-07-11 Thread mrmcfeely8
Ah! Now we're getting closer! I was hoping my little challenge would evoke a response :) Thanks, Ted! I'm actually already using all those members of the CellRenderer API to relay events out to my custom DataGridColumn, but I hadn't thought of dispatching the events from the DataGrid itself.

[flexcoders] Re: Extending DataGridColumn + emitting events = java.lang.NullPointerException

2005-07-11 Thread bhaq1972
Hi, your original idea of having a [Event] metatag didnt work because DatagridColumn isn't extending from UIObject (i think). in the click event of your cellrenderer you can add an event listener and dispatch it to the parentdocument (which is probabaly where you want your click event to be

RE: [flexcoders] Gartner's Take on Rich Internet Applications

2005-07-11 Thread Stacy Young
Title: Gartners Take on Rich Internet Technology Ive gone quite deep on Nexaweb technologies(late last year). I believe it has its placeparticularly where heavy client processing and performance is required. I believe that to be a much smaller market than what Flex is addressing.

RE: [flexcoders] Re: Extending DataGridColumn + emitting events = java.lang.NullPointerException

2005-07-11 Thread Theodore E Patrick
The datagrid is organized as follows: DataGrid (listOwner) N DataGridRows (Owner is the DataGridRow) N CellRenderers (One for each column) The concept of columns is actually at the DataGridRow level within the MC hierarchy at runtime. Dispatching events is one of the hidden secrets

[flexcoders] Re: Extending DataGridColumn + emitting events = java.lang.NullPointerException

2005-07-11 Thread mrmcfeely8
More comments inline... --- In flexcoders@yahoogroups.com, Theodore E Patrick [EMAIL PROTECTED] wrote: Here is a jewel from the DataProvider Event API. This allows you to refresh a single row of any control using a dataprovider, from the dataprovider without knowing the control instance.

[flexcoders] Re: Extending DataGridColumn + emitting events = java.lang.NullPointerException

2005-07-11 Thread bhaq1972
Sorry Doug i could be wrong about the [Event] metatag in datagrid column. Your code is different to the example from the docs, might be worth re-checking your implementation. another idea on how to avoid using [Event] metatag is, try to add the click event for your datagridcolumn during the

[flexcoders] xml datagrid grouping data

2005-07-11 Thread msloumac
Hi, Does anyone know whether it is possible to bind xml to a data model then use datagrid to group display the data? e.g mx:Model id=myModel groups group gid=01 groupname=first group member nameBob/name age32/age /member member nameHarry/name age34/age /member /group group gid=02

RE: [flexcoders] popupmanager . . . position the window?

2005-07-11 Thread Tracy Spratt
You can do popup.centerPopUp(centerRef: MovieClip). If you do not pass the centerRef, it centers on the window that contains the createPopUp() Don't forget about the Flex API on liveDocs: http://livedocs.macromedia.com/flex/15/asdocs_en/index.html Tracy -Original Message- From:

AW: [flexcoders] Flex + JSP + MySQL

2005-07-11 Thread Florian Pflueger
Hey Dirk, thanks a lot for your help. flo -Ursprüngliche Nachricht- Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Dirk Eismann Gesendet: Freitag, 8. Juli 2005 16:55 An: flexcoders@yahoogroups.com Betreff: RE: [flexcoders] Flex + JSP + MySQL

[flexcoders] Column chart using webservice result

2005-07-11 Thread tony_lic
hi, I have to build a column chart, where all the properties like columnseries, categoryaxis the y-axis values all should come from a web service. I dont know where to provide the data provider property. I tried some coding but it does not appear to work. let me provide with you the

[flexcoders] Re: Flex + JSP + MySQL

2005-07-11 Thread florianpflueger
Thanks a lot Dirk. Now i decided to work with the RemoteObject.which should be faster and i haven't use jsp. Now i can connect to the DB and can save my Data in it. I wrote a Java class for the DB access. With an get and a Set Method. Problem Now: When i call the getMethod I retrieve a String and

[flexcoders] Login security best practices for Flex and ColdFusion users

2005-07-11 Thread a1111111111111
I did some quick searching and didn't come up with anything too difinitive on this. Coming from a typically ColdFusion only environment, I usually roll my own login security with session variables. I'm trying to get a firm understanding of what everyone considers the best practice for flex

[flexcoders] Debugging library with flexBuilder

2005-07-11 Thread tiraille
I am able to debug the action script code which is define in my Application using flex builder, but not the code which is in my RSL Libraries. Can somebody helps me ? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

Re: [flexcoders] Re: application flow, logic question . . .

2005-07-11 Thread chris.alvarado
thanks everyone for the fantastic advice. i must admit im absolutely in love with Flex already. i think based on a gimped version of just one of the interfaces from this app, the client is already pretty much sold on it. im a bit confused about 1 point though. . . server setup. i understand

[flexcoders] Re: unknown property warning

2005-07-11 Thread Rajesh Jayabalan
Hi, Can anyone help me with this. How do I bind my xml. Regards Rajesh J --- In flexcoders@yahoogroups.com, Rajesh Jayabalan [EMAIL PROTECTED] wrote: Hi, How do I bind it.. I thought by mx:Array id=attArr{dataObject.Attributes}/mx:Array and then mx:Repeater id=att

[flexcoders] how to upload file in flex

2005-07-11 Thread Bikram Sahu
hi , I want to upload file to server using flex that how can i send the file from flex also what is the option in fle x by which it opens the local system.please help me regarding this matter. Bikram Kishore Sahu -Original Message-From: flexcoders@yahoogroups.com

[flexcoders] Flex position in Missouri

2005-07-11 Thread recfin_dennis
I do not know if this is the proper forum to post this, but I wanted to make everyone aware of a position within our company. We are currently looking for a full time, onsite Flex programmer for a new enterprise level application. The position includes a generous benefits package. The

RE: [flexcoders] Re: application flow, logic question . . .

2005-07-11 Thread Bob Remeika
We're currently using tomcat and flex and we haven't had any problems. Tomcat is a free J2EE server which makes it nice on the pocket book. It's also very easy to setup and learn if you don't have much experience with J2EE servers. I would highly recommend it as an alternative to JRun. Best

[flexcoders] Re: Extending DataGridColumn + emitting events = java.lang.NullPointerException

2005-07-11 Thread mrmcfeely8
Comments inline --- In flexcoders@yahoogroups.com, alex_harui [EMAIL PROTECTED] wrote: The DataGrid is comprised of a vertically placed set of DataGridRows each of which are made up of cellrenderers one for each DataGridColumn. A DataGridColumn is only a data structure and has no UI and

RE: [flexcoders] Re: Flex + JSP + MySQL

2005-07-11 Thread Dirk Eismann
Hi Flo, if you're passing back a String from your Java class you'll have to parse this String inside your Flex application by yourself - when using RemoteObject there's no automatic transformation of XML data to dataproviders. Instead, let your getEntries() method return a

[flexcoders] Debuging Java to AS Object conversion?

2005-07-11 Thread Kent Henneuse
Does anybody have any ways to debug the Java to AS object conversion that is done with the RemoteObject call? Or can you answer why the Net Connection Debugger seems to only grab the initial connection? I have been trying to use the NetConnectionDebugger but am having a problem with. The first

Re: [flexcoders] Re: application flow, logic question . . .

2005-07-11 Thread Tarik Ahmed
Well pros for Jrun: - License comes with CF Enterprise (ie you may not have to buy another license) - It's cheap if you buy it separately - Easy to install on various platforms - Will work great for CF and Flex - Easy to use web based management interface If you're operating is a really high

Re: [flexcoders] Debuging Java to AS Object conversion?

2005-07-11 Thread Clint Modien
Enable Remote Object debugging in the flex-config.xml file (located at {flex-web-app-install-dir}/WEB-INF/flex/flex-config.xml): remote-objects-debugtrue/remote-objects-debug Then reboot your flex server (or recycle the app if you can it's quicker) the debugging info will be output to the

Re: [flexcoders] Debuging Java to AS Object conversion?

2005-07-11 Thread Clint Modien
detailed debug info should be output to the server's log files then... (not a 100% sure where) On 7/11/05, Kent Henneuse [EMAIL PROTECTED] wrote: Unfortunately I am building against an existing application that is in JBoss so no JRun. From:

RE: [flexcoders] Re: application flow, logic question . . .

2005-07-11 Thread Tracy Spratt
I don't know what they meant by JRun hasnt had an update since like 2003. There have been at least two updaters in the past year. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of chris.alvarado Sent: Monday, July 11, 2005 12:02 PM To:

Re: [flexcoders] how to upload file in flex

2005-07-11 Thread Sreejith Unnikrishnan
There's a Macromedia Tech-note too. http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19382 Jeff Steiner wrote: Take a peek at the article from Jack Minster on Flex Authority. It provides a great sample / how-to on this.

RE: [flexcoders] Re: unknown property warning

2005-07-11 Thread Tracy Spratt
Actually, it is a warning, and I believe in you case it can be safely ignored. Using dot.down notation often causes Flex to lose track of the datatype of the end element, and the compiler uses the datatype information to set up its change listener infrastructure. However, my advice would be to

RE: [flexcoders] getDropParent() when the branch is closed.

2005-07-11 Thread Matt Chotin
Maybe the dragOver event keeps firing though every time the cell changes? Im sure there must be something firing that you could use as a trigger. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Krueger Sent: Friday, July 08, 2005 7:59 AM

RE: [flexcoders] how to specify the size of the vScrollBar

2005-07-11 Thread Matt Chotin
How did you set the length of the data provider? My example does provide the way to set the length and everything shows up at the top of the grid. Maybe youre accidentally sorting or something? Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] Skinning Mediaplayback?

2005-07-11 Thread Matt Chotin
Doesnt look like these guys really support programmatic skinning. Unfortunately they were more of a port from Flash MX 2004 rather than truly integrated into the Flex way of doing things. Were looking to fix that in 2.0. Sorry! Matt From: flexcoders@yahoogroups.com

RE: [flexcoders] column chart question/oddity

2005-07-11 Thread Matt Chotin
Also, you say push into the array, maybe it needs to be addItemAt into the array? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Monday, July 11, 2005 1:25 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] column chart

Re: [flexcoders] Skinning Mediaplayback?

2005-07-11 Thread Clint Modien
Thanks alot for the answer Matt. What about editing a theam.swc ??? On 7/11/05, Matt Chotin [EMAIL PROTECTED] wrote: Doesn't look like these guys really support programmatic skinning. Unfortunately they were more of a port from Flash MX 2004 rather than truly integrated into

RE: [flexcoders] xml datagrid grouping data

2005-07-11 Thread Matt Chotin
Datagrids dont really support nested columns right now. You would probably need to transform your data into something linear and then use some sort of marker to help get the ordering right. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [flexcoders] Flex position in Missouri

2005-07-11 Thread JesterXL
The programmer will be working with an eleven person development team on a project that literally has no end in site. Now THAT is offering some pimp job security. - Original Message - From: recfin_dennis [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, July 10, 2005 7:18

Re: [flexcoders] Debuging Java to AS Object conversion?

2005-07-11 Thread Clint Modien
A, B, and C all need to call registerClassOn 7/11/05, Kent Henneuse [EMAIL PROTECTED] wrote: I should also add some info about the structure of my Java classes. I am using inheritance on both sides: SimpleObject Section A | | | | | |

RE: [flexcoders] Column chart using webservice result

2005-07-11 Thread Matt Chotin
Shouldnt you be able to replace the last two lines with colchartKPI.horizontalAxis = series? I havent played with this much From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tony_lic Sent: Monday, July 11, 2005 4:24 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Skinning Mediaplayback?

2005-07-11 Thread Matt Chotin
You can go looking, but I wouldnt promise anything J I couldnt even point you at all the symbols to look for. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Clint Modien Sent: Monday, July 11, 2005 1:35 PM To: flexcoders@yahoogroups.com Subject: Re:

[flexcoders] Re: xml datagrid grouping data

2005-07-11 Thread msloumac
Thanks Matt, This is the only way I have managed to do this so far ... getting the xml to return the group record as a member record and flagging it as a header then using a cellrenderer to distinguish between the group header and member records. I just thought I may have missed an obvious way of

[flexcoders] Flex client not passing client certificate to server

2005-07-11 Thread colinblackmore
I am attempting to use client certificates as the authentication mechanism over an SSL connection. The server (Tomcat 5.5) is configured to require all connections be accompanied with a valid client certificate. As far as the browser and server are concerned, this works fine. The mxml file is

[flexcoders] Re: popupmanager . . . position the window?

2005-07-11 Thread Eric Raymond
In my experience, this technique is unreliable. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: You can do popup.centerPopUp(centerRef: MovieClip). If you do not pass the centerRef, it centers on the window that contains the createPopUp() -- Flexcoders Mailing

[flexcoders] Translator Issue on Gateway

2005-07-11 Thread Stacy Young
Having a helluva time trying to figure out whats going on heretrying to submit a custom type objectnothing unusualbut gateway debug is complaining as if Ive not registered the object to the remote class properlybut Im sure I have. Any ideas much appreciated! The call Info: Request

[flexcoders] Re: unknown property warning

2005-07-11 Thread Rajesh Jayabalan
Hi, Thanks, I do not have to change the product, so I'll just forget it. Regards Rajesh J --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Actually, it is a warning, and I believe in you case it can be safely ignored. Using dot.down notation often causes Flex to lose

Re: [flexcoders] Translator Issue on Gateway

2005-07-11 Thread Clint Modien
Where does this exist in your class definition in AS2 (I don't see it in the trace) : Could not set object APPNAME on class com.optimal.raven.application.product.data.ApplicationSet's field APP_NAME Maybe you could post both the AS2 AND Java Class file's definitions? On 7/11/05, Stacy

RE: [flexcoders] Re: unknown property warning

2005-07-11 Thread Tracy Spratt
From the sample XML, aren't attributes product-dependent? Or does your data call only bring back one product at a time? If you want, you can disable binding warnings in the flex-config file. I personally prefer finding way to suppress the warnings with code though. Tracy -Original

Re: [flexcoders] Login security best practices for Flex and ColdFusion users

2005-07-11 Thread Scott Barnes
You can assign a basic role to add make sure that folks have been authenticated on a cfc framework before accessing that said CFC in general (which is good practice as in many ways if its public, you don't want people firing off cfc's based on what you've made exposed) That being said, treat it

[flexcoders] Re: unknown property warning

2005-07-11 Thread Rajesh Jayabalan
HI, THe attributes are product dependant, but the product is not changed when the attribute is changed it is added in a new table with the product information and all the attributes. I will have to supress the warning in production mode for now I will ignore them. Thanks a lot Rajesh J ---

[flexcoders] Re: how to specify the size of the vScrollBar

2005-07-11 Thread sanjayd
Matt: I got it working by returning the 'correct length' from the 'get length()' method. I will post the code here as soon as it is presentable. Sanjay --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: How did you set the length of the data provider? My example does

[flexcoders] TileList withh CellRendere.

2005-07-11 Thread Shahnavaz Alware
Hi All, I am implementing the TileList with CellRenderer mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml initialize= loadComplete()/ mx:Script ![CDATA[ import com.test.model.ModelLocator; import com.test.dto.ActivityDTO; import

RE: [flexcoders] Disappearing server call parameter

2005-07-11 Thread Markus Ansamaa
Title: Message The code property is "public var code:String;". And yes, Java class has that property. The server call is used when an object is added or edited. It has worked fine and actually the feature which uses the call has already been deployed to a customer as a part of our

[flexcoders] drag and drop

2005-07-11 Thread Nithya R
hai, I have a cnvas with many controls inside... i want a drag event on the canvas i use a mouseMove evnet for beginDrag and i also have a mousedown event tht takes u to a next view in the viewstack... now what happens is when i start dragging the controls goes to the next view even before