r20926: Modify the classname as well
authorSimo Sorce <idra@samba.org>
Sat, 20 Jan 2007 23:38:46 +0000 (23:38 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:43:54 +0000 (14:43 -0500)
webapps/swat/Makefile
webapps/swat/source/class/swat/module/ldbbrowse/Gui.js
webapps/swat/source/class/swat/module/ldbbrowse/LdifViewer.js

index c993dde82550c75570303339786a9e3863558a86..c61f0a328784417b9618b0c47243a10b745f9358 100644 (file)
@@ -70,6 +70,12 @@ build:       info-build \
        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"
index fcdbe1c0589f59ec6da0f1ec0e2602f59bce459f..1b9677fbd1b3a4c19c9853b5e9e94fb3315ffa25 100644 (file)
@@ -278,18 +278,18 @@ qx.Proto._buildPageSearch = function(module, page)
   // 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 @@ qx.Proto._displaySearchResults = function(module, rpcRequest)
   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 @@ qx.Proto._displaySearchResults = function(module, rpcRequest)
               "\n");
         continue;
       }
-      ldifView.appendObject(obj);
+      ldifview.appendObject(obj);
     }
   }
   else
index 61f04bd3e198a69a409b058c6c0b5abe6750b50b..6b7819ae16765d63e8647572bf884d27358029ee 100644 (file)
@@ -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 @@ function()
   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 : ""
 }