Back to index

plone3  3.1.7
config.py
Go to the documentation of this file.
00001 
00002 from kss.base.plugin import Plugin
00003 from kss.demo.resource import (
00004     KSSDemo,
00005     KSSSeleniumTestDirectory,
00006     )
00007 
00008 
00009 ##################
00010 #
00011 #
00012 # THIS MODULE IS USED BY KSS.ZOPE DURING TRANSITION FROM KSS.CORE TO KSS.ZOPE
00013 #
00014 #
00015 ##################
00016 class CoreDemos(Plugin):
00017 
00018     zope_demos = (
00019         ##disable address book because tbody problem needs to be fixed on IE
00020         ##KSSDemo('', 'Applications', "addressbook.html", "Addressbook"),
00021         KSSDemo('', 'Applications', "typewriter.html", "Typewriter"),
00022         KSSDemo('', 'Applications', "snake.html", "Snake"),
00023 ##      KSSDemo('', '',  "draganddrop.html", "Scriptaculous drag and drop"),
00024         KSSDemo('', 'Selectors', 'selectors.html', 'Parent node selector'),
00025         KSSDemo('', 'Core events', "kss_evt_preventbubbling.html", "Prevent bubbling KSS event parameter"),
00026         KSSDemo('', 'Core events', "kss_keyevents.html", "Key events"),
00027         KSSDemo('', 'Commands/Actions', "ca_focus.html", "Focus"),
00028         KSSDemo('', 'Commands/Actions', "actions.html", "Class actions: toggle, add, remove"),
00029         KSSDemo('', 'Commands/Actions', "ca_cancel.html", "action-cancel"),
00030         KSSDemo('', 'Commands/Actions', "ca_kssattr.html", "setKssAttribute"),
00031         KSSDemo('', 'History', "basic_commands.html", "Change tag content"),
00032         KSSDemo('', 'History', "two_selects.html", "Two selects"),
00033         KSSDemo('', 'History', "autoupdate.html", "Auto update"),
00034         KSSDemo('', 'History', "inline_edit.html", "Inline edit"),
00035         KSSDemo('', 'History', "cancel_submit.html", "Cancel Submit Click"),
00036         KSSDemo('', 'History', "tree.html", "Tree"),
00037         KSSDemo('', 'History', "more_selectors.html", "More complex selectors"),
00038         KSSDemo('', 'History', "two_select_revisited.html", "Master-slave selects revisited"),
00039         KSSDemo('', 'History', "form_submit.html", "Form submit"),
00040         KSSDemo('', 'History', "effects.html", "Effects"),
00041         KSSDemo('', 'History', "error_handling.html", "Error handling"),
00042         KSSDemo('', 'History', "preventdefault.html", "Preventdefault (a.k.a. Safari workarounds)"),
00043         KSSDemo('', 'History', "html_inserts.html", "HTML insertions (Change tag content returns)"),
00044         KSSDemo('', 'History', "client-server-protocol", "Client server protocol"),
00045         # XXX this should go to the other plugin wuth all its stuff
00046         KSSDemo('Effects', '', "effects.html", "Effects"),
00047         )
00048 
00049     # directories are relative from the location of this .py file
00050     zope_selenium_testsuites = (
00051         KSSSeleniumTestDirectory('selenium_tests'),
00052         )