Poll Plugin

Introduction

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.

Screenshots

CMS Example Document

This is an example standard poll document, as present in the demo project:

Poll Form

This is the example poll form from the demo project, using the standard HST component.

Poll Results

This is the example results view from the demo project, using the standard HST component.

Source Code and Demo

https://github.com/bloomreach/brxm/tree/brxm-14.7.3/poll

Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?

    We rely on cookies

    to optimize our communication and to enhance your customer experience. By clicking on the Accept and Close button, you agree to the collection of cookies. You can also adjust your preferences by clicking on Manage Preferences. For more information please see our Privacy policy.

    Manage cookies
    Accept & close

    Cookies preferences

    Accept & close
    Back