Author: jmorliaguet Date: Sat Feb 11 17:51:12 2006 New Revision: 2357 Modified: cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_widget_templates.html cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/template.pt Log:
- test updates Modified: cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_widget_templates.html ============================================================================== --- cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_widget_templates.html (original) +++ cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_widget_templates.html Sat Feb 11 17:51:12 2006 @@ -23,6 +23,14 @@ .frame h2 { border-bottom: 1px solid #000; } + + table.fancy { + border: 1px solid #666; + } + + table.fancy tr { + border-bottom: 1px solid #666; + } </style> </head> @@ -39,7 +47,11 @@ {"id": "template-data", "data": { "test": { - "title": "Hello world" + "title": "Hello world", + "items": [ + {"title": "zope", "url": "http://www.zope.org"}, + {"title": "z3lab", "url": "http://www.z3lab.org"} + ] } }, "storage": { @@ -57,4 +69,4 @@ </ins> </body> -</html +</html> Modified: cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/template.pt ============================================================================== --- cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/template.pt (original) +++ cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/template.pt Sat Feb 11 17:51:12 2006 @@ -1,8 +1,14 @@ - <div class="frame"> <h2 ctal:content="test/title">The title comes here</h2> <p>This paragraph comes from the template.</p> + <ul> + <li ctal:repeat="item test/items"> + <a ctal:content="item/title" + ctal:attributes="href item/url">item</a> + </li> + </ul> + </div> -- http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins