[flexcoders] mx:Tree being populated by a CF Array?

2005-08-15 Thread Scott Barnes
I can't quite seem to recall on whether or not you can populate a mx:TREE via a RemoteObject (which returns an ArrayOfStructs). Its possible isn't it? ie i'm using cairngorm ModelLocator to bind the view and remote together? -- Regards, Scott Barnes http://www.mossyblog.com

RE: [flexcoders] Flex Newbies Mail List

2005-08-15 Thread Steven Webster
Title: RE: [flexcoders] Flex Newbies Mail List On the whole newbies list I don't think newbies should feel dissuaded from posting to flexcoders; as the list matures, we establish generations and tiers of people willing to invest their time helping those who follow just a little behind

Re: [flexcoders] Sweeping the Stage in Search of a MovieClip/Component Type

2005-08-15 Thread dave buhler
No love. I ran this to try and reference all the links within the application scope, but it returned just those properties of the application scope. I am looking to reference the Links within all views/containers.:

Re: [flexcoders] Sweeping the Stage in Search of a MovieClip/Component Type

2005-08-15 Thread JesterXL
All Views', all containers? Um, no, in that case, you'll need a global registry, much like how ViewHelper's are registered by ID, etc. However, I question why you need such sweeping changes? Why not toggle the enabled/disabledness of each view when it needs to be? - Original Message

[flexcoders] Tree component help - please

2005-08-15 Thread pat_ryan_99
Hi Everyone, I have looked through old messages in this group and did not see anything that addresses my question - or at least it was not clear that it did. Here is what I am trying to do. Using the Cairngorm framework, I am making a remote call to my server to retrieve something I wrote

[flexcoders] html--- swf object focusing out problem!

2005-08-15 Thread sobluesky
Hi, Everyone I want to be notified when user focus in the embed swf file, and when focus out, this is my code: object classid='' codebase='' width='100%' height='100%' id='Framset' color=red>top.flash.tpBlr() color=red>top.flash.tpFcs() param name='src'

[flexcoders] Re: Tree component help - please

2005-08-15 Thread Andrew Spaulding
Hi, Maybe try something like this: mx:Tree nodeOpen=getNodes(event.node) / you might want to store a reference to this node rather than using contentMgmtTree.selectedItem. So you script block might look like this: public function getNodes( treeNode ) { treeSelectedNode = treeNode;

[flexcoders] Invalidating flashproxy JSESSIONID value.

2005-08-15 Thread colinblackmore
Can anyone suggest how I might implement a 'logout' facility by completely invalidating a users session within Flex? From what I can deduce, Flex initially passes the JSESSIONID through the flashproxy as a cookie, using it to construct the appropriate headers for the subsequent http call. With a

[flexcoders] Re: Tree component help - please

2005-08-15 Thread pat_ryan_99
Thank you for the response, but that produced the same results. Other thoughts? I assume that since my TreeNodeVO has a label attribute, that is all that is really required? Is it having trouble understanding this VO? Thanks again Pat --- In flexcoders@yahoogroups.com, Andrew Spaulding

[flexcoders] custom data grid solution

2005-08-15 Thread cruegger2000
I have a requirement for a custom data grid: 1. 1st column will be a link value. you click on it and it takes you to a different view in a viewStack. 2. columns 2 through n-1 will be regular Strings 3. column n will be a checkbox. What's the best approach for building such a custom data grid

Re: [flexcoders] array question.

2005-08-15 Thread Manu Juyal
Tracy, I am still not able to get the results. following is my HttpService and below that is the XML code and function reading results from the service .. mx:HTTPService id=posterinfo_srv url=http://x/.php; fault=faultHandler(event.fault.faultstring, event.fault.faultcode)

RE: [flexcoders] Re: Tree component help - please

2005-08-15 Thread Tracy Spratt
I think the label property need to be at the top level of the treeNode. So your example: var tempNode:TreeNode = treeSelectedNode.addTreeNode( treeNode.label, treeNode ); Should work. Remember when accessing the treeNode, use the

RE: [flexcoders] array question.

2005-08-15 Thread Tracy Spratt
Because data calls are asynchronous, you can't use the result in the same function that you call it, you must do it in a result handler. Put this line in the result handler function: var posterdata = posterinfo_srv.result.posters.poster; Tracy -Original Message- From:

RE: [flexcoders] mx:Tree being populated by a CF Array?

2005-08-15 Thread shahnavaz Alware
Yes you can bind the dataprovider of the mx:Tree to the RemoteObject result. I am using Cairngorm too and returning array of VO. Thanks, Shahnavaz From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Scott Barnes Sent: Sunday, August 14, 2005

[flexcoders] can flex build dynamic form

2005-08-15 Thread cruegger2000
I was wondering if Flex has the equivalent of the Struts logic:iterate tag and the JSTL c:if tag to perform conditional rendering? I have alist of polymorphic objects that I need to both display and allow updates to by the user. Each object (based on its type) may have 1, 2, or 3 input fields. I

RE : [flexcoders] Re: DepthManager

2005-08-15 Thread Rajesh Jayabalan
Hi, The method swapDepths accepts a UIObject as a parameter and not a number. Regards Rajesh J --- In flexcoders@yahoogroups.com, Philippe Maegerman [EMAIL PROTECTED] wrote: You might try to manualy adjust your menu's depth to be the max depth : menu.swapDepths(Number.MAX_VALUE) I hope it

Re: [flexcoders] Sweeping the Stage in Search of a MovieClip/Component Type

2005-08-15 Thread dave buhler
I thought it would work to sweep through the Stage and all containers. I could sweep through the registered view, but I have nested views where the links are visible. It's not the views that need to be disabled, it's the link within the view. On 8/15/05, JesterXL [EMAIL PROTECTED] wrote: All

RE: [flexcoders] can flex build dynamic form

2005-08-15 Thread Battershall, Jeff
Yes. The Repeater tag offers this sort of functionality. Building each element to render the correct number of input fields would be encapsulated in the object itself, depending on its type. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[flexcoders] Re: DepthManager

2005-08-15 Thread Rajesh Jayabalan
Hi Manish, Thanx, that helped a lot. Rajesh J --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 8/13/05, Rajesh Jayabalan [EMAIL PROTECTED] wrote: I created my menu adjustMenuDepths from your blog thanks :-), but it does have a problem in that after the

