What is the poll plug-in?
The poll plug-in allows you to create poll documents in the CMS. It also provides poll functionality in the site part by means of an HST component and a reusable provider (delegate) class that contains the following functionality:
- Get the poll document in a parameterized repository location
- Provide a bean for this poll upon request from the view layer
- Vote on a poll, storing the votes in repository outside the document tree in /polldata.
- Cookies are used to prevent voting multiple times.
CMS Example Document
This is an example standard poll document, as present in the demo project:
This is the example poll form from the demo project, using the standard HST component.
This is the example results view from the demo project, using the standard HST component.