On 9/20/07, Paul Hastings <[EMAIL PROTECTED]> wrote: > Rick Root wrote: > > #1 - if I wanted to create this list in Coldfusion and retrieve it via > > remote object, how exactly should it be created in Coldfusion - CAN it > > be created in coldfusion? > > don't see why not (but i'm the guy who claims xml is what they speak in hell).
Yeah I did some experimenting... I can return the xml list as a string from coldfusion, and the result handler just does this: treedata = new XMLList(e.result); > > #2 - Can I dynamically remove nodes from the XMLList object? If so, > > how? The list contains categories of fields that can be dropped into > > find the node using xmlSearch or xmlChildPos then simply delete it using > arrayDeleteAt or structDelete (i've found that thinking of xml objects as > trees > of arrays easiest to understand). Those sound like CF functions... this question was actually directed at Flex so I could swap out the Gift Details and Gift Totals columns based on the selected status of a couple of checkboxes in the flex app. But what I actually decided to do was load the list *AFTER* the user modifies those checkboxes, and passing the booleans to the getDropFields() method of the CFC, so coldfusion will dynamically drop them out and return the appropriate XMLList. -- Rick Root Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at www.opensourcecf.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:4632 Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37
