Class Comments

    • Constructor Detail

      • Comments

        public Comments​(String id)
        Parameters:
        id - wicket-id
      • Comments

        public Comments​(String id,
                        IModel<?> url)
        Parameters:
        id - wicket-id
        url - model for the URL for this Comments plugin. News feed stories on Facebook will link to this URL.
      • Comments

        public Comments​(String id,
                        String url)
        Parameters:
        id - wicket-id
        url - model for the URL for this Comments plugin. News feed stories on Facebook will link to this URL.
    • Method Detail

      • getNumPosts

        public int getNumPosts()
        Returns:
        the number of posts
        See Also:
        setNumPosts(int)
      • setNumPosts

        public void setNumPosts​(int numPosts)
        Parameters:
        numPosts - the number of comments to show by default. Default: 10. Minimum: 1