Custom Widget for Wakanda
The wakandaratings widget is based on the rateit library, for more details please see http://rateit.codeplex.com/
This wakandaratings widget has the following properties:
- max: the max wakandaratings value (default: 5).
- step: step size (default: 1).
- value: current rating value (default: 2).
- resetable: show a reste button (default: true).
- readOnly: set the widget as read-only (default: false).
This wakandaratings widget has an events:
- change: fired when the user rates something.
The wakandaratings widget allows you to easily add rating feature to your Wakanda application, e.g: rate article, products, reviews...
Model
1. Create a datasource D
2. Add attribute string S1
3. save your model.
Custom Widget
1. Drag the widget to your Wakanda page.
2. a box will appear.
3. Drop the datasource string attribute S1 inside the widget or change the property's panel Datasource "Source", and fill in the Max Value.
4. save your page
5. run your page
6. wakandaratings Widget will appear.
For more information on how to install a custom widget, refer to Installing a Custom Widget.
For more information about Custom Widgets, refer to Custom Widgets in the Architecture of Wakanda Applications manual.