tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jsdelf...@apache.org
Subject svn commit: r1094208 [2/4] - in /tuscany/sca-cpp/trunk/modules/edit: apps/buzzprofile/ apps/me360/ apps/nearme/ apps/ourphotos/ apps/shoppingcart/ apps/slice/ apps/test/ apps/testdb/ apps/testevents/ apps/testhttp/ apps/testlogic/ apps/testsearch/ apps...
Date Sun, 17 Apr 2011 22:14:00 GMT
Added: tuscany/sca-cpp/trunk/modules/edit/apps/shoppingcart/app.composite
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/modules/edit/apps/shoppingcart/app.composite?rev=1094208&view=auto
==============================================================================
--- tuscany/sca-cpp/trunk/modules/edit/apps/shoppingcart/app.composite (added)
+++ tuscany/sca-cpp/trunk/modules/edit/apps/shoppingcart/app.composite Sun Apr 17 22:13:58 2011
@@ -0,0 +1,577 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+-->
+<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1" targetNamespace="http://shoppingcart" name="shoppingcart">
+ <service name="appstart" promote="appstart"/>
+ <component t:x="14" t:y="26" name="appstart" t:title="start" t:color="green1">
+  <t:implementation.python script="nuvem/appstart.py"/>
+  <service name="appstart" t:visible="false">
+   <t:binding.http uri="appstart"/>
+  </service>
+  <reference target="list4" name="content"/>
+ </component>
+ <service name="addToCart" promote="addToCart"/>
+ <component t:x="427" t:y="412" name="addToCart" t:title="{compname}" t:color="green1">
+  <t:implementation.python script="nuvem/service.py"/>
+  <service name="service" t:visible="false"/>
+  <reference target="list6" name="content"/>
+ </component>
+ <service name="emptyCart" promote="emptyCart"/>
+ <component t:x="10" t:y="560" name="emptyCart" t:title="{compname}" t:color="green1">
+  <t:implementation.python script="nuvem/service.py"/>
+  <service name="service" t:visible="false"/>
+  <reference target="list5" name="content"/>
+ </component>
+ <service name="checkout" promote="checkout"/>
+ <component t:x="12" t:y="758" name="checkout" t:title="{compname}" t:color="green1">
+  <t:implementation.python script="nuvem/service.py"/>
+  <service name="service" t:visible="false"/>
+  <reference target="list3" name="content"/>
+ </component>
+ <component t:x="372" t:y="285" name="filedb" t:title="file" t:color="red1">
+  <t:implementation.python script="nuvem/filedb.py"/>
+  <service name="filedb"/>
+  <reference name="db" target="AppDataFileCache" t:visible="false"/>
+  <property name="host" t:visible="false"/>
+ </component>
+ <component t:x="374" t:y="311" name="user" t:title="user" t:color="green1">
+  <t:implementation.python script="nuvem/user.py"/>
+  <service name="user"/>
+  <property name="user" t:visible="false"/>
+ </component>
+ <component t:x="861" t:y="26" name="get" t:title="get" t:color="red1">
+  <t:implementation.python script="nuvem/get.py"/>
+  <service name="get"/>
+  <reference target="filedb" name="collection"/>
+  <reference target="user" name="id"/>
+ </component>
+ <service name="getcart" promote="getcart"/>
+ <component t:x="558" t:y="148" name="getcart" t:title="{compname}" t:color="green1">
+  <t:implementation.python script="nuvem/service.py"/>
+  <service name="service" t:visible="false"/>
+  <reference target="get" name="content"/>
+ </component>
+ <component t:x="827" t:y="16" name="name5" t:title="" t:color="orange1">
+  <t:implementation.python script="nuvem/name.py"/>
+  <service name="name"/>
+  <property>getcart</property>
+ </component>
+ <service name="total" promote="total"/>
+ <component t:x="427" t:y="294" name="total" t:title="{compname}" t:color="green1">
+  <t:implementation.python script="nuvem/service.py"/>
+  <service name="service" t:visible="false"/>
+  <reference target="property2" name="content"/>
+ </component>
+ <component t:x="748" t:y="243" name="property4" t:title="{propval} :" t:color="orange1">
+  <t:implementation.python script="nuvem/assoc.py"/>
+  <service name="property"/>
+  <reference target="call11" name="value"/>
+  <property>message</property>
+ </component>
+ <component t:x="229" t:y="11" name="property5" t:title="{propval} :" t:color="orange1">
+  <t:implementation.python script="nuvem/assoc.py"/>
+  <service name="property"/>
+  <reference target="text2" name="value"/>
+  <property>message</property>
+ </component>
+ <service name="catalog" promote="catalog"/>
+ <component t:x="405" t:y="22" name="catalog" t:title="{compname}" t:color="green1">
+  <t:implementation.python script="nuvem/service.py"/>
+  <service name="service" t:visible="false"/>
+  <reference target="list" name="content"/>
+ </component>
+ <component t:x="672" t:y="8" name="list5" t:title="list" t:color="yellow1">
+  <t:implementation.python script="nuvem/list_.py"/>
+  <service name="list"/>
+  <reference target="property11" name="item" t:clonable="true"/>
+  <reference target="call7" name="item" t:clonable="true"/>
+  <reference target="call16" name="item" t:clonable="true"/>
+  <reference name="item" t:clonable="true"/>
+ </component>
+ <component t:x="689" t:y="166" name="list3" t:title="list" t:color="yellow1">
+  <t:implementation.python script="nuvem/list_.py"/>
+  <service name="list"/>
+  <reference target="property4" name="item" t:clonable="true"/>
+  <reference target="property12" name="item" t:clonable="true"/>
+  <reference target="call3" name="item" t:clonable="true"/>
+  <reference name="item" t:clonable="true"/>
+ </component>
+ <component t:x="144" t:y="179" name="list" t:title="list" t:color="yellow1">
+  <t:implementation.python script="nuvem/list_.py"/>
+  <service name="list"/>
+  <reference target="property8" name="item" t:clonable="true"/>
+  <reference target="property9" name="item" t:clonable="true"/>
+  <reference target="property10" name="item" t:clonable="true"/>
+  <reference name="item" t:clonable="true"/>
+ </component>
+ <component t:x="147" t:y="7" name="list4" t:title="list" t:color="yellow1">
+  <t:implementation.python script="nuvem/list_.py"/>
+  <service name="list"/>
+  <reference target="property5" name="item" t:clonable="true"/>
+  <reference target="call5" name="item" t:clonable="true"/>
+  <reference target="call13" name="item" t:clonable="true"/>
+  <reference target="call14" name="item" t:clonable="true"/>
+  <reference name="item" t:clonable="true"/>
+ </component>
+ <component t:x="543" t:y="250" name="name11" t:title="" t:color="orange1">
+  <t:implementation.python script="nuvem/name.py"/>
+  <service name="name"/>
+  <property>total</property>
+ </component>
+ <component t:x="297" t:y="183" name="number" t:title="#" t:color="orange1">
+  <t:implementation.python script="nuvem/number.py"/>
+  <service name="number"/>
+  <property>2.99</property>
+ </component>
+ <component t:x="219" t:y="179" name="property8" t:title="{propval} :" t:color="orange1">
+  <t:implementation.python script="nuvem/assoc.py"/>
+  <service name="property"/>
+  <reference target="number" name="value"/>
+  <property>Mango</property>
+ </component>
+ <component t:x="224" t:y="218" name="property9" t:title="{propval} :" t:color="orange1">
+  <t:implementation.python script="nuvem/assoc.py"/>
+  <service name="property"/>
+  <reference target="number2" name="value"/>
+  <property>Passion</property>
+ </component>
+ <component t:x="336" t:y="215" name="number2" t:title="#" t:color="orange1">
+  <t:implementation.python script="nuvem/number.py"/>
+  <service name="number"/>
+  <property>3.55</property>
+ </component>
+ <component t:x="314" t:y="250" name="number4" t:title="#" t:color="orange1">
+  <t:implementation.python script="nuvem/number.py"/>
+  <service name="number"/>
+  <property>1.55</property>
+ </component>
+ <service name="cataloghtml" promote="cataloghtml"/>
+ <component t:x="12" t:y="221" name="cataloghtml" t:title="{compname}" t:color="green1">
+  <t:implementation.python script="nuvem/service.py"/>
+  <service name="service" t:visible="false"/>
+  <reference target="property" name="content"/>
+ </component>
+ <component t:x="219" t:y="207" name="format2" t:title="format" t:color="magenta1">
+  <t:implementation.python script="nuvem/format_.py"/>
+  <service name="format"/>
+  <reference target="text5" name="pattern"/>
+  <reference target="valueof" name="values"/>
+ </component>
+ <component t:x="310" t:y="275" name="name2" t:title="" t:color="orange1">
+  <t:implementation.python script="nuvem/name.py"/>
+  <service name="name"/>
+  <property>catalog</property>
+ </component>
+ <component t:x="218" t:y="272" name="call9" t:title="call" t:color="green1">
+  <t:implementation.python script="nuvem/call.py"/>
+  <service name="call"/>
+  <reference target="name2" name="name"/>
+  <reference name="proxy" wiredByImpl="true" t:visible="false"/>
+ </component>
+ <component t:x="222" t:y="180" name="name" t:title="" t:color="orange1">
+  <t:implementation.python script="nuvem/name.py"/>
+  <service name="name"/>
+  <property>fruit</property>
+ </component>
+ <service name="carthtml" promote="carthtml"/>
+ <component t:x="12" t:y="388" name="carthtml" t:title="{compname}" t:color="green1">
+  <t:implementation.python script="nuvem/service.py"/>
+  <service name="service" t:visible="false"/>
+  <reference target="property6" name="content"/>
+ </component>
+ <component t:x="421" t:y="43" name="name8" t:title="" t:color="orange1">
+  <t:implementation.python script="nuvem/name.py"/>
+  <service name="name"/>
+  <property>cataloghtml</property>
+ </component>
+ <component t:x="215" t:y="425" name="name3" t:title="" t:color="orange1">
+  <t:implementation.python script="nuvem/name.py"/>
+  <service name="name"/>
+  <property>fruit</property>
+ </component>
+ <component t:x="216" t:y="457" name="format3" t:title="format" t:color="magenta1">
+  <t:implementation.python script="nuvem/format_.py"/>
+  <service name="format"/>
+  <reference target="text6" name="pattern"/>
+  <reference target="valueof2" name="values"/>
+ </component>
+ <component t:x="294" t:y="246" name="valueof" t:title="valueof" t:color="orange1">
+  <t:implementation.python script="nuvem/valueof.py"/>
+  <service name="valueof"/>
+  <property>fruit</property>
+ </component>
+ <component t:x="272" t:y="478" name="valueof2" t:title="valueof" t:color="orange1">
+  <t:implementation.python script="nuvem/valueof.py"/>
+  <service name="valueof"/>
+  <property>fruit</property>
+ </component>
+ <component t:x="307" t:y="518" name="name12" t:title="" t:color="orange1">
+  <t:implementation.python script="nuvem/name.py"/>
+  <service name="name"/>
+  <property>getcart</property>
+ </component>
+ <component t:x="256" t:y="161" name="foreach" t:title="foreach" t:color="yellow1">
+  <t:implementation.python script="nuvem/map_.py"/>
+  <service name="foreach"/>
+  <reference target="name" name="item"/>
+  <reference target="format2" name="transform"/>
+  <reference target="call9" name="list"/>
+ </component>
+ <component t:x="200" t:y="56" name="call5" t:title="call" t:color="green1">
+  <t:implementation.python script="nuvem/call.py"/>
+  <service name="call"/>
+  <reference target="name8" name="name"/>
+  <reference name="proxy" wiredByImpl="true" t:visible="false"/>
+ </component>
+ <component t:x="297" t:y="590" name="name9" t:title="" t:color="orange1">
+  <t:implementation.python script="nuvem/name.py"/>
+  <service name="name"/>
+  <property>carthtml</property>
+ </component>
+ <component t:x="313" t:y="794" name="name6" t:title="" t:color="orange1">
+  <t:implementation.python script="nuvem/name.py"/>
+  <service name="name"/>
+  <property>emptyCart</property>
+ </component>
+ <component t:x="567" t:y="822" name="text4" t:title=" '{propval}'" t:color="orange1">
+  <t:implementation.python script="nuvem/text.py"/>
+  <service name="text"/>
+  <property>Your order has been processed. Your total: ${1}</property>
+ </component>
+ <component t:x="296" t:y="588" name="valueof3" t:title="valueof" t:color="orange1">
+  <t:implementation.python script="nuvem/valueof.py"/>
+  <service name="valueof"/>
+  <property>sum</property>
+ </component>
+ <component t:x="528" t:y="96" name="name14" t:title="" t:color="orange1">
+  <t:implementation.python script="nuvem/name.py"/>
+  <service name="name"/>
+  <property>getcart</property>
+ </component>
+ <component t:x="336" t:y="386" name="text6" t:title=" '{propval}'" t:color="orange1">
+  <t:implementation.python script="nuvem/text.py"/>
+  <service name="text"/>
+  <property>${1} - {0}</property>
+ </component>
+ <component t:x="556" t:y="340" name="filedb3" t:title="file" t:color="red1">
+  <t:implementation.python script="nuvem/filedb.py"/>
+  <service name="filedb"/>
+  <reference name="db" target="AppDataFileCache" t:visible="false"/>
+  <property name="host" t:visible="false"/>
+ </component>
+ <component t:x="555" t:y="366" name="user3" t:title="user" t:color="green1">
+  <t:implementation.python script="nuvem/user.py"/>
+  <service name="user"/>
+  <property name="user" t:visible="false"/>
+ </component>
+ <component t:x="859" t:y="410" name="call2" t:title="call" t:color="green1">
+  <t:implementation.python script="nuvem/call.py"/>
+  <service name="call"/>
+  <reference target="name5" name="name"/>
+  <reference name="proxy" wiredByImpl="true" t:visible="false"/>
+ </component>
+ <component t:x="859" t:y="499" name="name10" t:title="" t:color="orange1">
+  <t:implementation.python script="nuvem/name.py"/>
+  <service name="name"/>
+  <property>total</property>
+ </component>
+ <component t:x="857" t:y="464" name="name15" t:title="" t:color="orange1">
+  <t:implementation.python script="nuvem/name.py"/>
+  <service name="name"/>
+  <property>carthtml</property>
+ </component>
+ <component t:x="121" t:y="358" name="property6" t:title="{propval} :" t:color="orange1">
+  <t:implementation.python script="nuvem/assoc.py"/>
+  <service name="property"/>
+  <reference target="foreach2" name="value"/>
+  <property>cart</property>
+ </component>
+ <component t:x="773" t:y="510" name="call6" t:title="call" t:color="green1">
+  <t:implementation.python script="nuvem/call.py"/>
+  <service name="call"/>
+  <reference target="name10" name="name"/>
+  <reference name="proxy" wiredByImpl="true" t:visible="false"/>
+ </component>
+ <component t:x="848" t:y="289" name="put" t:title="put" t:color="red1">
+  <t:implementation.python script="nuvem/put.py"/>
+  <service name="put"/>
+  <reference target="filedb3" name="collection"/>
+  <reference target="user3" name="id"/>
+  <reference target="append" name="value"/>
+ </component>
+ <component t:x="769" t:y="291" name="property7" t:title="{propval} :" t:color="orange1">
+  <t:implementation.python script="nuvem/assoc.py"/>
+  <service name="property"/>
+  <reference target="put" name="value"/>
+  <property>putresult</property>
+ </component>
+ <component t:x="749" t:y="105" name="property10" t:title="{propval} :" t:color="orange1">
+  <t:implementation.python script="nuvem/assoc.py"/>
+  <service name="property"/>
+  <reference target="number4" name="value"/>
+  <property>Kiwi</property>
+ </component>
+ <component t:x="814" t:y="592" name="property11" t:title="{propval} :" t:color="orange1">
+  <t:implementation.python script="nuvem/assoc.py"/>
+  <service name="property"/>
+  <reference target="delete2" name="value"/>
+  <property>delresult</property>
+ </component>
+ <component t:x="299" t:y="617" name="valueof4" t:title="valueof" t:color="orange1">
+  <t:implementation.python script="nuvem/valueof.py"/>
+  <service name="valueof"/>
+  <property>price</property>
+ </component>
+ <component t:x="98" t:y="526" name="property2" t:title="{propval} :" t:color="orange1">
+  <t:implementation.python script="nuvem/assoc.py"/>
+  <service name="property"/>
+  <reference target="round" name="value"/>
+  <property>total</property>
+ </component>
+ <component t:x="570" t:y="917" name="format" t:title="format" t:color="magenta1">
+  <t:implementation.python script="nuvem/format_.py"/>
+  <service name="format"/>
+  <reference target="text4" name="pattern"/>
+  <reference target="call8" name="values"/>
+ </component>
+ <service name="order" promote="order"/>
+ <component t:x="426" t:y="727" name="order" t:title="{compname}" t:color="green1">
+  <t:implementation.python script="nuvem/service.py"/>
+  <service name="service" t:visible="false"/>
+  <reference target="format" name="content"/>
+ </component>
+ <component t:x="328" t:y="797" name="call11" t:title="call" t:color="green1">
+  <t:implementation.python script="nuvem/call.py"/>
+  <service name="call"/>
+  <reference target="name16" name="name"/>
+  <reference name="proxy" wiredByImpl="true" t:visible="false"/>
+ </component>
+ <component t:x="1016" t:y="150" name="name16" t:title="" t:color="orange1">
+  <t:implementation.python script="nuvem/name.py"/>
+  <service name="name"/>
+  <property>order</property>
+ </component>
+ <component t:x="201" t:y="114" name="call13" t:title="call" t:color="green1">
+  <t:implementation.python script="nuvem/call.py"/>
+  <service name="call"/>
+  <reference target="name17" name="name"/>
+  <reference name="proxy" wiredByImpl="true" t:visible="false"/>
+ </component>
+ <component t:x="283" t:y="114" name="name17" t:title="" t:color="orange1">
+  <t:implementation.python script="nuvem/name.py"/>
+  <service name="name"/>
+  <property>carthtml</property>
+ </component>
+ <component t:x="197" t:y="153" name="call14" t:title="call" t:color="green1">
+  <t:implementation.python script="nuvem/call.py"/>
+  <service name="call"/>
+  <reference target="name19" name="name"/>
+  <reference name="proxy" wiredByImpl="true" t:visible="false"/>
+ </component>
+ <component t:x="289" t:y="151" name="name19" t:title="" t:color="orange1">
+  <t:implementation.python script="nuvem/name.py"/>
+  <service name="name"/>
+  <property>total</property>
+ </component>
+ <component t:x="742" t:y="944" name="name13" t:title="" t:color="orange1">
+  <t:implementation.python script="nuvem/name.py"/>
+  <service name="name"/>
+  <property>order</property>
+ </component>
+ <component t:x="680" t:y="1038" name="call8" t:title="call" t:color="green1">
+  <t:implementation.python script="nuvem/call.py"/>
+  <service name="call"/>
+  <reference target="name11" name="name"/>
+  <reference name="proxy" wiredByImpl="true" t:visible="false"/>
+ </component>
+ <component t:x="378" t:y="263" name="text5" t:title=" '{propval}'" t:color="orange1">
+  <t:implementation.python script="nuvem/text.py"/>
+  <service name="text"/>
+  <property>&lt;span id=&quot;fruit&quot; class=&quot;checkbox&quot;&gt;&lt;input type=&quot;checkbox&quot; value=&quot;{0}&quot;/&gt;${1} - {0}&lt;/span&gt;</property>
+ </component>
+ <component t:x="467" t:y="374" name="name20" t:title="" t:color="orange1">
+  <t:implementation.python script="nuvem/name.py"/>
+  <service name="name"/>
+  <property>catalog</property>
+ </component>
+ <component t:x="143" t:y="235" name="property" t:title="{propval} :" t:color="orange1">
+  <t:implementation.python script="nuvem/assoc.py"/>
+  <service name="property"/>
+  <reference target="foreach" name="value"/>
+  <property>catalog</property>
+ </component>
+ <component t:x="258" t:y="734" name="param" t:title="?param" t:color="green1">
+  <t:implementation.python script="nuvem/param.py"/>
+  <service name="param"/>
+  <property>fruit</property>
+  <property name="query" t:visible="false"/>
+ </component>
+ <component t:x="257" t:y="757" name="call15" t:title="call" t:color="green1">
+  <t:implementation.python script="nuvem/call.py"/>
+  <service name="call"/>
+  <reference target="name20" name="name"/>
+  <reference name="proxy" wiredByImpl="true" t:visible="false"/>
+ </component>
+ <component t:x="391" t:y="635" name="append" t:title="+" t:color="yellow1">
+  <t:implementation.python script="nuvem/append.py"/>
+  <service name="append"/>
+  <reference target="call2" name="first"/>
+  <reference target="lookup" name="second"/>
+ </component>
+ <component t:x="455" t:y="671" name="lookup" t:title="lookup" t:color="yellow1">
+  <t:implementation.python script="nuvem/lookup.py"/>
+  <service name="lookup"/>
+  <reference target="param" name="name"/>
+  <reference target="call15" name="list"/>
+ </component>
+ <component t:x="281" t:y="497" name="call10" t:title="call" t:color="green1">
+  <t:implementation.python script="nuvem/call.py"/>
+  <service name="call"/>
+  <reference target="name12" name="name"/>
+  <reference name="proxy" wiredByImpl="true" t:visible="false"/>
+ </component>
+ <component t:x="216" t:y="405" name="foreach2" t:title="foreach" t:color="yellow1">
+  <t:implementation.python script="nuvem/map_.py"/>
+  <service name="foreach"/>
+  <reference target="name3" name="item"/>
+  <reference target="format3" name="transform"/>
+  <reference target="call10" name="list"/>
+ </component>
+ <component t:x="854" t:y="834" name="call7" t:title="call" t:color="green1">
+  <t:implementation.python script="nuvem/call.py"/>
+  <service name="call"/>
+  <reference target="name9" name="name"/>
+  <reference name="proxy" wiredByImpl="true" t:visible="false"/>
+ </component>
+ <component t:x="853" t:y="866" name="call16" t:title="call" t:color="green1">
+  <t:implementation.python script="nuvem/call.py"/>
+  <service name="call"/>
+  <reference target="name21" name="name"/>
+  <reference name="proxy" wiredByImpl="true" t:visible="false"/>
+ </component>
+ <component t:x="464" t:y="189" name="name21" t:title="" t:color="orange1">
+  <t:implementation.python script="nuvem/name.py"/>
+  <service name="name"/>
+  <property>total</property>
+ </component>
+ <component t:x="214" t:y="767" name="call4" t:title="call" t:color="green1">
+  <t:implementation.python script="nuvem/call.py"/>
+  <service name="call"/>
+  <reference target="name15" name="name"/>
+  <reference name="proxy" wiredByImpl="true" t:visible="false"/>
+ </component>
+ <component t:x="139" t:y="579" name="list6" t:title="list" t:color="yellow1">
+  <t:implementation.python script="nuvem/list_.py"/>
+  <service name="list"/>
+  <reference target="property7" name="item" t:clonable="true"/>
+  <reference target="call4" name="item" t:clonable="true"/>
+  <reference target="call6" name="item" t:clonable="true"/>
+  <reference name="item" t:clonable="true"/>
+ </component>
+ <component t:x="320" t:y="42" name="text2" t:title=" '{propval}'" t:color="orange1">
+  <t:implementation.python script="nuvem/text.py"/>
+  <service name="text"/>
+  <property>Welcome to my online store</property>
+ </component>
+ <component t:x="667" t:y="375" name="round" t:title="round" t:color="magenta1">
+  <t:implementation.python script="nuvem/round_.py"/>
+  <service name="round"/>
+  <reference target="number3" name="n"/>
+  <reference target="sum" name="x"/>
+ </component>
+ <component t:x="722" t:y="375" name="number3" t:title="#" t:color="orange1">
+  <t:implementation.python script="nuvem/number.py"/>
+  <service name="number"/>
+  <property>2</property>
+ </component>
+ <component t:x="866" t:y="771" name="filedb2" t:title="file" t:color="red1">
+  <t:implementation.python script="nuvem/filedb.py"/>
+  <service name="filedb"/>
+  <reference name="db" target="AppDataFileCache" t:visible="false"/>
+  <property name="host" t:visible="false"/>
+ </component>
+ <component t:x="816" t:y="767" name="delete2" t:title="delete" t:color="red1">
+  <t:implementation.python script="nuvem/delete.py"/>
+  <service name="delete"/>
+  <reference target="filedb2" name="collection"/>
+  <reference target="user2" name="id"/>
+ </component>
+ <component t:x="865" t:y="798" name="user2" t:title="user" t:color="green1">
+  <t:implementation.python script="nuvem/user.py"/>
+  <service name="user"/>
+  <property name="user" t:visible="false"/>
+ </component>
+ <component t:x="714" t:y="492" name="call" t:title="call" t:color="green1">
+  <t:implementation.python script="nuvem/call.py"/>
+  <service name="call"/>
+  <reference target="name14" name="name"/>
+  <reference name="proxy" wiredByImpl="true" t:visible="false"/>
+ </component>
+ <component t:x="263" t:y="879" name="text3" t:title=" '{propval}'" t:color="orange1">
+  <t:implementation.python script="nuvem/text.py"/>
+  <service name="text"/>
+  <property>xmppsca.2@gmail.com</property>
+ </component>
+ <component t:x="269" t:y="908" name="call12" t:title="call" t:color="green1">
+  <t:implementation.python script="nuvem/call.py"/>
+  <service name="call"/>
+  <reference target="name13" name="name"/>
+  <reference name="proxy" wiredByImpl="true" t:visible="false"/>
+ </component>
+ <component t:x="635" t:y="345" name="values" t:title="values" t:color="yellow1">
+  <t:implementation.python script="nuvem/values.py"/>
+  <service name="values"/>
+  <reference target="call" name="list"/>
+ </component>
+ <component t:x="590" t:y="348" name="sum" t:title="sum" t:color="magenta1">
+  <t:implementation.python script="nuvem/sum_.py"/>
+  <service name="sum"/>
+  <reference target="values" name="l"/>
+ </component>
+ <component t:x="131" t:y="839" name="property12" t:title="{propval} :" t:color="orange1">
+  <t:implementation.python script="nuvem/assoc.py"/>
+  <service name="property"/>
+  <reference target="sendgtalk" name="value"/>
+  <property>sendresult</property>
+ </component>
+ <component t:x="131" t:y="958" name="call3" t:title="call" t:color="green1">
+  <t:implementation.python script="nuvem/call.py"/>
+  <service name="call"/>
+  <reference target="name6" name="name"/>
+  <reference name="proxy" wiredByImpl="true" t:visible="false"/>
+ </component>
+ <component t:x="217" t:y="841" name="sendgtalk" t:title="gtalk" t:color="blue1">
+  <implementation.cpp path="lib/chat" library="libchat-sender2"/>
+  <service name="sendgtalk"/>
+  <reference target="text" name="jid"/>
+  <reference target="text7" name="pass"/>
+  <reference target="text3" name="to"/>
+  <reference target="call12" name="msg"/>
+ </component>
+ <component t:x="266" t:y="802" name="text" t:title=" '{propval}'" t:color="orange1">
+  <t:implementation.python script="nuvem/text.py"/>
+  <service name="text"/>
+  <property>xmppsca.1@gmail.com</property>
+ </component>
+ <component t:x="266" t:y="830" name="text7" t:title=" '{propval}'" t:color="orange1">
+  <t:implementation.python script="nuvem/text.py"/>
+  <service name="text"/>
+  <property>xmpp4sca</property>
+ </component>
+</composite>

Added: tuscany/sca-cpp/trunk/modules/edit/apps/shoppingcart/app.html
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/modules/edit/apps/shoppingcart/app.html?rev=1094208&view=auto
==============================================================================
--- tuscany/sca-cpp/trunk/modules/edit/apps/shoppingcart/app.html (added)
+++ tuscany/sca-cpp/trunk/modules/edit/apps/shoppingcart/app.html Sun Apr 17 22:13:58 2011
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+-->
+<DIV id="page">
+ <SPAN id="message" class="text" style="position: absolute; top: 36px; left: 2px; ">
+  <SPAN>Welcome</SPAN>
+ </SPAN>
+ <SPAN id="section" class="section" style="position: absolute; top: 189px; width: 100%; left: 2px; ">
+  <SPAN>Your Cart:</SPAN>
+ </SPAN>
+ <SPAN id="section" class="section" style="position: absolute; top: 72px; width: 100%; left: 2px; ">
+  <SPAN>Catalog</SPAN>
+ </SPAN>
+ <SPAN id="catalog" class="list" style="position: absolute; top: 99px; left: 2px; ">
+  <TABLE class="datatable" style="width: 100%; ">
+   <TBODY>
+    <TR>
+     <TD>list</TD>
+    </TR>
+    <TR>
+     <TD>...</TD>
+    </TR>
+   </TBODY>
+  </TABLE>
+ </SPAN>
+ <SPAN id="cart" class="list" style="position: absolute; top: 216px; left: 2px; ">
+  <TABLE class="datatable" style="width: 100%; ">
+   <TBODY>
+    <TR>
+     <TD>list</TD>
+    </TR>
+    <TR>
+     <TD>...</TD>
+    </TR>
+   </TBODY>
+  </TABLE>
+ </SPAN>
+ <SPAN id="h2" class="h2" style="position: absolute; top: 0px; left: 2px; ">
+  <H2>Shopping Cart</H2>
+ </SPAN>
+ <SPAN id="addToCart" class="button" style="position: absolute; top: 72px; left: 146px; ">
+  <INPUT type="button" value="Add to cart"/>
+ </SPAN>
+ <SPAN id="checkout" class="button" style="position: absolute; top: 189px; left: 146px; ">
+  <INPUT type="button" value="Check out"/>
+ </SPAN>
+ <SPAN id="emptyCart" class="button" style="position: absolute; top: 189px; left: 245px; ">
+  <INPUT type="button" value="Empty"/>
+ </SPAN>
+ <SPAN id="text" class="text" style="position: absolute; top: 189px; left: 74px; ">
+  <SPAN>$</SPAN>
+ </SPAN>
+ <SPAN id="total" class="text" style="position: absolute; top: 189px; left: 83px; ">
+  <SPAN>0</SPAN>
+ </SPAN>
+</DIV>

Copied: tuscany/sca-cpp/trunk/modules/edit/apps/slice/app.composite (from r1094207, tuscany/sca-cpp/trunk/modules/edit/apps/test/app.composite)
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/modules/edit/apps/slice/app.composite?p2=tuscany/sca-cpp/trunk/modules/edit/apps/slice/app.composite&p1=tuscany/sca-cpp/trunk/modules/edit/apps/test/app.composite&r1=1094207&r2=1094208&rev=1094208&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/modules/edit/apps/test/app.composite (original)
+++ tuscany/sca-cpp/trunk/modules/edit/apps/slice/app.composite Sun Apr 17 22:13:58 2011
@@ -17,28 +17,24 @@
  * specific language governing permissions and limitations
  * under the License.    
 -->
-<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1" targetNamespace="http://test" name="test">
- <service name="every" promote="every"/>
- <component t:x="42" t:y="30" name="every" t:title="every n milliseconds" t:color="green1">
-  <t:implementation.python script="nuvem/every.py"/>
-  <service name="every" t:visible="false">
-   <t:binding.http uri="every"/>
-  </service>
-  <reference name="n"/>
-  <reference name="content"/>
+<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1" targetNamespace="http://slice" name="slice">
+ <component t:x="271" t:y="21" name="number" t:title="#" t:color="orange1">
+  <t:implementation.python script="nuvem/number.py"/>
+  <service name="number"/>
+  <property>0</property>
  </component>
- <service name="pair" promote="pair"/>
- <component t:x="207" t:y="48" name="pair" t:title="pair" t:color="yellow1">
-  <t:implementation.python script="nuvem/pair.py"/>
-  <service name="pair"/>
-  <reference name="name"/>
-  <reference name="value"/>
+ <component t:x="246" t:y="25" name="property" t:title="{propval} :" t:color="orange1">
+  <t:implementation.python script="nuvem/assoc.py"/>
+  <service name="property"/>
+  <reference target="number" name="value"/>
+  <property>slice</property>
  </component>
- <service name="itemnb" promote="itemnb"/>
- <component t:x="104" t:y="95" name="itemnb" t:title="item number" t:color="yellow1">
-  <t:implementation.python script="nuvem/itemnb.py"/>
-  <service name="itemnb"/>
-  <reference name="index"/>
-  <reference name="list"/>
+ <service name="appstart" promote="appstart"/>
+ <component t:x="129" t:y="23" name="appstart" t:title="start" t:color="green1">
+  <t:implementation.python script="nuvem/appstart.py"/>
+  <service name="appstart" t:visible="false">
+   <t:binding.http uri="appstart"/>
+  </service>
+  <reference target="property" name="content"/>
  </component>
 </composite>

Modified: tuscany/sca-cpp/trunk/modules/edit/apps/test/app.composite
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/modules/edit/apps/test/app.composite?rev=1094208&r1=1094207&r2=1094208&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/modules/edit/apps/test/app.composite (original)
+++ tuscany/sca-cpp/trunk/modules/edit/apps/test/app.composite Sun Apr 17 22:13:58 2011
@@ -18,27 +18,28 @@
  * under the License.    
 -->
 <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1" targetNamespace="http://test" name="test">
- <service name="every" promote="every"/>
- <component t:x="42" t:y="30" name="every" t:title="every n milliseconds" t:color="green1">
-  <t:implementation.python script="nuvem/every.py"/>
-  <service name="every" t:visible="false">
-   <t:binding.http uri="every"/>
-  </service>
-  <reference name="n"/>
-  <reference name="content"/>
+ <service name="text3" promote="text3"/>
+ <component t:x="48" t:y="35" name="text3" t:title=" '{propval}'" t:color="orange1">
+  <t:implementation.python script="nuvem/text.py"/>
+  <service name="text"/>
+  <property>Hello World</property>
  </component>
- <service name="pair" promote="pair"/>
- <component t:x="207" t:y="48" name="pair" t:title="pair" t:color="yellow1">
-  <t:implementation.python script="nuvem/pair.py"/>
-  <service name="pair"/>
-  <reference name="name"/>
-  <reference name="value"/>
+ <service name="fbprofile" promote="fbprofile"/>
+ <component t:x="404" t:y="163" name="fbprofile" t:title="facebook profile" t:color="blue1">
+  <t:implementation.python script="nuvem/fbprofile.py"/>
+  <service name="fbprofile"/>
+  <reference name="id"/>
+  <reference name="fb" t:visible="false">
+   <t:binding.http uri="https://graph.facebook.com"/>
+  </reference>
  </component>
- <service name="itemnb" promote="itemnb"/>
- <component t:x="104" t:y="95" name="itemnb" t:title="item number" t:color="yellow1">
-  <t:implementation.python script="nuvem/itemnb.py"/>
-  <service name="itemnb"/>
-  <reference name="index"/>
-  <reference name="list"/>
+ <service name="twprofile" promote="twprofile"/>
+ <component t:x="402" t:y="216" name="twprofile" t:title="twitter profile" t:color="blue1">
+  <t:implementation.python script="nuvem/twprofile.py"/>
+  <service name="twprofile"/>
+  <reference name="id"/>
+  <reference name="tw" t:visible="false">
+   <t:binding.http uri="http://api.twitter.com/1/users/show.json"/>
+  </reference>
  </component>
 </composite>

Modified: tuscany/sca-cpp/trunk/modules/edit/apps/testdb/app.composite
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/modules/edit/apps/testdb/app.composite?rev=1094208&r1=1094207&r2=1094208&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/modules/edit/apps/testdb/app.composite (original)
+++ tuscany/sca-cpp/trunk/modules/edit/apps/testdb/app.composite Sun Apr 17 22:13:58 2011
@@ -18,12 +18,7 @@
  * under the License.    
 -->
 <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1" targetNamespace="http://testdb" name="testdb">
- <component t:x="405" t:y="143" name="text3" t:title="text" t:color="orange1">
-  <t:implementation.python script="nuvem/text.py"/>
-  <service name="text"/>
-  <property>testkey</property>
- </component>
- <component t:x="177" t:y="36" name="text" t:title="text" t:color="orange1">
+ <component t:x="177" t:y="36" name="text" t:title=" '{propval}'" t:color="orange1">
   <t:implementation.python script="nuvem/text.py"/>
   <service name="text"/>
   <property>testkey</property>
@@ -34,19 +29,19 @@
   <reference target="text" name="item" t:clonable="true"/>
   <reference name="item" t:clonable="true"/>
  </component>
- <component t:x="103" t:y="91" name="text2" t:title="text" t:color="orange1">
+ <component t:x="103" t:y="91" name="text2" t:title=" '{propval}'" t:color="orange1">
   <t:implementation.python script="nuvem/text.py"/>
   <service name="text"/>
   <property>testvalue</property>
  </component>
- <component t:x="105" t:y="8" name="filedb" t:title="File database" t:color="green1">
+ <component t:x="105" t:y="8" name="filedb" t:title="file" t:color="red1">
   <t:implementation.python script="nuvem/filedb.py"/>
   <service name="filedb"/>
   <reference name="db" target="AppDataFileCache" t:visible="false"/>
   <property name="host" t:visible="false"/>
  </component>
  <service name="put" promote="put"/>
- <component t:x="59" t:y="63" name="put" t:title="put" t:color="green1">
+ <component t:x="72" t:y="38" name="put" t:title="put" t:color="red1">
   <t:implementation.python script="nuvem/put.py"/>
   <service name="put"/>
   <reference target="filedb" name="collection"/>
@@ -60,26 +55,26 @@
   <reference name="item" t:clonable="true"/>
  </component>
  <service name="get" promote="get"/>
- <component t:x="300" t:y="61" name="get" t:title="get" t:color="green1">
+ <component t:x="263" t:y="42" name="get" t:title="get" t:color="red1">
   <t:implementation.python script="nuvem/get.py"/>
   <service name="get"/>
   <reference target="filedb3" name="collection"/>
   <reference target="list2" name="id"/>
  </component>
- <component t:x="311" t:y="155" name="filedb3" t:title="File database" t:color="green1">
+ <component t:x="311" t:y="155" name="filedb3" t:title="file" t:color="red1">
   <t:implementation.python script="nuvem/filedb.py"/>
   <service name="filedb"/>
   <reference name="db" target="AppDataFileCache" t:visible="false"/>
   <property name="host" t:visible="false"/>
  </component>
  <service name="delete" promote="delete"/>
- <component t:x="58" t:y="221" name="delete" t:title="delete" t:color="green1">
+ <component t:x="457" t:y="44" name="delete" t:title="delete" t:color="red1">
   <t:implementation.python script="nuvem/delete.py"/>
   <service name="delete"/>
   <reference target="filedb2" name="collection"/>
   <reference target="list3" name="id"/>
  </component>
- <component t:x="113" t:y="223" name="filedb2" t:title="File database" t:color="green1">
+ <component t:x="113" t:y="223" name="filedb2" t:title="file" t:color="red1">
   <t:implementation.python script="nuvem/filedb.py"/>
   <service name="filedb"/>
   <reference name="db" target="AppDataFileCache" t:visible="false"/>
@@ -91,7 +86,12 @@
   <reference target="text4" name="item" t:clonable="true"/>
   <reference name="item" t:clonable="true"/>
  </component>
- <component t:x="187" t:y="249" name="text4" t:title="text" t:color="orange1">
+ <component t:x="187" t:y="249" name="text4" t:title=" '{propval}'" t:color="orange1">
+  <t:implementation.python script="nuvem/text.py"/>
+  <service name="text"/>
+  <property>testkey</property>
+ </component>
+ <component t:x="342" t:y="70" name="text3" t:title=" '{propval}'" t:color="orange1">
   <t:implementation.python script="nuvem/text.py"/>
   <service name="text"/>
   <property>testkey</property>

Copied: tuscany/sca-cpp/trunk/modules/edit/apps/testdb/app.html (from r1094207, tuscany/sca-cpp/trunk/modules/edit/apps/testvalues/app.html)
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/modules/edit/apps/testdb/app.html?p2=tuscany/sca-cpp/trunk/modules/edit/apps/testdb/app.html&p1=tuscany/sca-cpp/trunk/modules/edit/apps/testvalues/app.html&r1=1094207&r2=1094208&rev=1094208&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/modules/edit/apps/testvalues/app.html (original)
+++ tuscany/sca-cpp/trunk/modules/edit/apps/testdb/app.html Sun Apr 17 22:13:58 2011
@@ -18,7 +18,7 @@
  * under the License.    
 -->
 <DIV id="page">
- <SPAN id="value" class="h2" style="position: absolute; top: 17px; left: 4px; ">
-  <H2>Header2</H2>
+ <SPAN id="h1" class="h1" style="position: absolute; top: 0px; left: 2px; ">
+  <H1>Test db components</H1>
  </SPAN>
 </DIV>

Modified: tuscany/sca-cpp/trunk/modules/edit/apps/testevents/app.composite
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/modules/edit/apps/testevents/app.composite?rev=1094208&r1=1094207&r2=1094208&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/modules/edit/apps/testevents/app.composite (original)
+++ tuscany/sca-cpp/trunk/modules/edit/apps/testevents/app.composite Sun Apr 17 22:13:58 2011
@@ -18,177 +18,154 @@
  * under the License.    
 -->
 <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1" targetNamespace="http://testevents" name="testevents">
- <service name="page" promote="page"/>
- <component t:x="43" t:y="10" name="page" t:title="when page opens" t:color="green1">
-  <t:implementation.python script="nuvem/page.py"/>
-  <service name="page" t:visible="false">
-   <t:binding.http uri="page"/>
-  </service>
-  <reference target="pair" name="content"/>
- </component>
- <service name="testbutton1" promote="testbutton1"/>
- <component t:x="42" t:y="127" name="testbutton1" t:title="on {compname} widget" t:color="green1">
-  <t:implementation.python script="nuvem/widget.py"/>
-  <service name="widget" t:visible="false"/>
-  <reference target="pair5" name="content"/>
- </component>
- <component t:x="167" t:y="12" name="pair" t:title="pair" t:color="yellow1">
-  <t:implementation.python script="nuvem/pair.py"/>
-  <service name="pair"/>
-  <reference target="name" name="name"/>
-  <reference target="text" name="value"/>
- </component>
- <component t:x="311" t:y="76" name="text" t:title="text" t:color="orange1">
+ <component t:x="888" t:y="14" name="text3" t:title=" '{propval}'" t:color="orange1">
   <t:implementation.python script="nuvem/text.py"/>
   <service name="text"/>
-  <property>page opened</property>
- </component>
- <component t:x="293" t:y="48" name="name" t:title="name" t:color="orange1">
-  <t:implementation.python script="nuvem/name.py"/>
-  <service name="name"/>
-  <property>status</property>
- </component>
- <component t:x="245" t:y="133" name="name2" t:title="name" t:color="orange1">
-  <t:implementation.python script="nuvem/name.py"/>
-  <service name="name"/>
-  <property>status</property>
- </component>
- <service name="testbutton2" promote="testbutton2"/>
- <component t:x="409" t:y="9" name="testbutton2" t:title="on {compname} widget" t:color="green1">
-  <t:implementation.python script="nuvem/widget.py"/>
-  <service name="widget" t:visible="false"/>
-  <reference target="pair3" name="content"/>
- </component>
- <component t:x="591" t:y="130" name="pair3" t:title="pair" t:color="yellow1">
-  <t:implementation.python script="nuvem/pair.py"/>
-  <service name="pair"/>
-  <reference target="name3" name="name"/>
-  <reference target="text3" name="value"/>
- </component>
- <component t:x="654" t:y="125" name="name3" t:title="name" t:color="orange1">
-  <t:implementation.python script="nuvem/name.py"/>
-  <service name="name"/>
-  <property>status</property>
- </component>
- <component t:x="269" t:y="132" name="pair2" t:title="pair" t:color="yellow1">
-  <t:implementation.python script="nuvem/pair.py"/>
-  <service name="pair"/>
-  <reference target="name2" name="name"/>
-  <reference target="text2" name="value"/>
- </component>
- <component t:x="319" t:y="204" name="name5" t:title="name" t:color="orange1">
-  <t:implementation.python script="nuvem/name.py"/>
-  <service name="name"/>
-  <property>testtext</property>
- </component>
- <component t:x="251" t:y="116" name="name6" t:title="name" t:color="orange1">
-  <t:implementation.python script="nuvem/name.py"/>
-  <service name="name"/>
-  <property>data</property>
- </component>
- <component t:x="245" t:y="167" name="list" t:title="list" t:color="yellow1">
-  <t:implementation.python script="nuvem/list_.py"/>
-  <service name="list"/>
-  <reference target="pair2" name="item" t:clonable="true"/>
-  <reference target="pair4" name="item" t:clonable="true"/>
-  <reference name="item" t:clonable="true"/>
- </component>
- <component t:x="190" t:y="127" name="pair5" t:title="pair" t:color="yellow1">
-  <t:implementation.python script="nuvem/pair.py"/>
-  <service name="pair"/>
-  <reference target="name6" name="name"/>
-  <reference target="list" name="value"/>
- </component>
- <component t:x="321" t:y="256" name="pair4" t:title="pair" t:color="yellow1">
-  <t:implementation.python script="nuvem/pair.py"/>
-  <service name="pair"/>
-  <reference target="name5" name="name"/>
-  <reference target="param" name="value"/>
+  <property>cancel button clicked</property>
  </component>
- <component t:x="373" t:y="207" name="text2" t:title="text" t:color="orange1">
+ <component t:x="844" t:y="132" name="text4" t:title=" '{propval}'" t:color="orange1">
   <t:implementation.python script="nuvem/text.py"/>
   <service name="text"/>
-  <property>ok button clicked</property>
+  <property>timer fired</property>
  </component>
