Forums de discussion

How to use Bootstrap buttonGroup with AlloYUI ?

thumbnail
Eric COQUELIN, modifié il y a 9 années.

How to use Bootstrap buttonGroup with AlloYUI ?

Expert Publications: 254 Date d'inscription: 03/11/13 Publications récentes
Hi,

I try to define a dropdown button from a JSF page. As I noticed that there are no components with Liferay Faces (there are with Primefaces - but would like to avoid them), I check on Bootstrap as it is natively supported from version 6.2

http://liferay.github.io/alloy-bootstrap/components.html#buttonDropdowns

<div class="btn-group">
            <button class="btn btn-info">Info</button>
            <button class="btn btn-info dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
            <ul class="dropdown-menu">
                <li><a href="#">Action</a></li>
                <li><a href="#">Another action</a></li>
                <li><a href="#">Something else here</a></li>
                <li class="divider"></li>
                <li><a href="#">Separated link</a></li>
            </ul>
        </div>


But as javascript coming with Bootstrap is not natively included into Liferay, we should use AlloYUI. The latter proposes a toggler.
http://alloyui.com/examples/toggler/

Unfortunately, I was not able to make both of them working together. Can anyone help me?

Thanks.
thumbnail
Bradley Wood, modifié il y a 9 années.

RE: How to use Bootstrap buttonGroup with AlloYUI ?

New Member Publications: 3 Date d'inscription: 29/07/14 Publications récentes
I was having the same issue
thumbnail
Zeno Rocha, modifié il y a 9 années.

RE: How to use Bootstrap buttonGroup with AlloYUI ?

New Member Publications: 11 Date d'inscription: 29/06/12 Publications récentes