Re: [flexcoders] Sweeping the Stage in Search of a MovieClip/Component Type

2005-08-15 Thread JesterXL
There are a plethora of ways to enable/disable controls. Most controls and forms repond to: myObject.enabled = false; And visually update to that effect, as well as no longer accepting input, mouse or keyboard. Links respond the same thing: myLink.enabled = false; However, I can't remember

Re: [flexcoders] can flex build dynamic form

2005-08-15 Thread Tariq Ahmed
Dynamic forms can be done. There's some articles out there that may help: http://www.waldosmeets.com/index.cfm?entryID=546 http://www.macromedia.com/devnet/flex/articles/flexprimer_03.html And the iteration::two book also talks about it. http://www.iterationtwo.com/flexbook/index.html

[flexcoders] Dinamically adding itens to a grid

2005-08-15 Thread Michel Bertrand
Title: Dinamically adding itens to a grid Hi all ! I'm new at the list and a new flex coder. I'm trying to add GridRows to a Grid using the following code: function addFilterCondition(){ var fieldName = new ComboBox(); var operation = new TextInput(); var condition

RE: [flexcoders] Dinamically adding itens to a grid

2005-08-15 Thread Allen Manning
Title: Dinamically adding itens to a grid Hello Michael, You should use the DataProvider API to get the databinding to fire. HTH, Allen www.prismix.com/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michel Bertrand Sent: 15 August 2005 19:25

Re: [flexcoders] custom data grid solution

2005-08-15 Thread jeff tapper
sounds like a job for 2 custom cell renderers. Take a look at the CheckCellRenderer example (i think its in the docs) for syntax At 12:47 PM 8/15/2005, cruegger2000 wrote: I have a requirement for a custom data grid: 1. 1st column will be a link value. you click on it and it takes you to a

RES: [flexcoders] Dinamically adding itens to a grid

2005-08-15 Thread Michel Bertrand
Title: Mensagem Hi Allen ! Thanks for your answer ! I tried to use aDataGrid and it's property of type DataProvider but I didn't have success. I got a message saying that this kind of container cannot display visual components. I will try do build my component in another way.

RE: [flexcoders] Calling ArrayStructures in CFCs from Flex

2005-08-15 Thread dfatta
Hi Malcolm, Thanks for your advice. Jeff's solutions worked well if you want to take a look. I'm going to try to post my completed solution on some site. Darius -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of MalcolmSent:

[flexcoders] move window up

2005-08-15 Thread Rajesh Jayabalan
Hi, My application uses multiple titlewindows, and I am storing the reference of them in a arraylist, and creating a dynamic menu. Now in the script how do I set the depth of the window so that the window can be on the top. I cannot use setdepthabove since I do not know which window is on the

RE: [flexcoders] Calling ArrayStructures in CFCs from Flex

2005-08-15 Thread Malcolm
Great, will definitely take a look, agreed, we certainly need some sort of referenceThe dark art of Flex CFCs. Malcolm From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, 16 August 2005 6:13 AM To:

RE: [flexcoders] move window up

2005-08-15 Thread Rob Rusher
Rajesh, Because each title window has a parent you can simply get the top child with the getChildAt() method and then set your target above that. function popToTop( target : mx.core.UIObject ) { var parent = target.parent; var topSibling = parent.getChildAt( parent.numChildren -

[flexcoders] Re: move window up

2005-08-15 Thread Rajesh Jayabalan
Hi Rob, That does not work.. in cases its hiding the window, and in some cases it is not doing anything. I am comparing the depth of all the windows that I have in the array and then setting the window depth above the most highest one. and that seems to work. Regards Rajesh J --- In

[flexcoders] What I wish Flex/Flash Player could do...

2005-08-15 Thread azhofeling
If any of you have had any experience using an embedded database like HyperSonic HSQLDB then you know how wonderful it is to have the power of a SQL database that resides on the client. Less than 200K, it performs complex SQL against text files allowing filtering, sorting, joining and most

答复: [flexcoders] Re: move window up

2005-08-15 Thread sobluesky
Hi, Well did u read the source code of TitleWindow? This is my swap up function: private function swapObjUp( obj:mx.core.UIObject ){ var depth = ( obj[ modalWindow ] == undefined )?DepthManager.kTop : DepthManager.kTopmost; var o =

Re: [flexcoders] What I wish Flex/Flash Player could do...

2005-08-15 Thread JesterXL
I forwarded your request to the Central Dev group for Ethan Malasky to hopefully pick up. Since Central is hopefully the future of Flash, and ultimately Flex on the desktop, things like this are perfect. It just so happens SQL on the client was requested by multiple people already there, so

Re: [flexcoders] Calling ArrayStructures in CFCs from Flex

2005-08-15 Thread Tariq Ahmed
Absolumont! Tracy Spratt wrote: Message Im sure Tarik will be happy to post it on CFLEX.net. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED] Sent: Monday, August 15, 2005 4:09 PM To: