You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by jm...@apache.org on 2006/09/22 01:37:35 UTC
svn commit: r448762 - in /incubator/xap/trunk/WebContent/examples/demo: ./
images/
Author: jmargaris
Date: Thu Sep 21 18:37:34 2006
New Revision: 448762
URL: http://svn.apache.org/viewvc?view=rev&rev=448762
Log:
more complicated app that looks pretty reasonable
Added:
incubator/xap/trunk/WebContent/examples/demo/
incubator/xap/trunk/WebContent/examples/demo/images/
incubator/xap/trunk/WebContent/examples/demo/images/base.gif (with props)
incubator/xap/trunk/WebContent/examples/demo/images/down.gif (with props)
incubator/xap/trunk/WebContent/examples/demo/images/even.gif (with props)
incubator/xap/trunk/WebContent/examples/demo/images/icon_chart.gif (with props)
incubator/xap/trunk/WebContent/examples/demo/images/icon_comment.gif (with props)
incubator/xap/trunk/WebContent/examples/demo/images/logo.gif (with props)
incubator/xap/trunk/WebContent/examples/demo/images/nx.gif (with props)
incubator/xap/trunk/WebContent/examples/demo/images/question.gif (with props)
incubator/xap/trunk/WebContent/examples/demo/images/refresh.gif (with props)
incubator/xap/trunk/WebContent/examples/demo/images/up.gif (with props)
incubator/xap/trunk/WebContent/examples/demo/readme.txt (with props)
incubator/xap/trunk/WebContent/examples/demo/table.html (with props)
incubator/xap/trunk/WebContent/examples/demo/table.xal (with props)
Added: incubator/xap/trunk/WebContent/examples/demo/images/base.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/demo/images/base.gif?view=auto&rev=448762
==============================================================================
Binary file - no diff available.
Propchange: incubator/xap/trunk/WebContent/examples/demo/images/base.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/xap/trunk/WebContent/examples/demo/images/down.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/demo/images/down.gif?view=auto&rev=448762
==============================================================================
Binary file - no diff available.
Propchange: incubator/xap/trunk/WebContent/examples/demo/images/down.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/xap/trunk/WebContent/examples/demo/images/even.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/demo/images/even.gif?view=auto&rev=448762
==============================================================================
Binary file - no diff available.
Propchange: incubator/xap/trunk/WebContent/examples/demo/images/even.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/xap/trunk/WebContent/examples/demo/images/icon_chart.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/demo/images/icon_chart.gif?view=auto&rev=448762
==============================================================================
Binary file - no diff available.
Propchange: incubator/xap/trunk/WebContent/examples/demo/images/icon_chart.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/xap/trunk/WebContent/examples/demo/images/icon_comment.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/demo/images/icon_comment.gif?view=auto&rev=448762
==============================================================================
Binary file - no diff available.
Propchange: incubator/xap/trunk/WebContent/examples/demo/images/icon_comment.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/xap/trunk/WebContent/examples/demo/images/logo.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/demo/images/logo.gif?view=auto&rev=448762
==============================================================================
Binary file - no diff available.
Propchange: incubator/xap/trunk/WebContent/examples/demo/images/logo.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/xap/trunk/WebContent/examples/demo/images/nx.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/demo/images/nx.gif?view=auto&rev=448762
==============================================================================
Binary file - no diff available.
Propchange: incubator/xap/trunk/WebContent/examples/demo/images/nx.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/xap/trunk/WebContent/examples/demo/images/question.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/demo/images/question.gif?view=auto&rev=448762
==============================================================================
Binary file - no diff available.
Propchange: incubator/xap/trunk/WebContent/examples/demo/images/question.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/xap/trunk/WebContent/examples/demo/images/refresh.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/demo/images/refresh.gif?view=auto&rev=448762
==============================================================================
Binary file - no diff available.
Propchange: incubator/xap/trunk/WebContent/examples/demo/images/refresh.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/xap/trunk/WebContent/examples/demo/images/up.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/demo/images/up.gif?view=auto&rev=448762
==============================================================================
Binary file - no diff available.
Propchange: incubator/xap/trunk/WebContent/examples/demo/images/up.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/xap/trunk/WebContent/examples/demo/readme.txt
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/demo/readme.txt?view=auto&rev=448762
==============================================================================
--- incubator/xap/trunk/WebContent/examples/demo/readme.txt (added)
+++ incubator/xap/trunk/WebContent/examples/demo/readme.txt Thu Sep 21 18:37:34 2006
@@ -0,0 +1,14 @@
+Issues with demo:
+
+1. Can't click radio buttons
+2: Table in top area doesn't size properly (commented out)
+3: I could get in the state where clicking the table header made the table grow
+4: Clicking header makes <labels> in IE dissapear sometimes
+5: In IE the table columns are all evenly spaced instead of according to headers
+6: Table without fixed width shows up different in IE and Mozilla
+7: CSS error in newer Mozzilla "got 10"
+8: When table has horizontal scrollbar it shows up too low and can jump around
+9: Word wrapping is a problem in general, sometimes things wrap like Radio buttons
+in mozzilla and "Resulting Cash" wraps in IE
+10: Unable to set image in label (fixed)
+11: Error in horizontalPanel (fixed)
\ No newline at end of file
Propchange: incubator/xap/trunk/WebContent/examples/demo/readme.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/xap/trunk/WebContent/examples/demo/table.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/demo/table.html?view=auto&rev=448762
==============================================================================
--- incubator/xap/trunk/WebContent/examples/demo/table.html (added)
+++ incubator/xap/trunk/WebContent/examples/demo/table.html Thu Sep 21 18:37:34 2006
@@ -0,0 +1,27 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+"http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <title>EasyTrader</title>
+
+ <style type="text/css">
+ <!--
+ @import url(../../css/xapDefault.css);
+ -->
+ </style>
+
+ <script type="text/javascript">
+ djConfig = {
+ parseWidgets: false
+ };
+ </script>
+
+ <script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
+
+ </head>
+
+ <body onload="Xap.createAllPredefinedSessions()">
+ <div xapId="ButtonExample" xapSrc="table.xal" xapToolkit="dojo" xapContext="../../"></div>
+</body>
+</html>
Propchange: incubator/xap/trunk/WebContent/examples/demo/table.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/xap/trunk/WebContent/examples/demo/table.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/demo/table.xal?view=auto&rev=448762
==============================================================================
--- incubator/xap/trunk/WebContent/examples/demo/table.xal (added)
+++ incubator/xap/trunk/WebContent/examples/demo/table.xal Thu Sep 21 18:37:34 2006
@@ -0,0 +1,221 @@
+<xal xmlns="http://www.openxal.org/xal" xmlns:xal="http://www.openxal.org/xal">
+
+
+ <xm:modifications xmlns:xm="http://www.openxal.org/xmodify">
+ <xm:append select="/xal">
+
+ <verticalPanel backgroundColor="#EEE" align="stretch" width="800px" height="600px" fontSize="11px" fontFamily="Arial" backgroundColor="#EEE">
+ <label width="20px" height="20px"/>
+
+ <label img="images/logo.gif"/>
+
+ <label width="20px" height="20px"/>
+
+ <verticalPanel align="stretch" backgroundColor="white" borderColor="green" borderStyle="solid" borderWidth="1px" >
+ <label text="Order Entry" color="white" backgroundColor="#999"/>
+ <horizontalPanel align="center">
+ <freePanel width="20px" height="10px"/>
+
+ <!-- can't click for some reason? -->
+ <verticalPanel align="center">
+ <radioButton text="Buy" group="BuySell"/>
+ <radioButton text="Sell" group="BuySell"/>
+ </verticalPanel>
+
+ <freePanel width="20px" height="10px"/>
+
+
+ <label text="Quantity"/>
+ <textField width="65px"/>
+
+ <freePanel width="20px" height="10px"/>
+
+ <label text="Symbol"/>
+
+ <comboBox selectionMode="singleRow">
+ <listBox selectionMode="singleRow" >
+ <listItem text="AA" value="Value 1"/>
+ <listItem text="GE" value="Value 2" selected="true"/>
+ <listItem text="GM" value="Value 3"/>
+ <listItem text="GOOG" value="Value 4"/>
+ <listItem text="HD" value="Value 5"/>
+ <listItem text="IBM" value="Value 6"/>
+ <listItem text="MSFT" value="Value 7"/>
+ <listItem text="YHOO" value="Value 8"/>
+ </listBox>
+ </comboBox>
+
+ <freePanel width="20px" height="10px"/>
+
+
+ <button text="Buy" width="100px" backgroundColor="#EEF"/>
+
+ <freePanel width="20px" height="10px"/>
+
+
+
+ <!-- tried using table here but size came out all weird -->
+ <!--<table width="200px" height="100px">
+ <column><header text="a" width="30px"/></column>
+ <column><header text="a" width="30px"/></column>
+ <row>
+ <cell text="Transaction"/>
+ <cell text="0.0"/>
+ </row>
+ <row>
+ <cell text="Resulting Cash"/>
+ <cell text="0.0"/>
+ </row>
+ <row>
+ <cell text="Stock Price"/>
+ <cell text="0.0"/>
+ </row>
+ </table> -->
+
+ <verticalPanel>
+ <label text="Transaction"/>
+ <label text="Resulting Cash"/>
+ <label text="Stock Price"/>
+ </verticalPanel>
+
+ <verticalPanel>
+ <label text="0.0"/>
+ <label text="0.0"/>
+ <label text="0.0"/>
+ </verticalPanel>
+
+
+ </horizontalPanel>
+
+ </verticalPanel>
+
+ <label width="20px" height="20px"/>
+
+
+ <verticalPanel borderColor="green" borderWidth="1px" align="start" borderStyle="solid">
+ <label text="Level 1 Quotes" color="white" backgroundColor="#999"/>
+ <table borderWidth="1px" borderColor="black" borderStyle="solid" backgroundColor="white">
+ <column><header text="Symbol" backgroundColor="#CCF" width="100px"/></column>
+ <column><header text="Name" backgroundColor="#CCF" width="100px"/></column>
+ <column><header text="Last" backgroundColor="#CCF" width="50px" /></column>
+ <column><header text="Net Chng" backgroundColor="#CCF" width="70px" /></column>
+ <column><header text="Bid" backgroundColor="#CCF" width="50px" /></column>
+ <column><header text="Ask" backgroundColor="#CCF" width="50px" /></column>
+ <column><header text="High" backgroundColor="#CCF" width="50px" /></column>
+ <column><header text="Low" backgroundColor="#CCF" width="50px" /></column>
+ <column><header text="Volume" backgroundColor="#CCF" /></column>
+
+ <row>
+ <cell text="AA"/>
+ <cell text="Alcoa"/>
+ <label text="41.02" backgroundColor="#CCF"/>
+ <label text="3.51" color="red" img="images/down.gif" />
+ <cell text="40.49"/>
+ <cell text="40.43"/>
+ <cell text="50.98"/>
+ <cell text="10.14"/>
+ <cell text="29292929"/>
+ </row>
+
+ <row>
+ <cell text="GE"/>
+ <cell text="General Electric"/>
+ <label text="41.02" backgroundColor="#CFC"/>
+ <label text="-3.51" color="green" img="images/up.gif" />
+ <cell text="40.49"/>
+ <cell text="40.43"/>
+ <cell text="50.98"/>
+ <cell text="10.14"/>
+ <cell text="29292929"/>
+ </row>
+
+ <row>
+ <cell text="GM"/>
+ <cell text="General Motors"/>
+ <label text="41.02" backgroundColor="#FCC"/>
+ <label text="-3.51" color="red" img="images/down.gif" />
+ <cell text="40.49"/>
+ <cell text="40.43"/>
+ <cell text="50.98"/>
+ <cell text="10.14"/>
+ <cell text="29292929"/>
+ </row>
+
+
+
+ <row>
+ <cell text="GOOG"/>
+ <cell text="Google"/>
+ <label text="41.02" backgroundColor="#FCC"/>
+ <label text="-3.51" color="red" img="images/down.gif" />
+ <cell text="40.49"/>
+ <cell text="40.43"/>
+ <cell text="50.98"/>
+ <cell text="10.14"/>
+ <cell text="29292929"/>
+ </row>
+
+ <row>
+ <cell text="HD"/>
+ <cell text="Home Depot"/>
+ <label text="41.02" backgroundColor="#CCF"/>
+ <label text="3.51" color="red" img="images/down.gif" />
+ <cell text="40.49"/>
+ <cell text="40.43"/>
+ <cell text="50.98"/>
+ <cell text="10.14"/>
+ <cell text="29292929"/>
+ </row>
+
+ <row>
+ <cell text="IBM"/>
+ <cell text="IBM"/>
+ <label text="41.02" backgroundColor="#CFC"/>
+ <label text="-3.51" color="green" img="images/up.gif" />
+ <cell text="40.49"/>
+ <cell text="40.43"/>
+ <cell text="50.98"/>
+ <cell text="10.14"/>
+ <cell text="29292929"/>
+ </row>
+
+ <row>
+ <cell text="MSFT"/>
+ <cell text="Microsoft"/>
+ <label text="41.02" backgroundColor="#FCC"/>
+ <label text="-3.51" color="red" img="images/down.gif" />
+ <cell text="40.49"/>
+ <cell text="40.43"/>
+ <cell text="50.98"/>
+ <cell text="10.14"/>
+ <cell text="29292929"/>
+ </row>
+
+
+
+ <row>
+ <cell text="YHOO"/>
+ <cell text="Yahoo!"/>
+ <label text="41.02" backgroundColor="#FCC"/>
+ <label text="-3.51" color="red" img="images/down.gif" />
+ <cell text="40.49"/>
+ <cell text="40.43"/>
+ <cell text="50.98"/>
+ <cell text="10.14"/>
+ <cell text="29292929"/>
+ </row>
+
+
+
+
+
+
+
+ </table>
+ </verticalPanel>
+
+ </verticalPanel>
+ </xm:append>
+ </xm:modifications>
+</xal>
+
Propchange: incubator/xap/trunk/WebContent/examples/demo/table.xal
------------------------------------------------------------------------------
svn:eol-style = native