Getting Started With Tuscany - Store Example - sample code needs updating for 
v1.5
----------------------------------------------------------------------------------

                 Key: TUSCANY-3154
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3154
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Documentation
    Affects Versions: Java-SCA-1.5
         Environment: Tuscany 1.5 installed on Windows XP.
            Reporter: Cornelia Davis


I was following the Getting Started Guide 
(http://tuscany.apache.org/getting-started-with-tuscany.html) and the issue is 
that the store.js that is included in the store.html file has had some variable 
name changes in v1.5.  So the store.html javascript that reads:

//@Reference
var catalog = new Reference("catalog");
 
//@Reference
var shoppingCart = new Reference("shoppingCart");
 
//@Reference
var shoppingTotal = new Reference("shoppingTotal");

must read 

//@Reference
var catalog = new tuscany.sca.Reference("catalog");
 
//@Reference
var shoppingCart = new tuscany.sca.Reference("shoppingCart");
 
//@Reference
var shoppingTotal = new tuscany.sca.Reference("shoppingTotal");

when running in v1.5

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to