- <component t:x="871" t:y="58" name="text3" t:title="text" t:color="orange1">
+ <component t:x="359" t:y="75" name="text" t:title=" '{propval}'" t:color="orange1">
   <t:implementation.python script="nuvem/text.py"/>
   <service name="text"/>
-  <property>cancel button clicked</property>
+  <property>page opens</property>
  </component>
- <service name="location" promote="location"/>
- <component t:x="603" t:y="295" name="location" t:title="on location change" t:color="green1">
-  <t:implementation.python script="nuvem/location.py"/>
-  <service name="location" t:visible="false">
-   <t:binding.http uri="location"/>
-  </service>
-  <reference target="pair6" name="content"/>
+ <component t:x="228" t:y="197" name="property4" t:title="{propval} :" t:color="orange1">
+  <t:implementation.python script="nuvem/assoc.py"/>
+  <service name="property"/>
+  <reference target="text2" name="value"/>
+  <property>status</property>
  </component>
- <component t:x="756" t:y="287" name="pair6" t:title="pair" t:color="yellow1">
-  <t:implementation.python script="nuvem/pair.py"/>
-  <service name="pair"/>
-  <reference target="name7" name="name"/>
-  <reference target="params2" name="value"/>
+ <component t:x="371" t:y="408" name="text2" t:title=" '{propval}'" t:color="orange1">
+  <t:implementation.python script="nuvem/text.py"/>
+  <service name="text"/>
+  <property>ok button clicked</property>
  </component>
- <component t:x="808" t:y="288" name="name7" t:title="name" t:color="orange1">
-  <t:implementation.python script="nuvem/name.py"/>
-  <service name="name"/>
-  <property>data</property>
+ <component t:x="229" t:y="156" name="property5" t:title="{propval} :" t:color="orange1">
+  <t:implementation.python script="nuvem/assoc.py"/>
+  <service name="property"/>
+  <reference target="param" name="value"/>
+  <property>testtext</property>
  </component>
- <component t:x="806" t:y="331" name="params2" t:title="?params" t:color="green1">
+ <component t:x="619" t:y="371" name="params2" t:title="?params" t:color="green1">
   <t:implementation.python script="nuvem/params.py"/>
   <service name="params"/>
   <property name="query" t:visible="false"/>
  </component>
- <component t:x="783" t:y="255" name="pair8" t:title="pair" t:color="yellow1">
-  <t:implementation.python script="nuvem/pair.py"/>
-  <service name="pair"/>
-  <reference target="name9" name="name"/>
-  <reference target="text4" name="value"/>
+ <component t:x="307" t:y="147" name="param" t:title="?param" t:color="green1">
+  <t:implementation.python script="nuvem/param.py"/>
+  <service name="param"/>
+  <property>testfield</property>
+  <property name="query" t:visible="false"/>
  </component>
- <component t:x="758" t:y="243" name="text4" t:title="text" t:color="orange1">
-  <t:implementation.python script="nuvem/text.py"/>
-  <service name="text"/>
-  <property>timer fired</property>
+ <service name="every3" promote="every3"/>
+ <component t:x="62" t:y="91" name="every3" t:title="every" t:color="green1">
+  <t:implementation.python script="nuvem/every.py"/>
+  <service name="every" t:visible="false">
+   <t:binding.http uri="every"/>
+  </service>
+  <reference target="number" name="n"/>
+  <reference target="property2" name="content"/>
  </component>
- <component t:x="674" t:y="126" name="number" t:title="number" t:color="orange1">
+ <component t:x="601" t:y="122" name="number" t:title="#" t:color="orange1">
   <t:implementation.python script="nuvem/number.py"/>
   <service name="number"/>
   <property>3000</property>
  </component>
- <component t:x="675" t:y="146" name="pair7" t:title="pair" t:color="yellow1">
-  <t:implementation.python script="nuvem/pair.py"/>
-  <service name="pair"/>
-  <reference target="name8" name="name"/>
-  <reference target="pair8" name="value"/>
+ <component t:x="602" t:y="148" name="property2" t:title="{propval} :" t:color="orange1">
+  <t:implementation.python script="nuvem/assoc.py"/>
+  <service name="property"/>
+  <reference target="text4" name="value"/>
+  <property>status</property>
  </component>
- <service name="every" promote="every"/>
- <component t:x="601" t:y="103" name="every" t:title="every n milliseconds" t:color="green1">
-  <t:implementation.python script="nuvem/every.py"/>
-  <service name="every" t:visible="false">
-   <t:binding.http uri="every"/>
+ <component t:x="598" t:y="227" name="property6" t:title="{propval} :" t:color="orange1">
+  <t:implementation.python script="nuvem/assoc.py"/>
+  <service name="property"/>
+  <reference target="params2" name="value"/>
+  <property>location</property>
+ </component>
+ <service name="geolocation" promote="geolocation"/>
+ <component t:x="61" t:y="178" name="geolocation" t:title="location" t:color="green1">
+  <t:implementation.python script="nuvem/geolocation.py"/>
+  <service name="geolocation" t:visible="false">
+   <t:binding.http uri="geolocation"/>
   </service>
-  <reference target="number" name="n"/>
-  <reference target="pair7" name="content"/>
+  <reference target="property6" name="content"/>
  </component>
- <component t:x="733" t:y="164" name="name8" t:title="name" t:color="orange1">
-  <t:implementation.python script="nuvem/name.py"/>
-  <service name="name"/>
-  <property>data</property>
+ <component t:x="159" t:y="42" name="property3" t:title="{propval} :" t:color="orange1">
+  <t:implementation.python script="nuvem/assoc.py"/>
+  <service name="property"/>
+  <reference target="text" name="value"/>
+  <property>status</property>
  </component>
- <component t:x="788" t:y="204" name="name9" t:title="name" t:color="orange1">
-  <t:implementation.python script="nuvem/name.py"/>
-  <service name="name"/>
+ <service name="appstart" promote="appstart"/>
+ <component t:x="63" t:y="31" name="appstart" t:title="start" t:color="green1">
+  <t:implementation.python script="nuvem/appstart.py"/>
+  <service name="appstart" t:visible="false">
+   <t:binding.http uri="appstart"/>
+  </service>
+  <reference target="property3" name="content"/>
+ </component>
+ <component t:x="172" t:y="141" name="list" t:title="list" t:color="yellow1">
+  <t:implementation.python script="nuvem/list_.py"/>
+  <service name="list"/>
+  <reference target="property5" name="item" t:clonable="true"/>
+  <reference target="property4" name="item" t:clonable="true"/>
+  <reference name="item" t:clonable="true"/>
+ </component>
+ <service name="testbutton1" promote="testbutton1"/>
+ <component t:x="364" t:y="102" name="testbutton1" t:title="{compname}" t:color="green1">
+  <t:implementation.python script="nuvem/service.py"/>
+  <service name="service" t:visible="false"/>
+  <reference target="list" name="content"/>
+ </component>
+ <service name="testbutton2" promote="testbutton2"/>
+ <component t:x="362" t:y="35" name="testbutton2" t:title="{compname}" t:color="green1">
+  <t:implementation.python script="nuvem/service.py"/>
+  <service name="service" t:visible="false"/>
+  <reference target="prop2" name="content"/>
+ </component>
+ <component t:x="602" t:y="52" name="prop2" t:title="{propval} :" t:color="orange1">
+  <t:implementation.python script="nuvem/assoc.py"/>
+  <service name="property"/>
+  <reference target="text3" name="value"/>
   <property>status</property>
  </component>
- <component t:x="360" t:y="250" name="name4" t:title="name" t:color="orange1">
+ <component t:x="455" t:y="315" name="abc" t:title=" '{propval}'" t:color="orange1">
+  <t:implementation.python script="nuvem/text.py"/>
+  <service name="text"/>
+  <property>abc</property>
+ </component>
+ <service name="compabc" promote="compabc"/>
+ <component t:x="236" t:y="248" name="compabc" t:title="{compname}" t:color="green1">
+  <t:implementation.python script="nuvem/service.py"/>
+  <service name="service" t:visible="false"/>
+  <reference target="abc" name="content"/>
+ </component>
+ <service name="compxyz" promote="compxyz"/>
+ <component t:x="236" t:y="299" name="compxyz" t:title="{compname}" t:color="green1">
+  <t:implementation.python script="nuvem/service.py"/>
+  <service name="service" t:visible="false"/>
+  <reference name="content" target="text12"/>
+ </component>
+ <component name="text12" t:x="428" t:y="366" t:title=" '{propval}'" t:color="orange1">
+  <t:implementation.python script="nuvem/text.py"/>
+  <service name="text"/>
+  <property>xyz</property>
+ </component>
+ <service name="call2" promote="call2"/>
+ <component t:x="69" t:y="248" name="call2" t:title="call" t:color="green1">
+  <t:implementation.python script="nuvem/call.py"/>
+  <service name="call"/>
+  <reference target="name" name="name"/>
+  <reference name="proxy" wiredByImpl="true" t:visible="false"/>
+ </component>
+ <component t:x="184" t:y="316" name="name" t:title="" t:color="orange1">
   <t:implementation.python script="nuvem/name.py"/>
   <service name="name"/>
-  <property>testfield</property>
- </component>
- <component t:x="301" t:y="247" name="param" t:title="?param" t:color="green1">
-  <t:implementation.python script="nuvem/param.py"/>
-  <service name="param"/>
-  <reference target="name4" name="name"/>
-  <property name="query" t:visible="false"/>
+  <property>compxyz</property>
  </component>
 </composite>

Modified: tuscany/sca-cpp/trunk/modules/edit/apps/testevents/app.html
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/modules/edit/apps/testevents/app.html?rev=1094208&r1=1094207&r2=1094208&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/modules/edit/apps/testevents/app.html (original)
+++ tuscany/sca-cpp/trunk/modules/edit/apps/testevents/app.html Sun Apr 17 22:13:58 2011
@@ -18,37 +18,40 @@
  * under the License.    
 -->
 <DIV id="page">
- <SPAN id="testfield" class="entry" style="position: absolute; top: 12px; left: 0px; ">
-  <INPUT type="text" value="enter a val" size="10"/>
+ <SPAN id="testbutton1" class="button" style="position: absolute; top: 207px; left: 2px; ">
+  <INPUT type="button" value="OK"/>
  </SPAN>
- <SPAN id="text" class="text" style="position: absolute; top: 55px; left: 4px; ">
-  <SPAN>Status:</SPAN>
+ <SPAN id="testbutton2" class="button" style="position: absolute; top: 207px; left: 47px; ">
+  <INPUT type="button" value="Cancel"/>
  </SPAN>
- <SPAN id="text" class="text" style="position: absolute; top: 88px; left: 4px; ">
-  <SPAN>Field value:</SPAN>
+ <SPAN id="text" class="text" style="position: absolute; top: 171px; left: 11px; ">
+  <SPAN>Latitude:</SPAN>
  </SPAN>
- <SPAN id="testtext" class="text" style="position: absolute; top: 89px; left: 84px; ">
+ <SPAN id="latitude" class="text" style="position: absolute; top: 171px; left: 92px; ">
   <SPAN>text</SPAN>
  </SPAN>
- <SPAN id="status" class="text" style="position: absolute; top: 56px; left: 83px; ">
+ <SPAN id="longitude" class="text" style="position: absolute; top: 144px; left: 92px; ">
   <SPAN>text</SPAN>
  </SPAN>
- <SPAN id="text" class="text" style="position: absolute; top: 115px; left: 4px; ">
+ <SPAN id="text" class="text" style="position: absolute; top: 144px; left: 11px; ">
   <SPAN>Longitude:</SPAN>
  </SPAN>
