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 bb...@apache.org on 2006/07/12 19:54:45 UTC
svn commit: r421394 -
/incubator/xap/trunk/WebContent/examples/html-xmodify/index.html
Author: bbuffone
Date: Wed Jul 12 12:54:44 2006
New Revision: 421394
URL: http://svn.apache.org/viewvc?rev=421394&view=rev
Log:
Checking in the first version of the xModify against the HTML DOM.
Also added and fixed xModify jsunit tests for both
xmodify against reagular dom and HTML dom
Sample application to test and demo how to use xModify against the
HTML dom
Added:
incubator/xap/trunk/WebContent/examples/html-xmodify/index.html (with props)
Added: incubator/xap/trunk/WebContent/examples/html-xmodify/index.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/html-xmodify/index.html?rev=421394&view=auto
==============================================================================
--- incubator/xap/trunk/WebContent/examples/html-xmodify/index.html (added)
+++ incubator/xap/trunk/WebContent/examples/html-xmodify/index.html Wed Jul 12 12:54:44 2006
@@ -0,0 +1,36 @@
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <title>Macro and xModify running against the HTML DOM</title>
+
+ <style type="text/css">
+ <!--
+ @import url(../../css/xapDefault.css);
+ -->
+ </style>
+ <script language="JavaScript" type="text/javascript" src="../../src/dojo/dojo.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../../src/xap/util/Utils.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../../src/xap/Xap.js"></script>
+ <script language="JavaScript" type="text/javascript">
+ Xap.bootstrap( "../../" );
+ </script>
+ </head>
+
+<body onload="launch();">
+ <script language="JavaScript" type="text/javascript">
+
+ var clientSession = null;
+
+ function launch() {
+ // required for Zimbra
+ DBG = new AjxDebug( AjxDebug.NONE, null, false );
+ clientSession = Xap.createSession("../../", "index.xal" );
+ }
+
+ function handleMacro(macroName){
+ clientSession.getMacroContainer().get(macroName).execute();
+ }
+
+ </script>
+</body>
+</html>
\ No newline at end of file
Propchange: incubator/xap/trunk/WebContent/examples/html-xmodify/index.html
------------------------------------------------------------------------------
svn:eol-style = native