Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,14 @@ Create a “generic related list” Visualforce component that can be configured

Requirements
============
<p>Create a Visualforce component based upon the following requirements for input the parameters. There may be more parameters needed then the ones below so feel free add as many as needed.</p> <ul><li>- Object Name (in our case &quot;Opportunity&quot;)</li><li>- Collection of field meta data: (will display as columns on the list)</li><li> --- field name (string)</li><li> --- sortable (true/false)</li><li> --- sort direction (asc/desc)</li><li> --- sort order (int)</li><li>- Where clause - a string that is applied to the dynamically generated SOQL (e.g., “Active__c = true”). Make sure you prevent SOQL injections.</li><li>Component should provide a function to determine how many rows it is displaying.</li><li>- Component should provide paging if resultset is beyond a certain number of records. It will need a parameter to determine how many rows the data table should display. For example, page after 5, 10, 25, 50 results.</li></ul> <p><br>The components can use either a standard controller, custom controller or controller extension.</p>
Create a Visualforce component based upon the following requirements for input the parameters. There may be more parameters needed then the ones below so feel free add as many as needed.

- Object Name (in our case Opportunity)
- Collection of field meta data: (will display as columns on the list)
--- field name (string)
--- sortable (true/false)
--- sort direction (asc/desc)
--- sort order (int)
- Where clause - a string that is applied to the dynamically generated SOQL (e.g., “Active__c = true”). Make sure you prevent SOQL injections.
- Component should provide a function to determine how many rows it is displaying.
- Component should provide paging if resultset is beyond a certain number of records. It will need a parameter to determine how many rows the data table should display. For example, page after 5, 10, 25, 50 results. The components can use either a standard controller, custom controller or controller extension.