- <SPAN id="text" class="text" style="position: absolute; top: 138px; left: 5px; ">
-  <SPAN>Latitude:</SPAN>
+ <SPAN id="text" class="text" style="position: absolute; top: 117px; left: 11px; ">
+  <SPAN>Field value:</SPAN>
  </SPAN>
- <SPAN id="testbutton1" class="button" style="position: absolute; top: 173px; left: 0px; ">
-  <INPUT type="button" value="OK"/>
+ <SPAN id="testtext" class="text" style="position: absolute; top: 117px; left: 92px; ">
+  <SPAN>text</SPAN>
  </SPAN>
- <SPAN id="testbutton2" class="button" style="position: absolute; top: 172px; left: 64px; ">
-  <INPUT type="button" value="Cancel"/>
+ <SPAN id="text" class="text" style="position: absolute; top: 90px; left: 11px; ">
+  <SPAN>Status:</SPAN>
  </SPAN>
- <SPAN id="longitude" class="text" style="position: absolute; top: 114px; left: 83px; ">
+ <SPAN id="status" class="text" style="position: absolute; top: 90px; left: 92px; ">
   <SPAN>text</SPAN>
  </SPAN>
- <SPAN id="latitude" class="text" style="position: absolute; top: 137px; left: 83px; ">
-  <SPAN>text</SPAN>
+ <SPAN id="testfield" class="entry" style="position: absolute; top: 54px; left: 11px; ">
+  <INPUT type="text" value="enter a val" size="10" autocapitalize="off"/>
+ </SPAN>
+ <SPAN id="h1" class="h1" style="position: absolute; top: 0px; left: 2px; ">
+  <H1>Test events</H1>
  </SPAN>
 </DIV>

Modified: tuscany/sca-cpp/trunk/modules/edit/apps/testhttp/app.composite
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/modules/edit/apps/testhttp/app.composite?rev=1094208&r1=1094207&r2=1094208&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/modules/edit/apps/testhttp/app.composite (original)
+++ tuscany/sca-cpp/trunk/modules/edit/apps/testhttp/app.composite Sun Apr 17 22:13:58 2011
@@ -19,69 +19,112 @@
 -->
 <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1" targetNamespace="http://testhttp" name="testhttp">
  <service name="get" promote="get"/>
- <component t:x="25" t:y="25" name="get" t:title="http get" t:color="green1">
+ <component t:x="25" t:y="25" name="get" t:title="get" t:color="green1">
   <implementation.cpp path="lib/http" library="libhttpget"/>
   <service name="get"/>
   <reference target="text" name="url"/>
  </component>
  <service name="get2" promote="get2"/>
- <component t:x="24" t:y="91" name="get2" t:title="http get" t:color="green1">
+ <component t:x="24" t:y="83" name="get2" t:title="get" t:color="green1">
   <implementation.cpp path="lib/http" library="libhttpget"/>
   <service name="get"/>
   <reference target="text2" name="url"/>
  </component>
  <service name="get3" promote="get3"/>
- <component t:x="23" t:y="175" name="get3" t:title="http get" t:color="green1">
+ <component t:x="23" t:y="146" name="get3" t:title="get" t:color="green1">
   <implementation.cpp path="lib/http" library="libhttpget"/>
   <service name="get"/>
   <reference target="text3" name="url"/>
  </component>
- <component t:x="87" t:y="175" name="text3" t:title="text" t:color="orange1">
+ <component t:x="87" t:y="175" name="text3" t:title=" '{propval}'" t:color="orange1">
   <t:implementation.python script="nuvem/text.py"/>
   <service name="text"/>
   <property>http://www.weather.gov/forecasts/xml/sample_products/browser_interface/ndfdXMLclient.php?whichClient=NDFDgen&amp;lat=38.99&amp;lon=-77.01&amp;listLatLon=&amp;lat1=&amp;lon1=&amp;lat2=&amp;lon2=&amp;resolutionSub=&amp;listLat1=&amp;listLon1=&amp;listLat2=&amp;listLon2=&amp;resolutionList=&amp;endPoint1Lat=&amp;endPoint1Lon=&amp;endPoint2Lat=&amp;endPoint2Lon=&amp;listEndPoint1Lat=&amp;listEndPoint1Lon=&amp;listEndPoint2Lat=&amp;listEndPoint2Lon=&amp;zipCodeList=&amp;listZipCodeList=&amp;centerPointLat=&amp;centerPointLon=&amp;distanceLat=&amp;distanceLon=&amp;resolutionSquare=&amp;listCenterPointLat=&amp;listCenterPointLon=&amp;listDistanceLat=&amp;listDistanceLon=&amp;listResolutionSquare=&amp;citiesLevel=&amp;listCitiesLevel=&amp;sector=&amp;gmlListLatLon=&amp;featureType=&amp;requestedTime=&amp;startTime=&amp;endTime=&amp;compType=&amp;propertyName=&amp;product=time-series&amp;begin=2004-01-01T00%3A00%3A00&amp;end=2015-03-10T00%3A00%3A00&amp;maxt=maxt&amp;Submi
 t=Submit</property>
  </component>
- <component t:x="88" t:y="91" name="text2" t:title="text" t:color="orange1">
+ <component t:x="88" t:y="91" name="text2" t:title=" '{propval}'" t:color="orange1">
   <t:implementation.python script="nuvem/text.py"/>
   <service name="text"/>
   <property>http://maps.googleapis.com/maps/api/directions/json?origin=Boston,MA&amp;destination=Concord,MA&amp;waypoints=Charlestown,MA|Lexington,MA&amp;sensor=false</property>
  </component>
  <service name="get4" promote="get4"/>
- <component t:x="26" t:y="267" name="get4" t:title="http get" t:color="green1">
+ <component t:x="25" t:y="210" name="get4" t:title="get" t:color="green1">
   <implementation.cpp path="lib/http" library="libhttpget"/>
   <service name="get"/>
   <reference target="text4" name="url"/>
  </component>
- <component t:x="90" t:y="267" name="text4" t:title="text" t:color="orange1">
+ <component t:x="90" t:y="267" name="text4" t:title=" '{propval}'" t:color="orange1">
   <t:implementation.python script="nuvem/text.py"/>
   <service name="text"/>
   <property>http://feedproxy.google.com/TechCrunch</property>
  </component>
- <component t:x="93" t:y="25" name="text" t:title="text" t:color="orange1">
+ <component t:x="93" t:y="25" name="text" t:title=" '{propval}'" t:color="orange1">
   <t:implementation.python script="nuvem/text.py"/>
   <service name="text"/>
   <property>http://www.google.com</property>
  </component>
  <service name="get5" promote="get5"/>
- <component t:x="26" t:y="335" name="get5" t:title="http get" t:color="green1">
+ <component t:x="26" t:y="274" name="get5" t:title="get" t:color="green1">
   <implementation.cpp path="lib/http" library="libhttpget"/>
   <service name="get"/>
   <reference target="text5" name="url"/>
  </component>
- <component t:x="95" t:y="331" name="text5" t:title="text" t:color="orange1">
+ <component t:x="95" t:y="331" name="text5" t:title=" '{propval}'" t:color="orange1">
   <t:implementation.python script="nuvem/text.py"/>
   <service name="text"/>
   <property>cnn.com</property>
  </component>
  <service name="get6" promote="get6"/>
- <component t:x="25" t:y="396" name="get6" t:title="http get" t:color="green1">
+ <component t:x="26" t:y="335" name="get6" t:title="get" t:color="green1">
   <implementation.cpp path="lib/http" library="libhttpget"/>
   <service name="get"/>
   <reference target="text6" name="url"/>
  </component>
- <component t:x="95" t:y="395" name="text6" t:title="text" t:color="orange1">
+ <component t:x="95" t:y="395" name="text6" t:title=" '{propval}'" t:color="orange1">
   <t:implementation.python script="nuvem/text.py"/>
   <service name="text"/>
   <property>https://chart.googleapis.com/chart?cht=p3&amp;chs=250x100&amp;chd=t:60,40&amp;chl=Hello|World</property>
  </component>
+ <service name="parse" promote="parse"/>
+ <component t:x="529" t:y="192" name="parse" t:title="parse" t:color="magenta1">
+  <t:implementation.python script="nuvem/parse.py"/>
+  <service name="parse"/>
+  <reference target="text8" name="regexp"/>
+  <reference target="join" name="string"/>
+ </component>
+ <component t:x="832" t:y="249" name="rest" t:title="rest" t:color="yellow1">
+  <t:implementation.python script="nuvem/rest.py"/>
+  <service name="rest"/>
+  <reference target="get7" name="list"/>
+ </component>
+ <component t:x="868" t:y="311" name="get7" t:title="get" t:color="green1">
+  <implementation.cpp path="lib/http" library="libhttpget"/>
+  <service name="get"/>
+  <reference target="text7" name="url"/>
+ </component>
+ <component t:x="795" t:y="269" name="text7" t:title=" '{propval}'" t:color="orange1">
+  <t:implementation.python script="nuvem/text.py"/>
+  <service name="text"/>
+  <property>cnn.com</property>
+ </component>
+ <component t:x="553" t:y="292" name="first" t:title="first" t:color="yellow1">
+  <t:implementation.python script="nuvem/first.py"/>
+  <service name="first"/>
+  <reference target="rest" name="list"/>
+ </component>
+ <component t:x="812" t:y="334" name="text9" t:title=" '{propval}'" t:color="orange1">
+  <t:implementation.python script="nuvem/text.py"/>
+  <service name="text"/>
+  <property name="property"/>
+ </component>
+ <component t:x="617" t:y="226" name="text8" t:title=" '{propval}'" t:color="orange1">
+  <t:implementation.python script="nuvem/text.py"/>
+  <service name="text"/>
+  <property>(CNN)</property>
+ </component>
+ <component t:x="617" t:y="254" name="join" t:title="join" t:color="magenta1">
+  <t:implementation.python script="nuvem/join.py"/>
+  <service name="join"/>
+  <reference target="text9" name="separator"/>
+  <reference target="first" name="list"/>
+ </component>
 </composite>

Modified: tuscany/sca-cpp/trunk/modules/edit/apps/testhttp/app.html
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/modules/edit/apps/testhttp/app.html?rev=1094208&r1=1094207&r2=1094208&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/modules/edit/apps/testhttp/app.html (original)
+++ tuscany/sca-cpp/trunk/modules/edit/apps/testhttp/app.html Sun Apr 17 22:13:58 2011
@@ -18,14 +18,10 @@
  * under the License.    
 -->
 <DIV id="page">
- <SPAN id="iframe" class="iframe" style="position: absolute; top: 39px; left: 67px; ">
-  <A href="https://testhttp.sca-store.com:8453/components/get6">
-   <SPAN class="fakeframe">
-    <SPAN>frame ...</SPAN>
-   </SPAN>
-  </A>
+ <SPAN id="h1" class="h1" style="position: absolute; top: 0px; left: 0px; ">
+  <H1>Test HTTP components</H1>
  </SPAN>
- <SPAN id="iframe" class="iframe" style="position: absolute; top: 214px; left: 69px; ">
+ <SPAN id="iframe" class="iframe" style="position: absolute; top: 234px; left: 11px; ">
   <A href="https://testhttp.sca-store.com:8453/components/get5">
    <SPAN class="fakeframe">
     <SPAN>frame ...</SPAN>

Modified: tuscany/sca-cpp/trunk/modules/edit/apps/testlogic/app.composite
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/modules/edit/apps/testlogic/app.composite?rev=1094208&r1=1094207&r2=1094208&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/modules/edit/apps/testlogic/app.composite (original)
+++ tuscany/sca-cpp/trunk/modules/edit/apps/testlogic/app.composite Sun Apr 17 22:13:58 2011
@@ -19,7 +19,7 @@
 -->
 <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1" targetNamespace="http://testlogic" name="testlogic">
  <service name="if" promote="if"/>
- <component t:x="34" t:y="24" name="if" t:title="if" t:color="magenta1">
+ <component t:x="22" t:y="45" name="if" t:title="if" t:color="magenta1">
   <t:implementation.python script="nuvem/if_.py"/>
   <service name="if"/>
   <reference target="greater" name="condition"/>
@@ -32,92 +32,119 @@
   <reference target="number2" name="value1"/>
   <reference target="number" name="value2"/>
  </component>
- <component t:x="118" t:y="66" name="number" t:title="number" t:color="orange1">
+ <component t:x="118" t:y="66" name="number" t:title="#" t:color="orange1">
   <t:implementation.python script="nuvem/number.py"/>
   <service name="number"/>
   <property>5</property>
  </component>
- <component t:x="78" t:y="118" name="text" t:title="text" t:color="orange1">
+ <component t:x="78" t:y="118" name="text" t:title=" '{propval}'" t:color="orange1">
   <t:implementation.python script="nuvem/text.py"/>
   <service name="text"/>
   <property>greater than 5</property>
  </component>
- <component t:x="76" t:y="162" name="text2" t:title="text" t:color="orange1">
+ <component t:x="76" t:y="162" name="text2" t:title=" '{propval}'" t:color="orange1">
   <t:implementation.python script="nuvem/text.py"/>
   <service name="text"/>
   <property>not greater than 5</property>
  </component>
- <component t:x="88" t:y="25" name="number2" t:title="number" t:color="orange1">
+ <component t:x="88" t:y="25" name="number2" t:title="#" t:color="orange1">
   <t:implementation.python script="nuvem/number.py"/>
   <service name="number"/>
   <property>3</property>
  </component>
  <service name="eval" promote="eval"/>
- <component t:x="287" t:y="37" name="eval" t:title="py expr" t:color="magenta1">
+ <component t:x="235" t:y="46" name="eval" t:title="expr" t:color="magenta1">
   <t:implementation.python script="nuvem/eval_.py"/>
   <service name="eval"/>
   <reference target="text3" name="py"/>
   <reference name="ref"/>
  </component>
  <service name="eval2" promote="eval2"/>
- <component t:x="287" t:y="130" name="eval2" t:title="py expr" t:color="magenta1">
+ <component t:x="454" t:y="46" name="eval2" t:title="expr" t:color="magenta1">
   <t:implementation.python script="nuvem/eval_.py"/>
   <service name="eval"/>
   <reference target="text4" name="py"/>
   <reference target="number3" name="ref"/>
  </component>
- <component t:x="350" t:y="160" name="number3" t:title="number" t:color="orange1">
+ <component t:x="350" t:y="160" name="number3" t:title="#" t:color="orange1">
   <t:implementation.python script="nuvem/number.py"/>
   <service name="number"/>
   <property>5</property>
  </component>
  <service name="exec" promote="exec"/>
- <component t:x="289" t:y="365" name="exec" t:title="py script" t:color="magenta1">
+ <component t:x="234" t:y="233" name="exec" t:title="script" t:color="magenta1">
   <t:implementation.python script="nuvem/exec_.py"/>
   <service name="exec"/>
   <reference target="get" name="py"/>
   <reference target="number4" name="ref"/>
  </component>
- <component t:x="357" t:y="289" name="number4" t:title="number" t:color="orange1">
+ <component t:x="357" t:y="289" name="number4" t:title="#" t:color="orange1">
   <t:implementation.python script="nuvem/number.py"/>
   <service name="number"/>
   <property>5</property>
  </component>
- <component t:x="358" t:y="267" name="get" t:title="http get" t:color="green1">
+ <component t:x="358" t:y="267" name="get" t:title="get" t:color="green1">
   <implementation.cpp path="lib/http" library="libhttpget"/>
   <service name="get"/>
   <reference target="text5" name="url"/>
  </component>
  <service name="exec2" promote="exec2"/>
- <component t:x="287" t:y="245" name="exec2" t:title="py script" t:color="magenta1">
+ <component t:x="236" t:y="146" name="exec2" t:title="script" t:color="magenta1">
   <t:implementation.python script="nuvem/exec_.py"/>
   <service name="exec"/>
   <reference target="text6" name="py"/>
   <reference target="number5" name="ref"/>
  </component>
- <component t:x="350" t:y="37" name="text3" t:title="text" t:color="orange1">
+ <component t:x="350" t:y="37" name="text3" t:title=" '{propval}'" t:color="orange1">
   <t:implementation.python script="nuvem/text.py"/>
   <service name="text"/>
   <property>3.14116 * 5 * 5</property>
  </component>
- <component t:x="350" t:y="130" name="text4" t:title="text" t:color="orange1">
+ <component t:x="350" t:y="130" name="text4" t:title=" '{propval}'" t:color="orange1">
   <t:implementation.python script="nuvem/text.py"/>
   <service name="text"/>
   <property>3.14116 * ref.get(r) * ref.get(r)</property>
  </component>
- <component t:x="359" t:y="286" name="number5" t:title="number" t:color="orange1">
+ <component t:x="359" t:y="286" name="number5" t:title="#" t:color="orange1">
   <t:implementation.python script="nuvem/number.py"/>
   <service name="number"/>
   <property>5</property>
  </component>
- <component t:x="357" t:y="245" name="text6" t:title="text" t:color="orange1">
+ <component t:x="357" t:y="245" name="text6" t:title=" '{propval}'" t:color="orange1">
   <t:implementation.python script="nuvem/text.py"/>
   <service name="text"/>
   <property>val = 3.14116 * ref.get(r) * ref.get(r)</property>
  </component>
- <component t:x="423" t:y="365" name="text5" t:title="text" t:color="orange1">
+ <component t:x="423" t:y="365" name="text5" t:title=" '{propval}'" t:color="orange1">
   <t:implementation.python script="nuvem/text.py"/>
   <service name="text"/>
   <property>http://people.apache.org/~jsdelfino/tuscany/test/surface.py</property>
  </component>
+ <service name="random" promote="random"/>
+ <component t:x="43" t:y="208" name="random" t:title="rand" t:color="magenta1">
+  <t:implementation.python script="nuvem/random_.py"/>
+  <service name="random"/>
+ </component>
+ <service name="sin" promote="sin"/>
+ <component t:x="44" t:y="258" name="sin" t:title="sin" t:color="magenta1">
+  <t:implementation.python script="nuvem/sin_.py"/>
+  <service name="sin"/>
+  <reference target="number6" name="x"/>
+ </component>
+ <component t:x="70" t:y="258" name="number6" t:title="#" t:color="orange1">
+  <t:implementation.python script="nuvem/number.py"/>
+  <service name="number"/>
+  <property>0.5</property>
+ </component>
+ <service name="cos" promote="cos"/>
+ <component t:x="40" t:y="316" name="cos" t:title="cos" t:color="magenta1">
+  <t:implementation.python script="nuvem/cos_.py"/>
+  <service name="cos"/>
+  <reference target="number7" name="x"/>
+ </component>
+ <component t:x="81" t:y="316" name="number7" t:title="#" t:color="orange1">
+  <t:implementation.python script="nuvem/number.py"/>
+  <service name="number"/>
+  <property>0.5</property>
+ </component>
 </composite>

Modified: tuscany/sca-cpp/trunk/modules/edit/apps/testlogic/app.html
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/modules/edit/apps/testlogic/app.html?rev=1094208&r1=1094207&r2=1094208&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/modules/edit/apps/testlogic/app.html (original)
+++ tuscany/sca-cpp/trunk/modules/edit/apps/testlogic/app.html Sun Apr 17 22:13:58 2011
@@ -17,4 +17,8 @@
  * specific language governing permissions and limitations
  * under the License.    
 -->
-<DIV id="page"/>
+<DIV id="page">
+ <SPAN id="h2" class="h2" style="position: absolute; top: 0px; left: 2px; ">
+  <H2>Test logic components</H2>
+ </SPAN>
+</DIV>

Modified: tuscany/sca-cpp/trunk/modules/edit/apps/testsearch/app.composite
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/modules/edit/apps/testsearch/app.composite?rev=1094208&r1=1094207&r2=1094208&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/modules/edit/apps/testsearch/app.composite (original)
+++ tuscany/sca-cpp/trunk/modules/edit/apps/testsearch/app.composite Sun Apr 17 22:13:58 2011
@@ -19,7 +19,7 @@
 -->
 <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1" targetNamespace="http://testsearch" name="testsearch">
  <service name="googlesearch" promote="googlesearch"/>
- <component t:x="72" t:y="31" name="googlesearch" t:title="google search" t:color="red1">
+ <component t:x="91" t:y="20" name="googlesearch" t:title="google" t:color="red1">
   <t:implementation.python script="nuvem/gsearch.py"/>
   <service name="googlesearch"/>
   <reference target="text" name="query"/>
@@ -27,13 +27,8 @@
    <t:binding.http uri="http://ajax.googleapis.com/ajax/services/search/web"/>
   </reference>
  </component>
- <component t:x="173" t:y="31" name="text" t:title="text" t:color="orange1">
-  <t:implementation.python script="nuvem/text.py"/>
-  <service name="text"/>
-  <property>apache+tuscany</property>
- </component>
  <service name="weather" promote="weather"/>
- <component t:x="76" t:y="95" name="weather" t:title="weather" t:color="red1">
+ <component t:x="92" t:y="70" name="weather" t:title="weather" t:color="red1">
   <t:implementation.python script="nuvem/gweather.py"/>
   <service name="weather"/>
   <reference target="number" name="zip"/>
@@ -41,13 +36,13 @@
    <t:binding.http uri="http://www.google.com/ig/api"/>
   </reference>
  </component>
- <component t:x="141" t:y="95" name="number" t:title="number" t:color="orange1">
+ <component t:x="141" t:y="95" name="number" t:title="#" t:color="orange1">
   <t:implementation.python script="nuvem/number.py"/>
   <service name="number"/>
   <property>94070</property>
  </component>
  <service name="weather2" promote="weather2"/>
- <component t:x="76" t:y="162" name="weather2" t:title="weather" t:color="red1">
+ <component t:x="333" t:y="73" name="weather2" t:title="weather" t:color="red1">
   <t:implementation.python script="nuvem/gweather.py"/>
   <service name="weather"/>
   <reference target="text2" name="zip"/>
@@ -55,24 +50,24 @@
    <t:binding.http uri="http://www.google.com/ig/api"/>
   </reference>
  </component>
- <component t:x="141" t:y="162" name="text2" t:title="text" t:color="orange1">
+ <component t:x="141" t:y="162" name="text2" t:title=" '{propval}'" t:color="orange1">
   <t:implementation.python script="nuvem/text.py"/>
   <service name="text"/>
   <property>94070</property>
  </component>
  <service name="get" promote="get"/>
- <component t:x="77" t:y="234" name="get" t:title="http get" t:color="green1">
+ <component t:x="43" t:y="348" name="get" t:title="get" t:color="green1">
   <implementation.cpp path="lib/http" library="libhttpget"/>
   <service name="get"/>
   <reference target="text3" name="url"/>
  </component>
