Class Facepile

    • Constructor Detail

      • Facepile

        public Facepile​(String id,
                        IModel<?> urlModel)
        Parameters:
        id - wicket-id
        urlModel - model for the URL of the page. The plugin will display photos of users who have liked this page.
      • Facepile

        public Facepile​(String id,
                        String url)
        Parameters:
        id - wicket-id
        url - the URL of the page. The plugin will display photos of users who have liked this page.
    • Method Detail

      • setMaxRows

        public void setMaxRows​(int numRows)
        the maximum number of rows of faces to display. The XFBML version will dynamically size its height; if you specify a maximum of four rows of faces, but there are only enough friends to fill two rows, the XFBML version of the plugin will set its height for two rows of faces. Default: 1.
        Parameters:
        numRows - the number of rows
      • setSize

        public void setSize​(Facepile.Size size)
        Parameters:
        size - size of the photos and social context. Default size: small.