Access data in ADG

2015-05-15 Thread mark goldin
I have an ADG that shows hierarchical data. This data is stored in a model. at point in my application I want to figure out what row is currently selected in the grid. How would I search for row in that data if I have a value from one of the fields in the data? Thanks

Share data between two applications

2015-05-15 Thread mark goldin
I have one application running and a user can launch another into a new browser window. If I want to share data with new application from the first one how can I do that? Thanks

Re: Share data between two applications

2015-05-15 Thread mark goldin
Because it's pretty big. But I agree it is possible. On May 15, 2015 6:37 AM, Tom Chiverton t...@extravision.com wrote: On 15/05/15 12:01, mark goldin wrote: want to share model data that is not available on the second page. And you can't serialise this to the URL or as a FORM post

Re: Share data between two applications

2015-05-15 Thread mark goldin
Will it work if a second application is not running yet? On Fri, May 15, 2015 at 5:36 AM, Deepak MS megharajdee...@gmail.com wrote: You can try LocalConnections: https://wikidocs.adobe.com/wiki/display/Flex/Local+Connections On Fri, May 15, 2015 at 3:56 PM, mark goldin

Re: Share data between two applications

2015-05-15 Thread mark goldin
Sure, they have the same backend. Ideally, I want to share model data that is not available on the second page. The reason I am doing it is because I am showing same popup screen on both pages, but second app does not have all needed information to provide to the popup. On Fri, May 15, 2015 at

Re: Share data between two applications

2015-05-15 Thread Tom Chiverton
On 15/05/15 11:54, mark goldin wrote: The data I need to share is not for query strings. Ah ha, now we're learning :-) What are you trying to transfer and why ? Can I assume the two web pages don't share a back end sever ? Tom

Re: Share data between two applications

2015-05-15 Thread Tom Chiverton
On 15/05/15 12:01, mark goldin wrote: want to share model data that is not available on the second page. And you can't serialise this to the URL or as a FORM post because ... ? Tom

Re: Access data in ADG

2015-05-15 Thread Alex Harui
You could add the current row to the model so you don’t have to pass it around. You could add the HierarchicalCollection to the model and walk it from some other code. HTH, -Alex On 5/15/15, 6:13 AM, mark goldin markzolo...@gmail.com wrote: Right, but that is a problem, sort of. I dont have

Re: Access data in ADG

2015-05-15 Thread Alex Harui
HierarchicalCollection and related classes help you walk through hierarchical data. By providing a set of open nodes, it adds the children of those nodes to a list, essentially flattening the hierarchy. On 5/15/15, 6:20 AM, mark goldin markzolo...@gmail.com wrote: You could add the

Re: Access data in ADG

2015-05-15 Thread Alex Harui
The selectedItem should be the whole row. On 5/15/15, 2:06 AM, mark goldin markzolo...@gmail.com wrote: I have an ADG that shows hierarchical data. This data is stored in a model. at point in my application I want to figure out what row is currently selected in the grid. How would I search for

Re: Access data in ADG

2015-05-15 Thread mark goldin
Right, but that is a problem, sort of. I dont have it. In order to have it I need to change a bunch of functions to send it as a parameter. All I have a this point is its data. On Fri, May 15, 2015 at 8:08 AM, Alex Harui aha...@adobe.com wrote: The selectedItem should be the whole row. On

Re: Share data between two applications

2015-05-15 Thread Alex Harui
Depending on how big “big” is, and whether you control your user’s settings, you might be successful with SharedObject http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/ne t/SharedObject.html On 5/15/15, 4:48 AM, mark goldin markzolo...@gmail.com wrote: Because it's

Re: Share data between two applications

2015-05-15 Thread Deepak MS
You can try LocalConnections: https://wikidocs.adobe.com/wiki/display/Flex/Local+Connections On Fri, May 15, 2015 at 3:56 PM, mark goldin markzolo...@gmail.com wrote: I have one application running and a user can launch another into a new browser window. If I want to share data with new

Re: Share data between two applications

2015-05-15 Thread Tom Chiverton
On 15/05/15 11:36, Deepak MS wrote: You can try LocalConnections: Or URL parameters. Tom

Re: Share data between two applications

2015-05-15 Thread rodol...@essencialcode.com.br
I use SharedObjects and works fine for same case -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Share-data-between-two-applications-tp10357p10372.html Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Access data in ADG

2015-05-15 Thread mark goldin
I am trying something crazy like this: _modelLocator.currentData.getChildren(_modelLocator.currentData.getRoot()).(id==104) to search for a node with id = 104 the above code returns null while there is such node. On Fri, May 15, 2015 at 8:30 AM, Alex Harui aha...@adobe.com wrote:

Re: Access data in ADG

2015-05-15 Thread Alex Harui
If your data is XML you might want to use descendants() On 5/15/15, 8:54 AM, mark goldin markzolo...@gmail.com wrote: I am trying something crazy like this: _modelLocator.currentData.getChildren(_modelLocator.currentData.getRoot()) .(id==104) to search for a node with id = 104 the above code

Re: Access data in ADG

2015-05-15 Thread mark goldin
No, I dont think data is an xml. It comes down as a proprietary object. Then there is var hierarchicalSummary:HierarchicalData; then hierarchicalSummary.source = that object; Something like this ... On Fri, May 15, 2015 at 11:15 AM, Alex Harui aha...@adobe.com wrote: If your data is XML you

Re: Access data in ADG

2015-05-15 Thread Alex Harui
Well, it looked like you were using XML e4x predicate filtering so I guessed you were using XML. If not, you can figure out your own way to traverse the top-level object, or use the HierarchicalCollection classes. -Alex On 5/15/15, 9:35 AM, mark goldin markzolo...@gmail.com wrote: No, I dont