|
Installation depends on the portal where you want to install this portlet. Please consult the portal vendor's documentation. Below is the first screen after portlet has been installed and placed in a portal page. 
Only portal administrators should be able to create new votes. Clicking Edit-icon opens Fast Vote Portlet in EDIT-mode, as shown below. 
Question This is the vote question. # Choices Choices of the vote. # Vote format Choices are displayed in either links or radio buttons. # Show publish time If checked, vote creation time is displayed in VIEW-mode with the vote. # Allow multiple answers If checked, any number of votes can given by single browser. If not, only one vote per browser is allowes. This uses cookie to determine if browser has voted and cookie is discarded when browser is shut down. The vote is published by clicking Submit-button. Several pictures below show how published votes look like depending on choices made. Radio buttons, don't show publish time and don't allow multiple answers. 
After user has selected the vote and clicked Vote-button, a results page is displayed. 
Links, show publish time and allow multiple answers (this is a new vote, vote options can not be changed while vote is active). 
After user has clicked the vote, a results page is displayed. Note that link Show vote is enabled because multiple answers are allowed. 
When the portal administrator wishes to end vote he/she goes to EDIT-mode and ends the active vote. 
Clicking the End vote button ends the current vote and opens EDIT-mode page where administrator can create a new vote. In the VIEW-mode there is link Previous votes. This opens a page where we can see results of all previous votes. 
Votes and results are stored in XML file or MySql database. MySql database must be created separately and a JDBC DataSource must be defined so that portlet finds it within portal. XML file is stored in the local file system. Please consult the source code for detailed information about the implementation.
|