done


On Tue, Mar 4, 2014 at 11:26 AM, Martin Grigorov
<notifications@github.com>wrote:

> In
> bootstrap-core/src/main/java/de/agilecoders/wicket/core/markup/html/bootstrap/button/BootstrapClientSideLink.java:
>
> > +     *
> > +     * @param id    The component id
> > +     * @param model mandatory parameter
> > +     * @param type  the type of the button
> > +     *  @param onclickCode  The code to execute on click.
> > +     */
> > +    public BootstrapClientSideLink(String id, IModel<T> model, Buttons.Type type, IModel<String> onclickCode) {
> > +        super(id, model);
> > +
> > +        setOutputMarkupId(true);
> > +        this.onclickCode = onclickCode;
> > +        add(buttonBehavior = new ButtonBehavior(type, Buttons.Size.Medium));
> > +        add(icon = newIcon("icon"));
> > +        add(splitter = newSplitter("splitter"));
> > +
> > +        add( new AttributeAppender("href", getTarget()));
>
> It is prefered to be done in #onComponentTag() to keep this component as
> light weight as possible.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/l0rdn1kk0n/wicket-bootstrap/pull/338/files#r10249502>
> .
>



-- 
Regards - Ernesto Reinaldo Barreiro