- <component t:x="141" t:y="234" name="text3" t:title="text" t:color="orange1">
+ <component t:x="141" t:y="234" name="text3" t:title=" '{propval}'" t:color="orange1">
   <t:implementation.python script="nuvem/text.py"/>
   <service name="text"/>
   <property>http://maps.google.com/maps/api/staticmap?center=Brooklyn+Bridge,New+York,NY&amp;zoom=14&amp;size=512x512&amp;maptype=roadmap%20&amp;markers=color:blue|label:S|40.702147,-74.015794&amp;markers=color:green|label:G|40.711614,-74.012318%20&amp;markers=color:red|color:red|label:C|40.718217,-73.998284&amp;sensor=false</property>
  </component>
  <service name="googlemap" promote="googlemap"/>
- <component t:x="77" t:y="307" name="googlemap" t:title="google map" t:color="red1">
+ <component t:x="492" t:y="143" name="googlemap" t:title="google map" t:color="red1">
   <t:implementation.python script="nuvem/gmap.py"/>
   <service name="googlemap"/>
   <reference target="list2" name="locations"/>
@@ -81,7 +76,7 @@
   </reference>
  </component>
  <service name="googlemap2" promote="googlemap2"/>
- <component t:x="79" t:y="530" name="googlemap2" t:title="google map" t:color="red1">
+ <component t:x="90" t:y="144" name="googlemap2" t:title="google map" t:color="red1">
   <t:implementation.python script="nuvem/gmap.py"/>
   <service name="googlemap"/>
   <reference target="list3" name="locations"/>
@@ -89,105 +84,123 @@
    <t:binding.http uri="http://maps.google.com/maps/api/staticmap"/>
   </reference>
  </component>
- <component t:x="218" t:y="529" name="pair2" t:title="pair" t:color="yellow1">
-  <t:implementation.python script="nuvem/pair.py"/>
-  <service name="pair"/>
-  <reference target="name2" name="name"/>
-  <reference target="pair4" name="value"/>
- </component>
- <component t:x="256" t:y="530" name="name2" t:title="name" t:color="orange1">
-  <t:implementation.python script="nuvem/name.py"/>
-  <service name="name"/>
-  <property>A</property>
+ <component t:x="300" t:y="391" name="number3" t:title="#" t:color="orange1">
+  <t:implementation.python script="nuvem/number.py"/>
+  <service name="number"/>
+  <property>-122.260526</property>
  </component>
- <component t:x="219" t:y="596" name="pair3" t:title="pair" t:color="yellow1">
-  <t:implementation.python script="nuvem/pair.py"/>
-  <service name="pair"/>
-  <reference target="name3" name="name"/>
-  <reference target="pair5" name="value"/>
+ <component t:x="303" t:y="659" name="text8" t:title=" '{propval}'" t:color="orange1">
+  <t:implementation.python script="nuvem/text.py"/>
+  <service name="text"/>
+  <property>green</property>
  </component>
- <component t:x="254" t:y="594" name="name3" t:title="name" t:color="orange1">
-  <t:implementation.python script="nuvem/name.py"/>
-  <service name="name"/>
-  <property>B</property>
+ <component t:x="300" t:y="335" name="text4" t:title=" '{propval}'" t:color="orange1">
+  <t:implementation.python script="nuvem/text.py"/>
+  <service name="text"/>
+  <property>green</property>
  </component>
- <component t:x="300" t:y="391" name="number3" t:title="number" t:color="orange1">
+ <component t:x="300" t:y="363" name="number2" t:title="#" t:color="orange1">
   <t:implementation.python script="nuvem/number.py"/>
   <service name="number"/>
-  <property>-122.260526</property>
+  <property>37.507156</property>
+ </component>
+ <component t:x="164" t:y="307" name="list2" t:title="list" t:color="yellow1">
+  <t:implementation.python script="nuvem/list_.py"/>
+  <service name="list"/>
+  <reference target="property" name="item" t:clonable="true"/>
+  <reference name="item" t:clonable="true"/>
+ </component>
+ <component t:x="202" t:y="308" name="property" t:title="{propval} :" t:color="orange1">
+  <t:implementation.python script="nuvem/assoc.py"/>
+  <service name="property"/>
+  <reference target="list" name="value"/>
+  <property>A</property>
+ </component>
+ <component t:x="640" t:y="423" name="list" t:title="list" t:color="yellow1">
+  <t:implementation.python script="nuvem/list_.py"/>
+  <service name="list"/>
+  <reference target="text4" name="item" t:clonable="true"/>
+  <reference target="number2" name="item" t:clonable="true"/>
+  <reference target="number3" name="item" t:clonable="true"/>
+  <reference name="item" t:clonable="true"/>
  </component>
- <component t:x="260" t:y="553" name="pair4" t:title="pair" t:color="yellow1">
+ <component t:x="208" t:y="532" name="property2" t:title="{propval} :" t:color="orange1">
+  <t:implementation.python script="nuvem/assoc.py"/>
+  <service name="property"/>
+  <reference target="pair4" name="value"/>
+  <property>A</property>
+ </component>
+ <component t:x="512" t:y="485" name="pair4" t:title="pair" t:color="yellow1">
   <t:implementation.python script="nuvem/pair.py"/>
   <service name="pair"/>
   <reference target="text7" name="name"/>
   <reference target="text5" name="value"/>
  </component>
- <component t:x="294" t:y="558" name="text7" t:title="text" t:color="orange1">
-  <t:implementation.python script="nuvem/text.py"/>
-  <service name="text"/>
-  <property>yellow</property>
+ <component t:x="208" t:y="604" name="property3" t:title="{propval} :" t:color="orange1">
+  <t:implementation.python script="nuvem/assoc.py"/>
+  <service name="property"/>
+  <reference target="pair5" name="value"/>
+  <property>B</property>
  </component>
- <component t:x="254" t:y="658" name="pair5" t:title="pair" t:color="yellow1">
+ <component t:x="527" t:y="579" name="pair5" t:title="pair" t:color="yellow1">
   <t:implementation.python script="nuvem/pair.py"/>
   <service name="pair"/>
   <reference target="text8" name="name"/>
   <reference target="text6" name="value"/>
  </component>
- <component t:x="303" t:y="659" name="text8" t:title="text" t:color="orange1">
+ <component t:x="315" t:y="212" name="text7" t:title=" '{propval}'" t:color="orange1">
   <t:implementation.python script="nuvem/text.py"/>
   <service name="text"/>
-  <property>green</property>
+  <property>yellow</property>
  </component>
- <component t:x="294" t:y="586" name="text5" t:title="text" t:color="orange1">
+ <component t:x="315" t:y="240" name="text5" t:title=" '{propval}'" t:color="orange1">
   <t:implementation.python script="nuvem/text.py"/>
   <service name="text"/>
-  <property>San+Francisco,+CA</property>
+  <property>San Francisco, CA</property>
  </component>
- <component t:x="294" t:y="686" name="text6" t:title="text" t:color="orange1">
+ <component t:x="315" t:y="312" name="text6" t:title=" '{propval}'" t:color="orange1">
   <t:implementation.python script="nuvem/text.py"/>
   <service name="text"/>
-  <property>San+Carlos,+CA</property>
+  <property>San Carlos, CA</property>
  </component>
- <component t:x="166" t:y="530" name="list3" t:title="list" t:color="yellow1">
+ <component t:x="161" t:y="212" name="list3" t:title="list" t:color="yellow1">
   <t:implementation.python script="nuvem/list_.py"/>
   <service name="list"/>
-  <reference target="pair2" name="item" t:clonable="true"/>
-  <reference target="pair3" name="item" t:clonable="true"/>
+  <reference target="property2" name="item" t:clonable="true"/>
+  <reference target="property3" name="item" t:clonable="true"/>
   <reference name="item" t:clonable="true"/>
  </component>
- <component t:x="252" t:y="307" name="name" t:title="name" t:color="orange1">
-  <t:implementation.python script="nuvem/name.py"/>
-  <service name="name"/>
-  <property>A</property>
+ <service name="yahoosearch" promote="yahoosearch"/>
+ <component t:x="333" t:y="22" name="yahoosearch" t:title="yahoo" t:color="red1">
+  <t:implementation.python script="nuvem/ysearch.py"/>
+  <service name="yahoosearch"/>
+  <reference target="text9" name="query"/>
+  <reference name="s" t:visible="false">
+   <t:binding.http uri="http://search.yahooapis.com/WebSearchService/V1/webSearch"/>
+  </reference>
  </component>
- <component t:x="300" t:y="335" name="text4" t:title="text" t:color="orange1">
+ <component t:x="682" t:y="231" name="text9" t:title=" '{propval}'" t:color="orange1">
   <t:implementation.python script="nuvem/text.py"/>
   <service name="text"/>
-  <property>green</property>
+  <property>apache tuscany</property>
  </component>
- <component t:x="212" t:y="307" name="pair" t:title="pair" t:color="yellow1">
-  <t:implementation.python script="nuvem/pair.py"/>
-  <service name="pair"/>
-  <reference target="name" name="name"/>
-  <reference target="list" name="value"/>
- </component>
- <component t:x="252" t:y="335" name="list" t:title="list" t:color="yellow1">
-  <t:implementation.python script="nuvem/list_.py"/>
-  <service name="list"/>
-  <reference target="text4" name="item" t:clonable="true"/>
-  <reference target="number2" name="item" t:clonable="true"/>
-  <reference target="number3" name="item" t:clonable="true"/>
-  <reference name="item" t:clonable="true"/>
+ <component t:x="173" t:y="31" name="text" t:title=" '{propval}'" t:color="orange1">
+  <t:implementation.python script="nuvem/text.py"/>
+  <service name="text"/>
+  <property>apache tuscany</property>
  </component>
- <component t:x="300" t:y="363" name="number2" t:title="number" t:color="orange1">
-  <t:implementation.python script="nuvem/number.py"/>
-  <service name="number"/>
-  <property>37.507156</property>
+ <component t:x="774" t:y="54" name="text10" t:title=" '{propval}'" t:color="orange1">
+  <t:implementation.python script="nuvem/text.py"/>
+  <service name="text"/>
+  <property>apache tuscany</property>
  </component>
- <component t:x="164" t:y="307" name="list2" t:title="list" t:color="yellow1">
-  <t:implementation.python script="nuvem/list_.py"/>
-  <service name="list"/>
-  <reference target="pair" name="item" t:clonable="true"/>
-  <reference name="item" t:clonable="true"/>
+ <service name="bingsearch" promote="bingsearch"/>
+ <component t:x="569" t:y="22" name="bingsearch" t:title="bing" t:color="red1">
+  <t:implementation.python script="nuvem/bsearch.py"/>
+  <service name="bingsearch"/>
+  <reference target="text10" name="query"/>
+  <reference name="s" t:visible="false">
+   <t:binding.http uri="http://www.bing.com/search"/>
+  </reference>
  </component>
 </composite>

Copied: tuscany/sca-cpp/trunk/modules/edit/apps/testsearch/app.html (from r1094207, tuscany/sca-cpp/trunk/modules/edit/apps/testvalues/app.html)
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/modules/edit/apps/testsearch/app.html?p2=tuscany/sca-cpp/trunk/modules/edit/apps/testsearch/app.html&p1=tuscany/sca-cpp/trunk/modules/edit/apps/testvalues/app.html&r1=1094207&r2=1094208&rev=1094208&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/modules/edit/apps/testvalues/app.html (original)
+++ tuscany/sca-cpp/trunk/modules/edit/apps/testsearch/app.html Sun Apr 17 22:13:58 2011
@@ -18,7 +18,7 @@
  * under the License.    
 -->
 <DIV id="page">
- <SPAN id="value" class="h2" style="position: absolute; top: 17px; left: 4px; ">
-  <H2>Header2</H2>
+ <SPAN id="h1" class="h1" style="position: absolute; top: 0px; left: 2px; ">
+  <H1>Test search components</H1>
  </SPAN>
 </DIV>



Mime
View raw message