1 ##parameters=title, text, **kw
6 try : talkback
= context
.talkback
7 except : talkback
= context
.portal_discussion
.getDiscussionFor(context
)
8 replyId
= talkback
.createReply(title
=title
, text
=text
)
9 return context
.setStatus(replyId
, 'Comment added.')
11 return context
.setStatus(False, 'You must enter a title and body.')