Flex. pushView data Object being converted into a String
After executing a navigator.pushView with data object, I'm in need of the data object to be received into the next view, but at some stage transformed into a string to use in a sql function.
The code below shows what i'm working on at the moment. 


    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
		xmlns:s="library://ns.adobe.com/flex/spark" title="{data.toString()}"
		xmlns:model="model.*"
		creationComplete  = "{data=srv.findByCategory(data.toString())}"
		>

.toString() was my quick attempt at it, but the resultant output is simply 


> [object Object]

There aren't any errors but it only shows during debug.

Any ideas? 

Thanks.
Flex. pushView data Object being converted into a String
===

After executing a navigator.pushView with data object, I'm in need of the data object to be received into the next view, but at some stage transformed into a string to use in a sql function.
The code below shows what i'm working on at the moment. 


    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
		xmlns:s="library://ns.adobe.com/flex/spark" title="{data.toString()}"
		xmlns:model="model.*"
		creationComplete  = "{data=srv.findByCategory(data.toString())}"
		>

.toString() was my quick attempt at it, but the resultant output is simply 


> [object Object]

There aren't any errors but it only shows during debug.

Any ideas? 

Thanks.