Dojo
Articles about Dojo and Django Dojo Integration
Using Dojo Widgets in Django
Submitted by mla on Sun, 02/17/2008 - 13:43Using Dojo Widgets in DjangoDojoWidgetsInherit from the Django widget and override the constructor. I have written a bunch of dojo widgets, mostly for text input. These widgets are:
- DojoTextWidget
- DojoRegexdTextWidget
- DojoFilterSelectWidget
- DojoTextareaWidget
These widgets accept, beside the standard django keyword parameters the following keyword parameters:
- required
- If set to "True", the widget will signal an error if the input field is empty
- promptMessage
- This message is displayed as a tooltip, if the input field is focused.
- regExp
- Only valid voer the DojoRegexdTextWidget
DojoFormThe package is currently not available as a standalone package, but i'm working on it. In the meantime you can take a view on the source code using the ITS repository. Documentation, screeshots and other useful things will follow.
