diff options
Diffstat (limited to 'sca-cpp/trunk/modules/edit/apps/nearme2')
-rw-r--r-- | sca-cpp/trunk/modules/edit/apps/nearme2/app.composite | 191 | ||||
-rw-r--r-- | sca-cpp/trunk/modules/edit/apps/nearme2/app.stats | 1 | ||||
-rw-r--r-- | sca-cpp/trunk/modules/edit/apps/nearme2/htdocs/app.html | 30 |
3 files changed, 222 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/edit/apps/nearme2/app.composite b/sca-cpp/trunk/modules/edit/apps/nearme2/app.composite new file mode 100644 index 0000000000..d75af57321 --- /dev/null +++ b/sca-cpp/trunk/modules/edit/apps/nearme2/app.composite @@ -0,0 +1,191 @@ +<?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" name="app" targetNamespace="http://app"> + <service name="location" promote="location"/> + <service name="start1" promote="start1"/> + <service name="timer" promote="timer"/> + <component x="250" y="230" name="append1" title="+" color="yellow1"> + <implementation.python script="nuvem/append.py"/> + <service name="append"/> + <reference target="text5" name="first"/> + <reference target="get3" name="second"/> + </component> + <component x="250" y="330" name="append2" title="+" color="yellow1"> + <implementation.python script="nuvem/append.py"/> + <service name="append"/> + <reference target="text6" name="first"/> + <reference target="get4" name="second"/> + </component> + <component x="120" y="10" name="filedb2" title="file" color="pink1"> + <implementation.python script="nuvem/filedb.py"/> + <service name="filedb"/> + <reference name="db" target="AppDataFileCache" visible="false"/> + <property name="host" visible="false"/> + </component> + <component x="410" y="260" name="filedb4" title="file" color="pink1"> + <implementation.python script="nuvem/filedb.py"/> + <service name="filedb"/> + <reference name="db" target="AppDataFileCache" visible="false"/> + <property name="host" visible="false"/> + </component> + <component x="400" y="370" name="filedb5" title="file" color="pink1"> + <implementation.python script="nuvem/filedb.py"/> + <service name="filedb"/> + <reference name="db" target="AppDataFileCache" visible="false"/> + <property name="host" visible="false"/> + </component> + <component x="270" y="260" name="get3" title="get" color="pink1"> + <implementation.python script="nuvem/get.py"/> + <service name="get"/> + <reference target="filedb4" name="collection"/> + <reference target="text2" name="id"/> + </component> + <component x="270" y="350" name="get4" title="get" color="pink1"> + <implementation.python script="nuvem/get.py"/> + <service name="get"/> + <reference target="filedb5" name="collection"/> + <reference target="text8" name="id"/> + </component> + <component x="200" y="230" name="gmap1" title="map" color="blue1"> + <implementation.python script="nuvem/gmap.py"/> + <service name="gmap"/> + <reference target="list21" name="locations"/> + <reference name="s" visible="false"> + <binding.http uri="http://maps.google.com/maps/api/staticmap"/> + </reference> + </component> + <component x="150" y="230" name="htinline2" title="inline" color="white1"> + <implementation.python script="nuvem/htinline.py"/> + <service name="htinline"/> + <reference target="gmap1" name="value"/> + </component> + <component x="40" y="150" name="item1" title="{propval}:" color="orange1"> + <implementation.python script="nuvem/item.py"/> + <service name="item"/> + <reference target="user1" name="value"/> + <property>me</property> + </component> + <component x="50" y="210" name="item10" title="{propval}:" color="orange1"> + <implementation.python script="nuvem/item.py"/> + <service name="item"/> + <reference target="htinline2" name="value"/> + <property>img</property> + </component> + <component x="290" y="90" name="item2" title="{propval}:" color="orange1"> + <implementation.python script="nuvem/item.py"/> + <service name="item"/> + <reference target="append1" name="value"/> + <property>S</property> + </component> + <component x="290" y="190" name="item3" title="{propval}:" color="orange1"> + <implementation.python script="nuvem/item.py"/> + <service name="item"/> + <reference target="append2" name="value"/> + <property>C</property> + </component> + <component x="190" y="240" name="list21" title="list" color="yellow1"> + <implementation.python script="nuvem/pair.py"/> + <service name="list2"/> + <reference target="item2" name="first"/> + <reference target="item3" name="second"/> + </component> + <component x="100" y="110" name="list24" title="list" color="yellow1"> + <implementation.python script="nuvem/pair.py"/> + <service name="list2"/> + <reference target="param10" name="first"/> + <reference target="param" name="second"/> + </component> + <component x="10" y="50" name="location" title="location" color="green1"> + <implementation.python script="nuvem/location.py"/> + <service name="location" visible="false"> + <binding.http uri="location"/> + </service> + <reference target="put1" name="content"/> + </component> + <component xmlns="" name="number" title="#" color="orange1"> + <implementation.python script="nuvem/number.py"/> + <service name="number"/> + <property>10000</property> + </component> + <component x="280" y="90" name="param" title="?param" color="green1"> + <implementation.python script="nuvem/param.py"/> + <service name="param"/> + <property>longitude</property> + <property name="query" visible="false"/> + </component> + <component x="280" y="70" name="param10" title="?param" color="green1"> + <implementation.python script="nuvem/param.py"/> + <service name="param"/> + <property>latitude</property> + <property name="query" visible="false"/> + </component> + <component x="70" y="60" name="put1" title="put" color="pink1"> + <implementation.python script="nuvem/put.py"/> + <service name="put"/> + <reference target="filedb2" name="collection"/> + <reference target="user" name="id"/> + <reference target="list24" name="value"/> + </component> + <component x="10" y="10" name="start1" title="start" color="green1"> + <implementation.python script="nuvem/start.py"/> + <service name="start" visible="false"> + <binding.http uri="start"/> + </service> + <reference target="item1" name="content"/> + </component> + <component x="410" y="290" name="text2" title=" '{propval}'" color="orange1"> + <implementation.python script="nuvem/text.py"/> + <service name="text"/> + <property>john</property> + </component> + <component x="270" y="230" name="text5" title=" '{propval}'" color="orange1"> + <implementation.python script="nuvem/text.py"/> + <service name="text"/> + <property>blue</property> + </component> + <component x="270" y="320" name="text6" title=" '{propval}'" color="orange1"> + <implementation.python script="nuvem/text.py"/> + <service name="text"/> + <property>pink</property> + </component> + <component x="410" y="400" name="text8" title=" '{propval}'" color="orange1"> + <implementation.python script="nuvem/text.py"/> + <service name="text"/> + <property>jane</property> + </component> + <component x="10" y="170" name="timer" title="timer" color="green1"> + <implementation.python script="nuvem/timer.py"/> + <service name="timer" visible="false"> + <binding.http uri="timer"/> + </service> + <reference target="number" name="n"/> + <reference target="item10" name="content"/> + </component> + <component xmlns="" x="120" y="30" name="user" title="user" color="green1"> + <implementation.python script="nuvem/user.py"/> + <service name="user"/> + <property name="user" visible="false"/> + </component> + <component x="80" y="20" name="user1" title="user" color="green1"> + <implementation.python script="nuvem/user.py"/> + <service name="user"/> + <property name="user" visible="false"/> + </component> +</composite> diff --git a/sca-cpp/trunk/modules/edit/apps/nearme2/app.stats b/sca-cpp/trunk/modules/edit/apps/nearme2/app.stats new file mode 100644 index 0000000000..9eb239d22c --- /dev/null +++ b/sca-cpp/trunk/modules/edit/apps/nearme2/app.stats @@ -0,0 +1 @@ +((entry (title "nearme2") (id "nearme2"))) diff --git a/sca-cpp/trunk/modules/edit/apps/nearme2/htdocs/app.html b/sca-cpp/trunk/modules/edit/apps/nearme2/htdocs/app.html new file mode 100644 index 0000000000..a4c407a7a4 --- /dev/null +++ b/sca-cpp/trunk/modules/edit/apps/nearme2/htdocs/app.html @@ -0,0 +1,30 @@ +<?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="page:h1" class="h1" style="position: absolute; top: 0px; left: 2px; "> + <H1>Hello</H1> + </SPAN> + <SPAN id="me" class="h1" style="position: absolute; top: 0px; left: 56px; "> + <H1>=me</H1> + </SPAN> + <SPAN id="img" class="img" style="position: absolute; top: 36px; left: 2px; "> + <IMG src="/public/img.png"/> + </SPAN> +</DIV> |