Author: jmorliaguet
Date: Mon Jan  9 22:12:34 2006
New Revision: 2199

Modified:
   cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js
   cpsskins/branches/jmo-perspectives/ui/framework/doc/index.txt
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_contextualmenu_test.html
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_demo.html
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_navpanel_test.html
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_observer_test.html
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_panel_test.html
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_tooltip.html
   cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/panel5.html
   cpsskins/branches/jmo-perspectives/ui/framework/tests/unit/cpsskins_test.html
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/unit/cpsskins_widgets_test.html
   cpsskins/branches/jmo-perspectives/ui/framework/tests/unit/p3.html
Log:

- replaced 'cpsskins:view' with 'view' since IE and mozilla parse the
  tags differently.



Modified: cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js
==============================================================================
--- cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js (original)
+++ cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js Mon Jan  9 
22:12:34 2006
@@ -35,7 +35,7 @@
   },
 
   parse: function(node) {
-    var elements = node.getElementsByTagName("cpsskins:view");
+    var elements = node.getElementsByTagName("view");
 
     $A(elements).each(function(e, index) {
       var widget_id = e.getAttribute("widget").toLowerCase();

Modified: cpsskins/branches/jmo-perspectives/ui/framework/doc/index.txt
==============================================================================
--- cpsskins/branches/jmo-perspectives/ui/framework/doc/index.txt       
(original)
+++ cpsskins/branches/jmo-perspectives/ui/framework/doc/index.txt       Mon Jan 
 9 22:12:34 2006
@@ -1,3 +1,6 @@
+
+.. header:: Documentation
+
 =====================
 CPSSkins AJAX Toolkit
 =====================

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_contextualmenu_test.html
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_contextualmenu_test.html
  (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_contextualmenu_test.html
  Mon Jan  9 22:12:34 2006
@@ -22,7 +22,7 @@
 
     <!-- View: contextual menu widget -->
 
-    <cpsskins:view
+    <view
         widget="contextmenu"
         controller="controller"
         effects="fadein,fadeout">
@@ -54,7 +54,7 @@
 
       <item label="Delete" icon="delete.png" action="delete"
             visible="editable" confirm="Deleting, are you sure?"></item>
-    </cpsskins:view>
+    </view>
 
 
     <!-- data: {"copyable":true} -->

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_demo.html
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_demo.html
 (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_demo.html
 Mon Jan  9 22:12:34 2006
@@ -34,22 +34,22 @@
   -->
   <div id="editArea" style="border: 1px solid #ccc; padding: 2em; margin: 1em">
 
-  <cpsskins:view widget="contextmenu" controller="controller">
+  <view widget="contextmenu" controller="controller">
     <submenu label="Set perspective">
       <items action="perspective" choices="perspectives"></items>
     </submenu>
-  </cpsskins:view>
+  </view>
 
   <table style="width:100%">
     <tr style="vertical-align: top">
       <td colspan="3">
 
-        <cpsskins:view widget="panel" 
perspectives="page-designer,layout-designer"
+        <view widget="panel" perspectives="page-designer,layout-designer"
                         url="panel2.html">
-        </cpsskins:view>
+        </view>
 
-        <cpsskins:view widget="panel" perspectives="site-designer" 
url="panel4.html">
-        </cpsskins:view>
+        <view widget="panel" perspectives="site-designer" url="panel4.html">
+        </view>
 
       </td>
     </tr>
@@ -57,35 +57,35 @@
     <tr style="vertical-align: top">
       <td style="width: 20%">
 
-        <cpsskins:view widget="panel" perspectives="page-designer" 
url="panel4.html">
-        </cpsskins:view>
+        <view widget="panel" perspectives="page-designer" url="panel4.html">
+        </view>
 
-        <cpsskins:view widget="panel" 
perspectives="site-designer,layout-designer"
+        <view widget="panel" perspectives="site-designer,layout-designer"
                         url="panel3.html">
-        </cpsskins:view>
+        </view>
 
       </td>
       <td syle="width: 60%">
 
-        <cpsskins:view widget="panel" perspectives="page-designer" 
url="panel3.html">
-        </cpsskins:view>
+        <view widget="panel" perspectives="page-designer" url="panel3.html">
+        </view>
 
 
-        <cpsskins:view widget="panel" 
perspectives="site-designer,page-designer" url="panel1.html">
-        </cpsskins:view>
+        <view widget="panel" perspectives="site-designer,page-designer" 
url="panel1.html">
+        </view>
 
       </td>
       <td style="width: 20%">
 
-        <cpsskins:view widget="panel" 
perspectives="site-designer,layout-designer"
+        <view widget="panel" perspectives="site-designer,layout-designer"
                         url="panel4.html">
-        </cpsskins:view>
+        </view>
 
-        <cpsskins:view widget="panel" perspectives="site-designer" 
url="panel3.html">
-        </cpsskins:view>
+        <view widget="panel" perspectives="site-designer" url="panel3.html">
+        </view>
 
-        <cpsskins:view widget="panel" perspectives="page-designer" 
url="panel4.html">
-        </cpsskins:view>
+        <view widget="panel" perspectives="page-designer" url="panel4.html">
+        </view>
       </td>
 
     </tr>

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_navpanel_test.html
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_navpanel_test.html
        (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_navpanel_test.html
        Mon Jan  9 22:12:34 2006
@@ -43,41 +43,41 @@
     href="javascript:CPSSkins.switchPerspective('panels/panel1')">
   PANEL 1</a>
 
-  <cpsskins:view
+  <view
       widget="panel"
       perspectives="panels/panel1"
       url="panel1.html">
-  </cpsskins:view>
+  </view>
 
   <a class="header"
      href="javascript:CPSSkins.switchPerspective('panels/panel2')">
   PANEL 2</a>
 
-  <cpsskins:view
+  <view
       widget="panel"
       perspectives="panels/panel2"
       url="panel2.html">
-  </cpsskins:view>
+  </view>
 
   <a class="header"
     href="javascript:CPSSkins.switchPerspective('panels/panel3')">
   PANEL 3</a>
 
-  <cpsskins:view
+  <view
       widget="panel"
       perspectives="panels/panel3"
       url="panel3.html">
-  </cpsskins:view>
+  </view>
 
   <a class="header"
     href="javascript:CPSSkins.switchPerspective('panels/panel4')">
   PANEL 4</a>
 
-  <cpsskins:view
+  <view
       widget="panel"
       perspectives="panels/panel4"
       url="panel4.html">
-  </cpsskins:view>
+  </view>
 
 </body>
 

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_observer_test.html
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_observer_test.html
        (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_observer_test.html
        Mon Jan  9 22:12:34 2006
@@ -127,29 +127,29 @@
   -->
   <div id="data-provider">DATA PROVIDER
     <!-- tooltip view -->
-    <cpsskins:view widget="tooltip" showdelay="1500"></cpsskins:view>
+    <view widget="tooltip" showdelay="1500"></view>
 
     <!-- contextual menu view -->
-    <cpsskins:view widget="contextmenu">
+    <view widget="contextmenu">
       <submenu label="Size info">
         <items choices="sizeinfo"></items>
       </submenu>
-    </cpsskins:view>
+    </view>
   </div>
 
   <h2>progress bar widget</h2>
-  <cpsskins:view widget="progressbar" observe="data-provider"></cpsskins:view>
+  <view widget="progressbar" observe="data-provider"></view>
 
   <h2>counter widget</h2>
-  <cpsskins:view widget="counter" observe="data-provider"></cpsskins:view>
+  <view widget="counter" observe="data-provider"></view>
 
   <h2>menu widget</h2>
   <div id="info">
     Info
     <!-- menu view observing the data provider -->
-    <cpsskins:view widget="contextmenu" observe="data-provider">
+    <view widget="contextmenu" observe="data-provider">
       <items choices="sizeinfo"></items>
-    </cpsskins:view>
+    </view>
   </div>
 
   <p>

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_panel_test.html
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_panel_test.html
   (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_panel_test.html
   Mon Jan  9 22:12:34 2006
@@ -40,17 +40,17 @@
     <tr style="vertical-align: top">
       <td colspan="3">
 
-        <cpsskins:view widget="panel"
+        <view widget="panel"
             perspectives="page-designer,layout-designer"
             url="panel1.html"
             css="style1.css">
-        </cpsskins:view>
+        </view>
 
-        <cpsskins:view widget="panel"
+        <view widget="panel"
             perspectives="site-designer"
             url="panel2.html"
             css="style2.css">
-        </cpsskins:view>
+        </view>
 
       </td>
     </tr>
@@ -58,58 +58,58 @@
     <tr style="vertical-align: top">
       <td style="width: 20%">
 
-        <cpsskins:view
+        <view
             widget="panel"
             perspectives="page-designer"
             url="panel2.html">
-        </cpsskins:view>
+        </view>
 
-        <cpsskins:view widget="panel"
+        <view widget="panel"
             perspectives="site-designer,layout-designer"
             url="panel3.html">
-        </cpsskins:view>
+        </view>
 
       </td>
       <td syle="width: 60%">
 
-        <cpsskins:view
+        <view
             widget="panel"
             perspectives="page-designer"
             url="panel3.html">
-        </cpsskins:view>
+        </view>
 
-        <cpsskins:view
+        <view
             widget="panel"
             perspectives="page-designer"
             url="panel4.html">
-        </cpsskins:view>
+        </view>
 
       </td>
       <td style="width: 20%">
 
-        <cpsskins:view
+        <view
             widget="panel"
             perspectives="site-designer,layout-designer"
             url="panel4.html">
-        </cpsskins:view>
+        </view>
 
-        <cpsskins:view
+        <view
             widget="panel"
             perspectives="site-designer"
             url="panel2.html">
-        </cpsskins:view>
+        </view>
 
       </td>
 
     </tr>
   </table>
 
-  <cpsskins:view
+  <view
       widget="panel"
       perspectives="element-editor"
       url="panel5.html"
       css="popup.css">
-  </cpsskins:view>
+  </view>
 
   <div id="message"></div>
 

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_tooltip.html
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_tooltip.html
      (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_tooltip.html
      Mon Jan  9 22:12:34 2006
@@ -28,12 +28,12 @@
     <!-- data: {"hint":"Click here to close the document."} -->
     <a href="#">Close</a>
 
-    <cpsskins:view
+    <view
         widget="tooltip"
         effects="fadein,fadeout"
         showdelay="1000"
         hidedelay="500">
-    </cpsskins:view>
+    </view>
 
     <p>Show delay: 1s<br/>
        Hide delay: 500ms</p>
@@ -50,12 +50,12 @@
     <!-- data: {"hint":"Click here to close the file."} -->
     <a href="#">Close</a>
 
-    <cpsskins:view
+    <view
         widget="tooltip"
         effects="fadein,fadeout"
         showdelay="500"
         hidedelay="1000">
-    </cpsskins:view>
+    </view>
 
     <p>Show delay: 500ms<br/>
        Hide delay: 1s</p>

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/panel5.html
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/panel5.html    
    (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/panel5.html    
    Mon Jan  9 22:12:34 2006
@@ -20,43 +20,43 @@
   <table style="width: 100%; padding:1em">
     <tr>
       <td>
-        <cpsskins:view
+        <view
             widget="panel"
             effects="fadein"
             perspectives="element-editor/1"
             url="panel1.html">
-        </cpsskins:view>
+        </view>
       </td>
       <td>
-        <cpsskins:view
+        <view
             widget="panel"
             effects="fadein"
             perspectives="element-editor/1"
             url="panel2.html">
-        </cpsskins:view>
+        </view>
       </td>
       <td>
-        <cpsskins:view
+        <view
             widget="panel"
             effects="fadein"
             perspectives="element-editor/2"
             url="panel3.html">
-        </cpsskins:view>
+        </view>
       </td>
       <td>
-        <cpsskins:view
+        <view
             widget="panel"
             effects="fadein"
             perspectives="element-editor/2"
             url="panel4.html">
-        </cpsskins:view>
+        </view>
       </td>
       <td>
-        <cpsskins:view
+        <view
             widget="panel"
             perspectives="element-editor/3"
             url="panel6.html">
-        </cpsskins:view>
+        </view>
       </td>
     </tr>
     </tr>

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/unit/cpsskins_test.html
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/unit/cpsskins_test.html   
    (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/unit/cpsskins_test.html   
    Mon Jan  9 22:12:34 2006
@@ -49,17 +49,17 @@
   </div>
 
   <!-- panels -->
-  <cpsskins:view widget="panel" perspectives="1" url="p1.html"></cpsskins:view>
+  <view widget="panel" perspectives="1" url="p1.html"></view>
 
-  <cpsskins:view widget="panel" perspectives="1,2" 
url="p2.html"></cpsskins:view>
+  <view widget="panel" perspectives="1,2" url="p2.html"></view>
 
-  <cpsskins:view widget="panel" perspectives="3" url="p3.html"></cpsskins:view>
+  <view widget="panel" perspectives="3" url="p3.html"></view>
 
-  <cpsskins:view widget="panel" perspectives="1/2" 
url="p1_2.html"></cpsskins:view>
+  <view widget="panel" perspectives="1/2" url="p1_2.html"></view>
 
-  <cpsskins:view widget="panel" perspectives="2/3" 
url="p2_3.html"></cpsskins:view>
+  <view widget="panel" perspectives="2/3" url="p2_3.html"></view>
 
-  <cpsskins:view widget="panel" perspectives="2/3/1" 
url="p2_3_1.html"></cpsskins:view>
+  <view widget="panel" perspectives="2/3/1" url="p2_3_1.html"></view>
 
 </div>
 

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/unit/cpsskins_widgets_test.html
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/unit/cpsskins_widgets_test.html
       (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/unit/cpsskins_widgets_test.html
       Mon Jan  9 22:12:34 2006
@@ -35,7 +35,7 @@
   <!-- data: {"hint":"Tooltip hint for e1"} -->
   <div id="e1"></div>
 
-  <cpsskins:view widget="tooltip"></cpsskins:view>
+  <view widget="tooltip"></view>
 
 </div>
 
@@ -72,7 +72,7 @@
       Event.simulateMouse(e1, "mouseout");
       assert(!isVisible(widget));
 
-    }},
+    }}
 
   });
 

Modified: cpsskins/branches/jmo-perspectives/ui/framework/tests/unit/p3.html
==============================================================================
--- cpsskins/branches/jmo-perspectives/ui/framework/tests/unit/p3.html  
(original)
+++ cpsskins/branches/jmo-perspectives/ui/framework/tests/unit/p3.html  Mon Jan 
 9 22:12:34 2006
@@ -1,5 +1,5 @@
 <div id="p3">
 
-  <cpsskins:view widget="panel" perspectives="4" url="p4.html"></cpsskins:view>
+  <view widget="panel" perspectives="4" url="p4.html"></view>
 
 </div>
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to