留言板

How to use Bootstrap buttonGroup with AlloYUI ?

thumbnail
Eric COQUELIN,修改在9 年前。

How to use Bootstrap buttonGroup with AlloYUI ?

Expert 帖子: 254 加入日期: 13-11-3 最近的帖子
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,修改在9 年前。

RE: How to use Bootstrap buttonGroup with AlloYUI ?

New Member 帖子: 3 加入日期: 14-7-29 最近的帖子
I was having the same issue
thumbnail
Zeno Rocha,修改在9 年前。

RE: How to use Bootstrap buttonGroup with AlloYUI ?

New Member 帖子: 11 加入日期: 12-6-29 最近的帖子