Show human-readable error messages when KSS timeouts or errors occur
Project description
Introduction
============
KSS does not provide comforting error messages when a timeout occurs.
collective.kssmessages displays an overlayed div when an error occurs. The
possible causes are explained in non-technical terms.
Usage
=====
Run the collective.kssmessages profile in portal_setup.
To make use of the error handler you will need to specify an error action in
your KSS rule sheet, eg.
form#myform input[type="submit"]:click {
evt-click-preventdefault: True;
action-server: aMethod;
aMethod-error: kssmessages-error;
}
Changelog
=========
0.1
---
* Initial release
============
KSS does not provide comforting error messages when a timeout occurs.
collective.kssmessages displays an overlayed div when an error occurs. The
possible causes are explained in non-technical terms.
Usage
=====
Run the collective.kssmessages profile in portal_setup.
To make use of the error handler you will need to specify an error action in
your KSS rule sheet, eg.
form#myform input[type="submit"]:click {
evt-click-preventdefault: True;
action-server: aMethod;
aMethod-error: kssmessages-error;
}
Changelog
=========
0.1
---
* Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file collective.kssmessages-0.1.tar.gz
.
File metadata
- Download URL: collective.kssmessages-0.1.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a7b238f91da3b39e1a5d817533128347024eff8e0343fa8035f71e5f7cbf2ca |
|
MD5 | fb99fec84b97ab5f476d4f0a7e4431fa |
|
BLAKE2b-256 | 1e2318bc651f216eb373cfd4c184e00270122527353ff6dcb512fc4934bf4616 |
File details
Details for the file collective.kssmessages-0.1-py2.4.egg
.
File metadata
- Download URL: collective.kssmessages-0.1-py2.4.egg
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31af1eb877a3a4897b42a0eb818f86228b0a34a5ed3cba9dfc18a5aea7d0b3c8 |
|
MD5 | e350f0730db0c26a2307666c0a4d8298 |
|
BLAKE2b-256 | 9aaa184cfdc8543972ef59355e7d652e6c7bc66ccdc11af64b05cf9512788f0e |