Author: jmorliaguet Date: Mon Feb 20 01:33:56 2006 New Revision: 2435 Added: cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_dragdrop_test.html (contents, props changed) cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/draggable.html (contents, props changed) Log:
- drag and drop tests Added: cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_dragdrop_test.html ============================================================================== --- (empty file) +++ cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_dragdrop_test.html Mon Feb 20 01:33:56 2006 @@ -0,0 +1,50 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xml:lang="en" lang="en" + xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>CPSSkins Unit test file</title> + <meta http-equiv="content-type" content="text/html; charset=utf-8" /> + <script src="../../prototype.js" type="text/javascript"></script> + <script src="../../json.js" type="text/javascript"></script> + <script src="../../ctal.js" type="text/javascript"></script> + <script src="../../cpsskins.js" type="text/javascript"></script> + <link rel="stylesheet" href="../../cpsskins.css" type="text/css" /> + + <style stype="text/css"> + </style> + +</head> +<body> + + <h1>CPSSkins: drag-and-drop</h1> + + <ins class="controller"> + {"id": "dnd", + "type": "drag-and-drop", + "action": "displayInfo" + } + </ins> + + <ins class="model"> + {"id": "dummy"} + </ins> + + <ins class="view"> + {"widget": { + "template": "draggable.html" + }, + "model": "dummy", + "controllers": ["dnd"] + } + </ins> + + <script type="text/javascript"> + function displayInfo(event) { + } + + CPSSkins.registerHandlers({'displayInfo': displayInfo}); + </script> + +</body> +</html> Added: cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/draggable.html ============================================================================== --- (empty file) +++ cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/draggable.html Mon Feb 20 01:33:56 2006 @@ -0,0 +1,5 @@ + +<div style="border: 1px solid #ccc; padding: 1em; position: absolute; + background-color: #ffc; width: 300px"> + DRAG ME +</div> -- http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins