+ Start a Discussion
Martin YMartin Y 

Chatter:feedwithfollowers issue



We have an issue when using the chatter component.  I have a custom VF page, containing a contact record plus a new "note" field and a "save note" button.  The button is simply calling a class action.  The page works fine without the chatter component.  The chatter feed functionally works just fine, but when we show feed and click in the "write something" box (don't press share), then click back to the new field, the save button doesn't fire the action.  The action does fire if we don't click in the feed "write something" field.  Incidentally, the button will fire the onclick activity.  It doesn't matter whether I remove the onclick or not, the action doesn't fire.


Anyone else had this problem and resolved it?


Relevant sections of code:

<chatter:FeedWithFollowers entityId="{!Contact.Id}"/>


<apex:pageBlockButtons location="Bottom">
    <apex:commandButton action="{!SaveNote}" value="Save Note" onclick="return validate('Save')"/>
    <apex:commandButton action="{!AddNoteAttachment}" value="Add Attachments" onclick="return validate('Attachment')"/>

 Many thanks!