On Mon, Jul 25, 2011 at 10:49 AM, Subash Chaturanga <subash...@gmail.com> wrote:
> Hi all,
> I am using the org.apache.tuscany.sca.data.collection.Entry as the return
> type of one my service methods. I am having problems in using them in the
> callback method
> The return type of the calling method is Entry<String, String>[] .
>
> So here is my callback method.
>
> function facebook_ff_callback(items, exception) {
>    if(exception) {
>   alert("Err");
>    } else {
>    alert(items[0].getData());
>    }
> }
>
> And I am getting no response. Is this the correct way to iterate
> through Entry<String, String>[]  ?
>

Here are some examples on how to iterate trough a Tuscany collection in JS

https://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk/samples/applications/store/src/main/resources/uiservices/store.html



-- 
Luciano Resende
http://people.apache.org/~lresende
http://twitter.com/lresende1975
http://lresende.blogspot.com/

Reply via email to