svn commit: samba r20926 - in branches/SAMBA_4_0/webapps/swat: . source/class/swat/module/ldbbrowse

idra at samba.org idra at samba.org
Sat Jan 20 23:38:47 GMT 2007


Author: idra
Date: 2007-01-20 23:38:46 +0000 (Sat, 20 Jan 2007)
New Revision: 20926

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20926

Log:

Modify the classname as well


Modified:
   branches/SAMBA_4_0/webapps/swat/Makefile
   branches/SAMBA_4_0/webapps/swat/source/class/swat/module/ldbbrowse/Gui.js
   branches/SAMBA_4_0/webapps/swat/source/class/swat/module/ldbbrowse/LdifViewer.js


Changeset:
Modified: branches/SAMBA_4_0/webapps/swat/Makefile
===================================================================
--- branches/SAMBA_4_0/webapps/swat/Makefile	2007-01-20 23:30:32 UTC (rev 20925)
+++ branches/SAMBA_4_0/webapps/swat/Makefile	2007-01-20 23:38:46 UTC (rev 20926)
@@ -70,6 +70,12 @@
 	copy-build-files \
 	fix-build-rights
 
+swat-only: \
+	info-build \
+	generate-script-build \
+	copy-build-files \
+	fix-build-rights
+
 api: generate-api-build generate-api-data
 	@echo
 	@echo "  CREATE COPY OF HTML FILE"

Modified: branches/SAMBA_4_0/webapps/swat/source/class/swat/module/ldbbrowse/Gui.js
===================================================================
--- branches/SAMBA_4_0/webapps/swat/source/class/swat/module/ldbbrowse/Gui.js	2007-01-20 23:30:32 UTC (rev 20925)
+++ branches/SAMBA_4_0/webapps/swat/source/class/swat/module/ldbbrowse/Gui.js	2007-01-20 23:38:46 UTC (rev 20926)
@@ -278,18 +278,18 @@
   // Add the vlayout to the page
   page.add(vlayout);
 
-  var ldifView = new swat.module.ldbbrowse.ldifViewer();
-  ldifView.set({
+  var ldifview = new swat.module.ldbbrowse.LdifViewer();
+  ldifview.set({
                top: 130,
                left: 10,
                right: 10,
                bottom: 10
            });
 
-  fsm.addObject("ldifView", ldifView);
+  fsm.addObject("LdifView", ldifview);
 
   // Add the output area to the page
-  page.add(ldifView);
+  page.add(ldifview);
 };
 
 qx.Proto._buildPageBrowse = function(module, page)
@@ -372,9 +372,9 @@
   var fsm = module.fsm;
 
   // Obtain the table and tableModel objects
-  var ldifView = fsm.getObject("ldifView");
+  var ldifview = fsm.getObject("LdifView");
 
-  ldifView.reset();
+  ldifview.reset();
 
   // Obtain the result object
   result = rpcRequest.getUserData("result").data;
@@ -394,7 +394,7 @@
               "\n");
         continue;
       }
-      ldifView.appendObject(obj);
+      ldifview.appendObject(obj);
     }
   }
   else

Modified: branches/SAMBA_4_0/webapps/swat/source/class/swat/module/ldbbrowse/LdifViewer.js
===================================================================
--- branches/SAMBA_4_0/webapps/swat/source/class/swat/module/ldbbrowse/LdifViewer.js	2007-01-20 23:30:32 UTC (rev 20925)
+++ branches/SAMBA_4_0/webapps/swat/source/class/swat/module/ldbbrowse/LdifViewer.js	2007-01-20 23:38:46 UTC (rev 20926)
@@ -10,7 +10,7 @@
  * Swat LDB Browser class graphical user interface
  */
 
-qx.OO.defineClass("swat.module.ldbbrowse.ldifViewer", qx.ui.embed.HtmlEmbed,
+qx.OO.defineClass("swat.module.ldbbrowse.LdifViewer", qx.ui.embed.HtmlEmbed,
 function()
 {
   qx.ui.embed.HtmlEmbed.call(this, "");
@@ -24,11 +24,9 @@
   this.innerText = "";
 });
 
-//qx.OO.changeProperty({ name : "appearance", type : "string", defaultValue : "???" });
-
 qx.OO.addProperty({ name : "innerText", type : "string" });
 
-swat.module.ldbbrowse.ldifViewer.empty = {
+qx.Class.empty = {
   html : "",
   innerText : ""
 }



More information about the samba-cvs mailing list