Author: reebalazs
Date: Wed Dec 5 12:35:35 2007
New Revision: 49373
Modified:
kukit/kss.core/trunk/kss/core/plugins/core/demo/demoview.py
kukit/kss.core/trunk/kss/core/plugins/core/demo/error_handling.kss
Log:
Further fix the error demo
Modified: kukit/kss.core/trunk/kss/core/plugins/core/demo/demoview.py
==============================================================================
--- kukit/kss.core/trunk/kss/core/plugins/core/demo/demoview.py (original)
+++ kukit/kss.core/trunk/kss/core/plugins/core/demo/demoview.py Wed Dec 5
12:35:35 2007
@@ -155,7 +155,7 @@
if act == 'error':
raise Exception, 'We have an error here.'
elif act == 'explicit':
- raise KssExplicitError, 'Explicit error raised.'
+ raise KSSExplicitError, 'Explicit error raised.'
elif act == 'empty':
# Just do nothing, we want to return a response with no commands.
# This is valid behaviour, should raise no error, however
Modified: kukit/kss.core/trunk/kss/core/plugins/core/demo/error_handling.kss
==============================================================================
--- kukit/kss.core/trunk/kss/core/plugins/core/demo/error_handling.kss
(original)
+++ kukit/kss.core/trunk/kss/core/plugins/core/demo/error_handling.kss Wed Dec
5 12:35:35 2007
@@ -24,11 +24,9 @@
*/
.handled:click {
- errTest-error: executeCommand;
- executeCommand-commandSelector: 'update-status';
- executeCommand-commandSelectorType: htmlid;
- executeCommand-commandName: replaceInnerHTML;
- executeCommand-html: '<b style="color:red;">Error handler activated.</b>';
+ errTest-error: replaceInnerHTML;
+ replaceInnerHTML-kssSelector: htmlid('update-status');
+ replaceInnerHTML-html: '<b style="color:red;">Error handler
activated.</b>';
}
/* Spinner control
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins