diff options
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; |