Newer Version Available
IdeaStandardSetController Class
IdeaStandardSetController objects offer Ideas-specific functionality in addition to what is
provided by the StandardSetController.
Namespace
ApexPages
Usage
In addition to the method listed above,
the IdeaStandardSetController class inherits the methods associated with the StandardSetController.
Instantiation
An IdeaStandardSetController object cannot be instantiated. An instance can be obtained through a constructor of a custom extension controller when using the standard list controller for ideas.
Example: Displaying a Profile Page
The following
example shows how an IdeaStandardSetController object can be used
in the constructor for a custom list controller:
The following Visualforce markup shows how the IdeaStandardSetController example shown
above and the <ideas:profileListOutputLink> component can display a profile page that lists the recent replies,
submitted ideas, and votes associated with a user. Because this example
does not identify a specific user ID, the page automatically shows
the profile page for the current logged in user. This page must be
named profilePage in order for this example
to work:
In the previous example, the <ideas:detailoutputlink> component
links to the following Visualforce markup that displays the detail page for a specific idea. This
page must be named viewPage in order for this
example to work:
Example: Displaying a List of Top, Recent, and Most Popular Ideas and Comments
The following example shows how
an IdeaStandardSetController object can be used in the constructor
for a custom list controller:
The following Visualforce markup shows how the IdeaStandardSetController example shown
above can be used with the <ideas:listOutputLink> component to display a list of recent, top, and most popular ideas
and comments. This page must be named listPage in order for this example to work:
In the previous example, the <ideas:detailoutputlink> component
links to the following Visualforce markup that displays the detail page for a specific idea. This
page must be named viewPage.