Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- Chatter Development
- :
- I can't rerender a chatter component
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
I can't rerender a chatter component
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-28-2012 05:53 AM
Hi,
We've tryed the <chatter:feed> component inside a custom apex page and we are having issues with the "rerender" method, the first time that the object is rendered it shows all the feeds but when we try to call to the method <apex:actionFunction> passing the id of the chatterfeed object to the rerender parameter it doesn't retrieve all the feeds from a group.
Here is the code:
Visualforce page:
<apex:page controller="Elogos_ChatterController" sidebar="false" showheader="false">
<a href="#" onclick="UpdateChatterFeed('xxxx');">Test Chatter Group</a>
<apex:form >
<apex:actionFunction name="UpdateChatterFeed" action="{!DoSomething}" rerender="chatterFeed" >
<apex:param name="entityId" assignTo="{!EntityId}" value="" />
</apex:actionFunction>
</apex:form>
<chatter:feed id="chatterFeed" feedItemType="TextPost" showPublisher="true" rendered="true" entityId="{!EntityId}"/>
</apex:page>
Controller:
public with sharing class Elogos_ChatterController {
public String EntityId{get;set;}
public Elogos_ChatterController (){
this.EntityId = 'xxxx'; // Chatter Group Id
}
public PageReference DoSomething(){
return (null);
}
}
I hope your help.
Regards.
José Luis Almazán.
Solved! Go to Solution.
Re: I can't rerender a chatter component
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-28-2012 06:13 AM - edited 09-28-2012 06:14 AM
Hello José Luis,
Try surrounding the <chatter:feed> component by a <apex:outputPanel> component, something like:
<apex:outputPanel id="chatterFeed" layout="block">
<chatter:feed feedItemType="TextPost" showPublisher="true" rendered="true" entityId="{!EntityId}"/>
</apex:outputPanel>
Espero haberte ayudado! ;)
Valnavjo
Re: I can't rerender a chatter component
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-28-2012 07:18 AM
Thanks Josep.
I already tried that option before and the result was even worse. Some feeds are rendered wrong.
Gracias de todas formas! ;-)
José Luis.
Re: I can't rerender a chatter component
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-28-2012 04:33 PM
Hi José Luis,
This issue will be fixed in the upcoming patch, which will be released to customers by the end of next week. Please post here if you continue to see an issue.
Gracias por su paciencia!
Re: I can't rerender a chatter component
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-30-2012 10:41 PM
Hi Jie.
Thanks for the information.
I'll be waiting.
Regards.
José Luis Almazán.
Re: I can't rerender a chatter component
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-11-2012 01:08 AM
Hi Jie.
Thanks, this issue was solved with the Winter '13 Release.

