---
schema_version: "1"
id: 66df72ac3e912acca53a7c00a4c91ac2dbc377b5df15b99f9e7c43e0b5263158
title: apex:vote
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/salesforce-pages-developers-guide/guides/pages/components/pages-compref-vote.md
canonical_url: https://developer.salesforce.com/docs/platform/salesforce-pages-developers-guide/guide/pages-compref-vote.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: bd437a5049ba54c048fa913a591f6d711d1a0c19488fe46cdf9e484a7710f3d0
products:
  - Visualforce Developer Guide
  - Platform Developer Content
---

# apex:vote

A component that displays the vote control for an object that supports it.

## Attributes

|Attribute Name|Attribute Type|Description|Required?|API Version|Access|
|--------------|--------------|-----------|---------|-----------|------|
|`id`|String|An identifier that allows the component to be referenced by other components in the page.| |14.0|global|
|`objectId`|String|An identifier for the object to vote on.|Yes|26.0||
|`rendered`|Boolean|A Boolean value that specifies whether the component is rendered on the page. If not specified, this value defaults to true.| |14.0|global|
|`rerender`|String|The area(s) of the page that are refreshed when the action is taken.| |43.0||

