diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-01 13:06:57 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-01 13:06:57 +0000 |
commit | 29150e5ad89302ba08d9e53ec6a65e40a40ec4e8 (patch) | |
tree | 18869cf7f3f22d14e590014414161954dce25f9a /sandbox/travelsample/ui-contribution-webapp/src/main/webapp/scatours.html | |
parent | ca739cfb0a681b1b5c634a3dbb2db246db5d82eb (diff) |
Update to use implementation.web
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@681684 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/travelsample/ui-contribution-webapp/src/main/webapp/scatours.html')
-rw-r--r-- | sandbox/travelsample/ui-contribution-webapp/src/main/webapp/scatours.html | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sandbox/travelsample/ui-contribution-webapp/src/main/webapp/scatours.html b/sandbox/travelsample/ui-contribution-webapp/src/main/webapp/scatours.html index 88bad8ed1f..9aad807887 100644 --- a/sandbox/travelsample/ui-contribution-webapp/src/main/webapp/scatours.html +++ b/sandbox/travelsample/ui-contribution-webapp/src/main/webapp/scatours.html @@ -22,15 +22,13 @@ <link rel="stylesheet" type="text/css" href="style.css" /> -<script type="text/javascript" src="scatours.js"></script> +<script type="text/javascript" src="org.apache.tuscany.sca.componentContext.js"></script> <script language="JavaScript"> - //@Reference - var hotel = new Reference("hotel"); + var hotel = componentContext.getService("hotel"); - //@Reference - var trip = new Reference("trip"); + var trip = componentContext.getService("trip"); //local state var hotels; |