geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiam...@apache.org
Subject svn commit: r959343 [1/3] - in /geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war: ./ src/ src/main/ src/main/java/ src/main/webapp/ src/main/webapp/WEB-INF/ src/main/webapp/images/ src/main/webapp/sandbox/ src/main/webapp/widget/ ...
Date Wed, 30 Jun 2010 15:03:59 GMT
Author: xiaming
Date: Wed Jun 30 15:03:57 2010
New Revision: 959343

URL: http://svn.apache.org/viewvc?rev=959343&view=rev
Log:
Rename daytrader dojo-ui-web to war

Added:
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/LICENSE
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/NOTICE
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/pom.xml   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/java/
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/WEB-INF/
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/WEB-INF/geronimo-web.xml.org
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/WEB-INF/web.xml   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/DayTraderHead_blue.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/IBMBackGround1.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/IBMBackGround2.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/SOAPconfig.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/WEBSPHERE_18P_UNIX.GIF   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/account.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/arrowdown.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/arrowup.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/graph.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/home.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/homeBanner.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/lanim.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/line.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/logout.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/portfolio.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/quotes.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/ticker-anim.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/topline.jpg   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/tradeLogo.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/tradeLogoSmall.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/tradeTopology.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/sandbox/
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/sandbox/browserTest.html   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/sandbox/testContext.html   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/sandbox/testWidget.html   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/trader.html   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/trader_debug.html   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/welcome.html   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/AccountSummary.js   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/BaseDaytraderPane.js   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/BuyQuote.js   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/Context.js   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/DaytraderProgressBar.js   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/LoginLogout.js   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/MarketSummary.js   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/Messages.js   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/Portfolio.js   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/QuickQuote.js   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/images/
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/images/maximize-full.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/images/maximize.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/images/minimize.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/images/minimize_white.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/templates/
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/templates/HtmlAccountSummary.html   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/templates/HtmlBase.css   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/templates/HtmlBaseTemplate.html   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/templates/HtmlBuyQuote.html   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/templates/HtmlLoginLogout.html   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/templates/HtmlMarketSummary.html   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/templates/HtmlMessages.html   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/templates/HtmlPortfolio.html   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/templates/HtmlProgressBar.css   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/templates/HtmlProgressBar.html   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/templates/HtmlQuickQuote.html   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/templates/images/
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/templates/images/arrowdown.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/templates/images/arrowup.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/templates/images/maximize-full.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/templates/images/maximize.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/templates/images/minimize.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/templates/images/minimize_white.gif   (with props)
    geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/test/

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/LICENSE
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/LICENSE?rev=959343&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/LICENSE (added)
+++ geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/LICENSE Wed Jun 30 15:03:57 2010
@@ -0,0 +1,203 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed 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.
+

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/NOTICE
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/NOTICE?rev=959343&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/NOTICE (added)
+++ geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/NOTICE Wed Jun 30 15:03:57 2010
@@ -0,0 +1,9 @@
+Apache Geronimo 
+Copyright 2003-2010 The Apache Software Foundation
+
+This product includes software developed by
+The Apache Software Foundation (http://www.apache.org/).
+
+Portions of this software were developed at IBM and donated to the 
+ASF under the Apache 2.0 license.  The former work was referred to 
+as Trade 6.

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/pom.xml?rev=959343&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/pom.xml (added)
+++ geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/pom.xml Wed Jun 30 15:03:57 2010
@@ -0,0 +1,113 @@
+<?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.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.geronimo.samples.daytrader.assemblies</groupId>
+        <artifactId>javaee</artifactId>
+        <version>3.0-M1-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>dojo-ui-war</artifactId>
+    <name>DayTrader :: Assemblies - Dojo User Interface</name>
+    <packaging>war</packaging>
+    <description>Daytrader Dojo UI</description>
+    
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-servlet_3.0_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-jsp_2.2_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.bundles</groupId>
+            <artifactId>jstl</artifactId>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.geronimo.genesis.plugins</groupId>
+                <artifactId>tools-maven-plugin</artifactId>
+                <!-- Tools includes custom packagings, install as extension to pick them up -->
+                <extensions>true</extensions>
+                <executions>
+                    <execution>
+                        <id>verify-legal-files</id>
+                        <phase>verify</phase>
+                        <goals>
+                            <goal>verify-legal-files</goal>
+                        </goals>
+                        <!-- Do not Fail the build if no legal files were found-->
+                        <configuration>
+                            <strict>false</strict>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-war-plugin</artifactId>
+                <configuration>
+                    <archive>
+                        <manifestEntries>
+                            <Class-Path/>
+                        </manifestEntries>
+                    </archive>
+                    <resources>
+                        <resource
+                                implementation="org.apache.maven.model.Resource">
+                            <filtering>true</filtering>
+                            <directory>
+                                ${basedir}/src/main/webapp/WEB-INF
+                            </directory>
+                            <includes>
+                                <include>web.xml</include>
+                            </includes>
+                        </resource>
+                    </resources>
+                    <!--                        
+                    HACK: Include legal files explicity, otherwise they will
+                          end up in the wrong path
+                          or in another jar file in the war.    
+                    NOTE: targetPath is broken for webResources (as documented)
+                    -->
+                    <webResources>
+                        <resource>
+                            <directory>${project.build.outputDirectory}</directory>
+                            <includes>
+                                <include>META-INF/LICENSE*</include>
+                                <include>META-INF/NOTICE*</include>
+                                <include>META-INF/DISCLAIMER*</include>
+                            </includes>
+                        </resource>
+                    </webResources>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/WEB-INF/geronimo-web.xml.org
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/WEB-INF/geronimo-web.xml.org?rev=959343&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/WEB-INF/geronimo-web.xml.org (added)
+++ geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/WEB-INF/geronimo-web.xml.org Wed Jun 30 15:03:57 2010
@@ -0,0 +1,21 @@
+<?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.
+-->
+<web-app configId="atradeWeb/atradeWeb" xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1" xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.2" xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0" xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2">
+  <context-root>/atradeWeb</context-root>
+  <context-priority-classloader>false</context-priority-classloader>
+</web-app>

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/WEB-INF/web.xml?rev=959343&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/WEB-INF/web.xml (added)
+++ geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/WEB-INF/web.xml Wed Jun 30 15:03:57 2010
@@ -0,0 +1,28 @@
+<?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.
+-->
+<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+	<display-name>daytrader-dojo-web</display-name>
+	<welcome-file-list>
+		<welcome-file>index.html</welcome-file>
+		<welcome-file>index.htm</welcome-file>
+		<welcome-file>index.jsp</welcome-file>
+		<welcome-file>default.html</welcome-file>
+		<welcome-file>default.htm</welcome-file>
+		<welcome-file>default.jsp</welcome-file>
+	</welcome-file-list>
+</web-app>

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/DayTraderHead_blue.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/DayTraderHead_blue.gif?rev=959343&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/DayTraderHead_blue.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/IBMBackGround1.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/IBMBackGround1.gif?rev=959343&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/IBMBackGround1.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/IBMBackGround2.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/IBMBackGround2.gif?rev=959343&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/IBMBackGround2.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/SOAPconfig.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/SOAPconfig.gif?rev=959343&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/SOAPconfig.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/WEBSPHERE_18P_UNIX.GIF
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/WEBSPHERE_18P_UNIX.GIF?rev=959343&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/WEBSPHERE_18P_UNIX.GIF
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/account.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/account.gif?rev=959343&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/account.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/arrowdown.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/arrowdown.gif?rev=959343&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/arrowdown.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/arrowup.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/arrowup.gif?rev=959343&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/arrowup.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/graph.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/graph.gif?rev=959343&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/graph.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/home.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/home.gif?rev=959343&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/home.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/homeBanner.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/homeBanner.gif?rev=959343&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/homeBanner.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/lanim.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/lanim.gif?rev=959343&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/lanim.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/line.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/line.gif?rev=959343&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/line.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/logout.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/logout.gif?rev=959343&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/logout.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/portfolio.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/portfolio.gif?rev=959343&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/portfolio.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/quotes.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/quotes.gif?rev=959343&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/quotes.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/ticker-anim.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/ticker-anim.gif?rev=959343&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/ticker-anim.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/topline.jpg
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/topline.jpg?rev=959343&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/topline.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/tradeLogo.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/tradeLogo.gif?rev=959343&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/tradeLogo.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/tradeLogoSmall.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/tradeLogoSmall.gif?rev=959343&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/tradeLogoSmall.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/tradeTopology.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/tradeTopology.gif?rev=959343&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/images/tradeTopology.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/sandbox/browserTest.html
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/sandbox/browserTest.html?rev=959343&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/sandbox/browserTest.html (added)
+++ geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/sandbox/browserTest.html Wed Jun 30 15:03:57 2010
@@ -0,0 +1,123 @@
+<%--
+    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.
+--%>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+<title>DojoTrader - DayTrader</title>
+
+<script type="text/javascript">
+	var djConfig = {isDebug: true};
+	//djConfig.debugAtAllCosts = true;
+</script>
+<script type="text/javascript" src="/dojo/dojo.js"></script>
+<script language="JavaScript" type="text/javascript">
+	dojo.hostenv.writeIncludes();
+	
+	dojo.addOnLoad(function(){
+		fillInBrowserInfo();
+	});
+	
+	function fillInBrowserInfo() {
+		div = dojo.byId("userAgent");
+		txtNode = document.createTextNode(dojo.render.html.UA);
+		div.appendChild(txtNode);
+		
+		div = dojo.byId("appVersion");
+		txtNode = document.createTextNode(dojo.render.html.AV);
+		div.appendChild(txtNode);
+		
+		div = dojo.byId("mac");
+		txtNode = document.createTextNode(dojo.render.os.mac);
+		div.appendChild(txtNode);
+		
+		div = dojo.byId("win");
+		txtNode = document.createTextNode(dojo.render.os.win);
+		div.appendChild(txtNode);
+		
+		div = dojo.byId("linux");
+		txtNode = document.createTextNode(dojo.render.os.linux);
+		div.appendChild(txtNode);
+		
+		div = dojo.byId("opera");
+		txtNode = document.createTextNode(dojo.render.html.opera);
+		div.appendChild(txtNode);
+		
+		div = dojo.byId("khtml");
+		txtNode = document.createTextNode(dojo.render.html.khtml);
+		div.appendChild(txtNode);
+		
+		div = dojo.byId("safari");
+		txtNode = document.createTextNode(dojo.render.html.safari);
+		div.appendChild(txtNode);
+		
+		div = dojo.byId("moz");
+		txtNode = document.createTextNode(dojo.render.html.moz);
+		div.appendChild(txtNode);
+
+		div = dojo.byId("mozilla");
+		txtNode = document.createTextNode(dojo.render.html.mozilla);
+		div.appendChild(txtNode);
+		
+		div = dojo.byId("ie");
+		txtNode = document.createTextNode(dojo.render.html.ie);
+		div.appendChild(txtNode);
+		
+		div = dojo.byId("ie50");
+		txtNode = document.createTextNode(dojo.render.html.ie50);
+		div.appendChild(txtNode);
+
+		div = dojo.byId("ie55");
+		txtNode = document.createTextNode(dojo.render.html.ie55);
+		div.appendChild(txtNode);
+		
+		div = dojo.byId("ie60");
+		txtNode = document.createTextNode(dojo.render.html.ie60);
+		div.appendChild(txtNode);
+		
+		div = dojo.byId("ie70");
+		txtNode = document.createTextNode(dojo.render.html.ie70);
+		div.appendChild(txtNode);
+		
+	}
+</script>
+</head>
+<body>
+<h2>Base</h2>
+<div id="userAgent">UserAgent: </div>
+<div id="appVersion">AppVersion: </div>
+<hr>
+
+<h2>OS</h2>
+<div id="mac">Macintosh: </div>
+<div id="win">Windows: </div>
+<div id="linux">X11: </div>
+<hr>
+
+<h2>Browser</h2>
+<div id="opera">Opera: </div>
+<div id="khtml">Konqueror/Safari: </div>
+<div id="safari">Safari: </div>
+<div id="moz">Moz: </div>
+<div id="mozilla">Mozilla: </div>
+<div id="ie">IE: </div>
+<div id="ie50">IE50: </div>
+<div id="ie55">IE55: </div>
+<div id="ie60">IE60: </div>
+<div id="ie70">IE70: </div>
+
+</body>
+</html>

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/sandbox/browserTest.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/sandbox/browserTest.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/sandbox/browserTest.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/sandbox/testContext.html
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/sandbox/testContext.html?rev=959343&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/sandbox/testContext.html (added)
+++ geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/sandbox/testContext.html Wed Jun 30 15:03:57 2010
@@ -0,0 +1,216 @@
+<%--
+    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.
+--%>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+<title>Test Widget</title>
+
+<link rel="stylesheet" href="css/index.css" type="text/css" />
+<script type="text/javascript">
+	var djConfig = {isDebug: true};
+	djConfig.debugAtAllCosts = true;
+</script>
+<script type="text/javascript" src="/dojo/dojo.js"></script>
+<script language="JavaScript" type="text/javascript">
+	dojo.registerModulePath(
+		"daytrader.context",
+		"widgets"
+	);
+	dojo.require("dojo.widget.Button");
+	dojo.require("dojo.widget.ValidationTextbox");
+	dojo.require("dojo.event.*");
+	dojo.require("dojotrader.widget.Context");
+	dojo.require("dojo.lfx.html");
+
+	dojo.hostenv.writeIncludes();
+	
+	var context = null;
+	var number = 5;
+	
+	dojo.addOnLoad(function(){
+		context = new dojotrader.widget.Context();
+		
+		//dojo.event.connect(context, "_addToQuotesCache", function(args){sayHello(args)});
+		//dojo.event.connect(context, "_addToQuotesCache", this, "sayHello");
+		dojo.event.connect(context, "onQuoteAddComplete", function(args){addQuoteRow("quotesEvent", args)});
+		
+		dojo.event.topic.subscribe("/quotes", function(args){handleQuotesSubscription(args)});
+		
+	});
+	
+	function testInterval() {
+		dojo.lang.setTimeout(function(){addText()}, 2000);
+	}
+	
+	function addText() {
+		testNode = dojo.byId("test");
+		textNode = document.createTextNode(number + " ");
+		number++;
+		testNode.appendChild(textNode);
+	}
+	
+	function handleQuotesSubscription(args) {
+		if (args.action == "add") {
+			addQuoteRow("quotesPubSub", args.quote);
+		} else if (args.action == "update") {
+			updateQuoteRow("quotesPubSub", args.quote);
+		}
+	};
+	
+	function setValue(){
+		/*context.setUser("uid:45");
+	
+		var node = dojo.byId("user");
+		var textNode = document.createTextNode(context.getUser());
+		node.appendChild(textNode);
+		
+		node = dojo.byId("count");
+		textNode = document.createTextNode(context.getCacheCount());
+		node.appendChild(textNode);
+		
+		quote = {symbol: "s:12", price: 32.45};
+		context._addToQuotesCache(quote);*/
+		
+		quote = context.getQuoteFromCache("s:12");
+		
+		var node = dojo.byId("user");
+		if (quote != null) {
+			var textNode = document.createTextNode(quote.symbol);
+			node.appendChild(textNode);
+		}
+	}
+	
+	function getSymbol() {
+		input = dojo.widget.byId("symbol");
+		//alert(input.getValue());
+		quote = context.getQuoteFromCache(input.getValue());
+		
+		//alert(quote);
+		//if (quote != null)
+		//	addQuoteRow("quotesEvent", quote);
+	}
+	
+	function updateCache() {
+		context._updateQuotesCache();
+	}
+	
+	function sayHello(args) {
+		alert("Hello: " + args);
+	}
+	
+	function startUpdate() {
+		context.startUpdateTimer(10000);
+	}
+	
+	function stopUpdate() {
+		context.stopUpdateTimer();
+	}
+	
+	function addQuoteRow(id, quote) {
+		
+		//alert("addQuoteRow: " + id);
+		table = dojo.byId(id);
+		row = table.insertRow(table.rows.length);
+		row.id = quote.symbol;
+		
+		node = row.insertCell(0);
+		text = document.createTextNode(quote.symbol);
+		node.appendChild(text);
+		
+		node = row.insertCell(1);
+		text = document.createTextNode(quote.price);
+		node.appendChild(text);
+	}
+	
+	function updateQuoteRow(id, quote) {
+		table = dojo.byId(id);
+		row = null;
+		
+		for (idx=1; idx < table.rows.length; idx++) {
+			if (table.rows[idx].id == quote.symbol) {
+				row = table.rows[idx];
+			
+				node = row.cells[1];
+				text = document.createTextNode(quote.price);
+				//node.style.color = "red";
+				node.replaceChild(text, node.childNodes[0]);
+				//dojo.lang.setTimeout(, 2000);
+				//setTimeout("changeColor(node)", 2000);
+				dojo.lfx.html.highlight(node,"red",2000,5).play();
+			}
+		}
+		
+		/*if (row != null) {
+			//alert("update symbol: " + quote.symbol);
+			
+			node = row.cells[1];
+			text = document.createTextNode(quote.price);
+			node.style.color = "red";
+			node.replaceChild(text, node.childNodes[0]);
+			dojo.lang.setTimeout(function(){node.style.color = "";}, 2000);
+		}*/
+	}
+	
+	function changeColor(node) {
+		node.style.color = "";
+	}
+	
+</script>
+</head>
+<body>
+
+
+<table>
+	<tr>
+		<td colspan="2"><input id="symbol" type="text" name="name"
+							dojoType="dojo:ValidationTextBox"
+							required="true"/></td>
+	</tr>
+	<tr>
+		<td><button id="currentValue" dojoType="dojo:Button" onclick="getSymbol()">Get Symbol</button></td>
+		<td><button id="nextValue" dojoType="dojo:Button" onclick="updateCache()">UpdateCache</button></td>
+	</tr>
+	<tr>
+		<td><button id="startClock" dojoType="dojo:Button" onclick="startUpdate()">Start Timer</button></td>
+		<td><button id="stopClock" dojoType="dojo:Button" onclick="stopUpdate()">Stop Timer</button></td>
+	</tr>
+	<tr>
+		<td><button id="testInterval" dojoType="dojo:Button" onclick="testInterval()">Test Interval</button></td>
+		<td></td>
+	</tr>
+</table>
+
+<h3>Quotes Event</h3>
+<table id="quotesEvent">
+	<tr>
+		<th>Symbol</th>
+		<th>Price</th>
+	</tr>
+</table>
+
+<h3>Quotes Pub/Sub</h3>
+<table id="quotesPubSub">
+	<tr>
+		<th>Symbol</th>
+		<th>Price</th>
+	</tr>
+</table>
+
+<div id="test"></div>
+
+</body>
+</html>

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/sandbox/testContext.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/sandbox/testContext.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/sandbox/testContext.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/sandbox/testWidget.html
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/sandbox/testWidget.html?rev=959343&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/sandbox/testWidget.html (added)
+++ geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/sandbox/testWidget.html Wed Jun 30 15:03:57 2010
@@ -0,0 +1,66 @@
+<%--
+    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.
+--%>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+<title>Test Widget</title>
+
+<link rel="stylesheet" href="css/index.css" type="text/css" />
+<script type="text/javascript">
+	var djConfig = {isDebug: true};
+	djConfig.debugAtAllCosts = true;
+</script>
+<script type="text/javascript" src="/dojo/dojo.js"></script>
+<script language="JavaScript" type="text/javascript">
+	dojo.require("dojo.widget.ContentPane");
+	dojo.require("dojo.widget.LayoutContainer");
+	dojo.require("dojo.widget.SplitContainer");
+	dojo.require("dojo.widget.TabContainer");
+	dojo.require("dojo.widget.Button");
+	dojo.require("dojo.widget.LinkPane");
+	dojo.require("dojo.widget.ComboBox");
+	dojo.require("dojotrader.widget.MarketSummary");
+	dojo.require("dojotrader.widget.QuickQuote");
+	dojo.require("dojotrader.widget.Portfolio");
+	dojo.require("dojotrader.widget.BuyQuote");
+	dojo.require("dojotrader.widget.Messages");
+	dojo.require("dojotrader.widget.LoginLogout");
+	dojo.require("dojotrader.widget.AccountSummary");
+
+	dojo.hostenv.writeIncludes();
+</script>
+</head>
+<body>
+
+<table>
+	<tr>
+		<td colspan="2"><div dojoType="dojotrader:LoginLogout">Loading...</div></td> 
+	</tr>
+	<tr>
+		<td><div dojoType="dojotrader:Portfolio" debug=false>Loading...</div></td><td><div dojoType="dojotrader:MarketSummary">Loading...</div></td>
+	</tr>
+	<tr>
+		<td><div dojoType="dojotrader:QuickQuote">Loading...</div></td><td><div dojoType="dojotrader:BuyQuote">Loading...</div></td>
+	</tr>
+	<tr>
+		<td><div dojoType="dojotrader:Messages">Loading...</div></td><td><div dojoType="dojotrader:AccountSummary">Loading...</div></td>
+	</tr>
+	
+</table>
+
+</body>
+</html>

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/sandbox/testWidget.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/sandbox/testWidget.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/sandbox/testWidget.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/trader.html
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/trader.html?rev=959343&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/trader.html (added)
+++ geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/trader.html Wed Jun 30 15:03:57 2010
@@ -0,0 +1,175 @@
+<%--
+    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.
+--%>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+<title>DojoTrader - DayTrader</title>
+
+<script type="text/javascript">
+	//var djConfig = {isDebug: true};
+	//djConfig.debugAtAllCosts = true;
+</script>
+<script type="text/javascript" src="/dojo/dojo.js"></script>
+<script language="JavaScript" type="text/javascript">
+	dojo.require("dojo.widget.ContentPane");
+	dojo.require("dojo.widget.LayoutContainer");
+	dojo.require("dojo.widget.SplitContainer");
+	dojo.require("dojo.widget.TabContainer");
+	dojo.require("dojo.widget.Button");
+	dojo.require("dojo.widget.LinkPane");
+	dojo.require("dojotrader.widget.LoginLogout");
+	dojo.require("dojotrader.widget.Portfolio");
+	dojo.require("dojotrader.widget.BuyQuote");
+	dojo.require("dojotrader.widget.Messages");
+	dojo.require("dojotrader.widget.LoginLogout");
+	dojo.require("dojotrader.widget.AccountSummary");
+	dojo.require("dojotrader.widget.MarketSummary");
+	dojo.require("dojotrader.widget.QuickQuote");
+
+	//dojo.hostenv.writeIncludes();
+	
+	dojo.addOnLoad(function(){
+		dojo.event.topic.subscribe("/daytrader", window, "handleExternalEvents");
+		var welcome = dojo.widget.byId("welcome_html");
+		var trader = dojo.widget.byId("trader_html");
+		var messages = dojo.widget.byId("messages");
+		
+		welcome.show();
+		trader.hide();
+		messages.hide();
+	});
+	
+	function handleExternalEvents(args) {
+		var welcome = dojo.widget.byId("welcome_html");
+		var trader = dojo.widget.byId("trader_html");
+		var messages = dojo.widget.byId("messages");
+		var quickQuote = dojo.widget.byId("quickQuote");
+		var main = dojo.byId("main");
+		
+		if (args.event == "handleLogin") {
+			welcome.hide();
+			quickQuote.hide();
+			trader.show();
+			messages.show();
+		} else if (args.event == "handleLogout") {
+			welcome.show();
+			quickQuote.show();
+			trader.hide();
+			messages.hide();
+		} else if (args.event == "register") {
+			main.style.zIndex = -1;
+			dojo.html.addClass(main, "opaque");
+		} else if (args.event == "cancelRegister") {
+			main.style.zIndex = 0;
+			dojo.html.removeClass(main, "opaque");
+		} else if (args.event == "msgWelcome") {
+			var welcome = dojo.byId("msg-welcome");
+			var text = document.createTextNode(args.message);
+			if (welcome.hasChildNodes) {
+				welcome.replaceChild(text, welcome.childNodes[0]);
+			} else {
+				welcome.appendChild(text);
+			}
+		}
+	}
+</script>
+<style>
+html, body {	
+	width: 100%;	/* make the body expand to fill the visible window */
+	height: 100%;
+	overflow: hidden;	/* erase window level scrollbars */
+	padding: 0 0 0 0;
+	margin: 0 0 0 0;
+	font-family: verdana,arial,helvetica,sans-serif;
+	font-size: 11px;
+}
+
+.opaque {
+	opacity: .5;
+	filter: alpha(opacity=50);
+}
+</style>
+</head>
+
+<body>
+
+<div dojoType="LayoutContainer" layoutChildPriority='top-bottom' style="width: 100%; height: 100%;">
+
+<div dojoType="ContentPane" id="header" layoutAlign="top">
+	<div>
+		<img src="images/DayTraderHead_blue.gif">
+	</div>
+	<div id="header-status" style="background-color: #274383; color: white; font-weight: bold; height: 34px">
+		<table width="100%">
+			<tr style="font-weight: bold;">
+				<td width="33%" style="color: white;"><span id="msg-welcome">This is the top banner...</span></td>
+				<td width="33%"></td>
+				<td align="right" width="34%">
+					<div id="loginWidget" dojoType="dojotrader:LoginLogout">Loading...</div>
+				</td>
+		</table>
+	</div>
+</div>
+
+<div dojoType="ContentPane"  id="main" layoutAlign="client">
+	<div dojoType="SplitContainer" orientation="horizontal" sizerWidth="5" activeSizing="0" style="height: 100%">
+		
+		<div dojoType="ContentPane" sizeMin="800">
+			<a id="welcome_html" dojoType="LinkPane" href="welcome.html">Welcome</a>
+			
+			<div id="trader_html" dojoType="TabContainer" doLayout="true" selectedTab="tab1" style="display: none; background: #274383; width: 100%; height: 100%; font-size: 1.2em;">
+				<div id="tab1" label="DayTrading" dojoType="ContentPane" style="width: 100%; height: 100%">
+					<table width="100%">
+						<tr>
+							<td valign="top">
+								<div dojoType="dojotrader:AccountSummary">Loading...</div>
+								<div dojoType="dojotrader:BuyQuote">Loading...</div>
+							</td>
+							<td valign="top">
+								<div dojoType="dojotrader:Portfolio">Loading...</div>
+							</td>
+						</tr>
+					</table>
+				</div>
+				
+				<a id="tab2" dojoType="LinkPane" href="tab3.html">Configuration Options</a>	
+			</div>
+		</div>
+		
+		<div dojoType="ContentPane" id="left-bar" sizeMin="200" style="background-color: #eeeeee;">
+			<div dojoType="MarketSummary">Loading</div>
+			<div id="quickQuote" dojoType="dojotrader:QuickQuote">Loading...</div>
+			<div id="messages" dojoType="dojotrader:Messages">Loading...</div>	
+		</div>
+	</div>
+</div>
+
+
+<div dojoType="ContentPane" id="footer" layoutAlign="bottom">
+	<div id="footer-status" style="background-color: #274383; color: white; font-weight: bold; height: 30px">
+		<table width="100%">
+			<tr style="font-weight: bold;">
+				<td width="33%" style="color: white;"><span id="status_message">This is the bottom banner...</span></td>
+			</tr>
+		</table> 
+	</div>
+</div>
+
+</div>
+
+</body>
+</html>

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/trader.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/trader.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/trader.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/trader_debug.html
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/trader_debug.html?rev=959343&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/trader_debug.html (added)
+++ geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/trader_debug.html Wed Jun 30 15:03:57 2010
@@ -0,0 +1,175 @@
+<%--
+    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.
+--%>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+<title>DojoTrader - DayTrader</title>
+
+<script type="text/javascript">
+	var djConfig = {isDebug: true};
+	djConfig.debugAtAllCosts = true;
+</script>
+<script type="text/javascript" src="/dojo/dojo.js"></script>
+<script language="JavaScript" type="text/javascript">
+	dojo.require("dojo.widget.ContentPane");
+	dojo.require("dojo.widget.LayoutContainer");
+	dojo.require("dojo.widget.SplitContainer");
+	dojo.require("dojo.widget.TabContainer");
+	dojo.require("dojo.widget.Button");
+	dojo.require("dojo.widget.LinkPane");
+	dojo.require("dojotrader.widget.LoginLogout");
+	dojo.require("dojotrader.widget.Portfolio");
+	dojo.require("dojotrader.widget.BuyQuote");
+	dojo.require("dojotrader.widget.Messages");
+	dojo.require("dojotrader.widget.LoginLogout");
+	dojo.require("dojotrader.widget.AccountSummary");
+	dojo.require("dojotrader.widget.MarketSummary");
+	dojo.require("dojotrader.widget.QuickQuote");
+
+	dojo.hostenv.writeIncludes();
+	
+	dojo.addOnLoad(function(){
+		dojo.event.topic.subscribe("/daytrader", window, "handleExternalEvents");
+		var welcome = dojo.widget.byId("welcome_html");
+		var trader = dojo.widget.byId("trader_html");
+		var messages = dojo.widget.byId("messages");
+		
+		welcome.show();
+		trader.hide();
+		messages.hide();
+	});
+	
+	function handleExternalEvents(args) {
+		var welcome = dojo.widget.byId("welcome_html");
+		var trader = dojo.widget.byId("trader_html");
+		var messages = dojo.widget.byId("messages");
+		var quickQuote = dojo.widget.byId("quickQuote");
+		var main = dojo.byId("main");
+		
+		if (args.event == "handleLogin") {
+			welcome.hide();
+			quickQuote.hide();
+			trader.show();
+			messages.show();
+		} else if (args.event == "handleLogout") {
+			welcome.show();
+			quickQuote.show();
+			trader.hide();
+			messages.hide();
+		} else if (args.event == "register") {
+			main.style.zIndex = -1;
+			dojo.html.addClass(main, "opaque");
+		} else if (args.event == "cancelRegister") {
+			main.style.zIndex = 0;
+			dojo.html.removeClass(main, "opaque");
+		} else if (args.event == "msgWelcome") {
+			var welcome = dojo.byId("msg-welcome");
+			var text = document.createTextNode(args.message);
+			if (welcome.hasChildNodes) {
+				welcome.replaceChild(text, welcome.childNodes[0]);
+			} else {
+				welcome.appendChild(text);
+			}
+		}
+	}
+</script>
+<style>
+html, body {	
+	width: 100%;	/* make the body expand to fill the visible window */
+	height: 100%;
+	overflow: hidden;	/* erase window level scrollbars */
+	padding: 0 0 0 0;
+	margin: 0 0 0 0;
+	font-family: verdana,arial,helvetica,sans-serif;
+	font-size: 11px;
+}
+
+.opaque {
+	opacity: .5;
+	filter: alpha(opacity=50);
+}
+</style>
+</head>
+
+<body>
+
+<div dojoType="LayoutContainer" layoutChildPriority='top-bottom' style="width: 100%; height: 100%;">
+
+<div dojoType="ContentPane" id="header" layoutAlign="top">
+	<div>
+		<img src="images/DayTraderHead_blue.gif">
+	</div>
+	<div id="header-status" style="background-color: #274383; color: white; font-weight: bold; height: 34px">
+		<table width="100%">
+			<tr style="font-weight: bold;">
+				<td width="33%" style="color: white;"><span id="msg-welcome">This is the top banner...</span></td>
+				<td width="33%"></td>
+				<td align="right" width="34%">
+					<div id="loginWidget" dojoType="dojotrader:LoginLogout">Loading...</div>
+				</td>
+		</table>
+	</div>
+</div>
+
+<div dojoType="ContentPane"  id="main" layoutAlign="client">
+	<div dojoType="SplitContainer" orientation="horizontal" sizerWidth="5" activeSizing="0" style="height: 100%">
+		
+		<div dojoType="ContentPane" sizeMin="800">
+			<a id="welcome_html" dojoType="LinkPane" href="welcome.html">Welcome</a>
+			
+			<div id="trader_html" dojoType="TabContainer" doLayout="true" selectedTab="tab1" style="display: none; background: #274383; width: 100%; height: 100%; font-size: 1.2em;">
+				<div id="tab1" label="DayTrading" dojoType="ContentPane" style="width: 100%; height: 100%">
+					<table width="100%">
+						<tr>
+							<td valign="top">
+								<div dojoType="dojotrader:AccountSummary">Loading...</div>
+								<div dojoType="dojotrader:BuyQuote">Loading...</div>
+							</td>
+							<td valign="top">
+								<div dojoType="dojotrader:Portfolio">Loading...</div>
+							</td>
+						</tr>
+					</table>
+				</div>
+				
+				<a id="tab2" dojoType="LinkPane" href="tab3.html">Configuration Options</a>	
+			</div>
+		</div>
+		
+		<div dojoType="ContentPane" id="left-bar" sizeMin="200" style="background-color: #eeeeee;">
+			<div dojoType="MarketSummary">Loading</div>
+			<div id="quickQuote" dojoType="dojotrader:QuickQuote">Loading...</div>
+			<div id="messages" dojoType="dojotrader:Messages">Loading...</div>	
+		</div>
+	</div>
+</div>
+
+
+<div dojoType="ContentPane" id="footer" layoutAlign="bottom">
+	<div id="footer-status" style="background-color: #274383; color: white; font-weight: bold; height: 30px">
+		<table width="100%">
+			<tr style="font-weight: bold;">
+				<td width="33%" style="color: white;"><span id="status_message">This is the bottom banner...</span></td>
+			</tr>
+		</table> 
+	</div>
+</div>
+
+</div>
+
+</body>
+</html>

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/trader_debug.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/trader_debug.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/trader_debug.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/welcome.html
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/welcome.html?rev=959343&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/welcome.html (added)
+++ geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/welcome.html Wed Jun 30 15:03:57 2010
@@ -0,0 +1,30 @@
+<%--
+    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>
+	<h2>DOJO Trader, the DOJO/AJAX user interface to Daytrader 1.1</h2>
+
+	<p>
+	DayTrader is the Geronimo end-to-end benchmark and performance sample application. The new DayTrader 
+	benchmark has been re-designed and developed to cover Geronimo's significantly expanding programming 
+	model. This provides a real world workload driving Geronimo's implementation of J2EE 1.4 and Web 
+	Services including key Geronimo performance components and features.<BR>
+	<br>
+	DayTrader's new design spans J2EE 1.4 including the new EJB 2.1 component architecture, Message 
+	Driven beans, transactions (1-phase, 2-phase commit) and Web Services (SOAP, WSDL).
+	</p>
+</div>

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/welcome.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/welcome.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/welcome.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/AccountSummary.js
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/AccountSummary.js?rev=959343&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/AccountSummary.js (added)
+++ geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/AccountSummary.js Wed Jun 30 15:03:57 2010
@@ -0,0 +1,96 @@
+<%--
+    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.
+--%>
+
+dojo.provide("dojotrader.widget.AccountSummary");
+
+dojo.require("dojo.widget.*");
+dojo.require("dojo.widget.HtmlWidget");
+dojo.require("dojotrader.widget.BaseDaytraderPane");
+
+dojo.widget.defineWidget(
+	"dojotrader.widget.AccountSummary", 
+	[dojo.widget.HtmlWidget, dojotrader.widget.BaseDaytraderPane], 
+	{
+		templatePath: dojo.uri.dojoUri("/dojotrader/widget/templates/HtmlAccountSummary.html"),
+		widgetType: "MarketSummary",
+
+		label: "Account Summary",
+		
+		_holdingsValue: 0,
+		_accountSummary: null,
+		
+		postCreate: function() {
+			dojotrader.widget.Messages.superclass.postCreate.call(this);
+			
+			dojo.event.topic.subscribe("/accountSummary", this, "handleExternalEvents");
+		},
+		
+		fillInTemplate: function(args, frag) {
+			if (this.debug) {
+				var ref = dojo.widget.createWidget("Button", {id: "somebutton", caption: "Get Account Summary"}, this.buttonNode);
+				dojo.event.connect(ref, "onClick", this, "getAccountSummary");
+				this.asDebug.style.display = "";
+			}
+		},
+		
+		handleExternalEvents: function (args) {
+			if (args.event == "updateHoldingsValue") {
+				this.updateHoldingsValue(args.value);
+				this.getAccountSummary();
+			} else if (args.event == "getAccountSummary") {
+				this.getAccountSummary();
+			}
+		},
+		
+		updateHoldingsValue: function (value) {
+			this._holdingsValue = +(value);
+		},
+	
+		getAccountSummary: function () {
+			var uid = dojo.storage.get("uid");
+			if (uid == null || uid == "") {
+				alert("Unable to find uid in storage, using uid:0");
+				uid = "uid:0";
+			}		
+	
+			dojo.io.bind({
+    			method:  "GET",
+   			 	//url: "/proxy/SoapProxy/getAccountData?p1=" + uid + "&format=json",
+      			url: "/daytraderProxy/doProxy/getAccountData?p1=" + uid,
+      			mimetype: "text/json",
+    			load: dojo.lang.hitch(this, this.handleAccountSummaryData),
+    			error: dojo.lang.hitch(this, this.handleError),
+    			useCache: false,
+                preventCache: true
+  			});
+		},
+
+		handleAccountSummaryData: function (type, data, evt) {
+			this._accountSummary = data.getAccountDataReturn;
+			
+			var balance = +this._accountSummary.balance;
+			var openBalance = +this._accountSummary.openBalance;
+			var total = balance + this._holdingsValue;
+			
+			this.replaceTextNode(this.balance, this.addCommas("$" + balance.toFixed(2)));
+			this.replaceTextNode(this.openBalance, this.addCommas("$" + openBalance.toFixed(2)));
+			this.replaceTextNode(this.holdingsValue, this.addCommas("$" + this._holdingsValue.toFixed(2)));
+			this.replaceTextNode(this.total, this.addCommas("$" + total.toFixed(2)));
+			this.replaceTextNode(this.change, ((total - openBalance)/openBalance * 100).toFixed(2) + "%");
+		}
+	}
+);

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/AccountSummary.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/AccountSummary.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/daytrader/assemblies/javaee/dojo-ui-war/src/main/webapp/widget/AccountSummary.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message