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 mt...@apache.org on 2006/09/20 23:02:35 UTC
svn commit: r448396 - in
/incubator/xap/trunk/WebContent/examples/xapwidgets: menu.html menu.xal
Author: mturyn
Date: Wed Sep 20 16:02:35 2006
New Revision: 448396
URL: http://svn.apache.org/viewvc?view=rev&rev=448396
Log:
for Peter
Added:
incubator/xap/trunk/WebContent/examples/xapwidgets/menu.html
incubator/xap/trunk/WebContent/examples/xapwidgets/menu.xal
Added: incubator/xap/trunk/WebContent/examples/xapwidgets/menu.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/xapwidgets/menu.html?view=auto&rev=448396
==============================================================================
--- incubator/xap/trunk/WebContent/examples/xapwidgets/menu.html (added)
+++ incubator/xap/trunk/WebContent/examples/xapwidgets/menu.html Wed Sep 20 16:02:35 2006
@@ -0,0 +1,26 @@
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <title>Menu</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>
+ <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>
+
+ </head>
+
+ <body onload="Xap.createAllPredefinedSessions()">
+ <div xapId="MenuExample" xapSrc="menu.xal" xapToolkit="dojo" xapContext="../../"></div>
+</body>
+</html>
Added: incubator/xap/trunk/WebContent/examples/xapwidgets/menu.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/xapwidgets/menu.xal?view=auto&rev=448396
==============================================================================
--- incubator/xap/trunk/WebContent/examples/xapwidgets/menu.xal (added)
+++ incubator/xap/trunk/WebContent/examples/xapwidgets/menu.xal Wed Sep 20 16:02:35 2006
@@ -0,0 +1,31 @@
+<xal xmlns="http://www.openxal.org/xal" xmlns:dojo="http://www.dojotoolkit.org/">
+
+
+ <mco:mco
+ xmlns:mco="http://www.openxal.org/mco"
+ id="attributeSetter"
+ src="AttributeTester"
+ />
+
+
+
+ <xm:modifications xmlns:xm="http://www.openxal.org/xmodify">
+ <xm:append select="/xal">
+
+
+ <menu id="testComponent"></menu>
+
+
+
+ <button width="200px" height="50px" alignHorizontal="center" alignVertical="center" text="Print"
+ onCommand="mco:attributeSetter.printElement(testComponent)" />
+
+
+ <!--standard test things -->
+
+ <include href="standardButtons.xal" xmlns="http://www.openxal.org/xinclude"/>
+
+
+ </xm:append>
+ </xm:modifications>
+</xal>
\ No newline at end of file