Hi,

On Sat, 2009-09-05 at 14:07 +0530, Suresh V. wrote:
> Has anyone implemented this?

you can override the class of ConversationView.

See Product.Ploneboard.browser.comment.py:

class ConversationView(CommentView):
    """A view component for querying conversations.
    """

[...]
    def comments(self):
        batchSize = 30
        batchStart = int(self.request.get('b_start', 0))
        numComments = self.context.getNumberOfComments()
        return Batch(self._getComments, numComments, batchSize,
batchStart, orphan=1)
[...]

Hope this helps.


_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to