No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
Step 3: Display the Component in a Visualforce Page
The third step is to create a Visualforce page called DoubleGroupFeed that contains two instances of the GroupFeed
custom component we created in step 2.
- In the Developer Console, click .
- Enter the name DoubleGroupFeed and click OK.
- Copy this code and paste it into the DoubleGroupFeed page,
replacing the existing code:
1swfobject.registerObject("clippy.codeblock-0", "9");<apex:page sidebar="false" > 2 <!-- Display two GroupFeed components side by side. --> 3 <div id="column1-wrap" style="float:left; width:50%; background-color:AliceBlue"> 4 <div id="column1"><c:GroupFeed /></div> 5 </div> 6 <div id="column2" style="float:right; width:50%; background-color:LightGray"><c:GroupFeed /></div> 7</apex:page>The <div> HTML elements create two vertical columns on the page.
- Click .