• swarnava
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 0
    Replies
I am writing a trigger which call ConnectApi.ChatterFeeds.getLikesForComment to get likes for a comment.But getting 
ConnectApi.NotFoundException: Resource not found error.Please help.
 

We have an actionfunction which oncomplete calls a javascript named "javascript:displayit();"

But the problem we are facing is after execution the actionfunction a span is generated in the rerender area of the actionfunction

 

<span id="org.ajax4jsf.oncomplete">javascript&colon;displayit();</span>

when inspected with firebug.

For this span the javascript&colon;displayit(); is showing in page after execution of the action function and rerendering the rerender area specified in actionfunction.