Ok. Never completely understood why "generics" were useful on things like
Links: most of the time they are on my way. Will change them to <Void> and
push.


On Wed, Feb 19, 2014 at 2:56 PM, Martin Grigorov
<notifications@github.com>wrote:

> In
> bootstrap-samples/src/main/java/de/agilecoders/wicket/samples/components/basecss/ButtonGroups.java:
>
> > @@ -67,7 +67,7 @@ public ButtonGroups(final String markupId) {
> >       * @return The new button instance
> >       */
> >      private AbstractLink createIconButton(Icon icon) {
> > -        BootstrapBookmarkablePageLink button = new BootstrapBookmarkablePageLink(ButtonList.getButtonMarkupId(), ComponentsPage.class, Buttons.Type.Default);
> > +        BootstrapBookmarkablePageLink<ComponentsPage> button = new BootstrapBookmarkablePageLink<ComponentsPage>(ButtonList.getButtonMarkupId(), ComponentsPage.class, Buttons.Type.Default);
>
> There is no need to extend Page.
> I've changed it locally to <Void> and all is fine.
>
> T is the type of the Link's model object.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/l0rdn1kk0n/wicket-bootstrap/pull/329/files#r9865046>
> .
>



-- 
Regards - Ernesto Reinaldo Barreiro