Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/sql/82.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Twitter bootstrap 3 将SSJS操作添加到引导程序_Twitter Bootstrap 3_Xpages_Xpages Ssjs - Fatal编程技术网

Twitter bootstrap 3 将SSJS操作添加到引导程序

Twitter bootstrap 3 将SSJS操作添加到引导程序,twitter-bootstrap-3,xpages,xpages-ssjs,Twitter Bootstrap 3,Xpages,Xpages Ssjs,我添加了一个简单的药丸列表作为导航: <div class="container-fluid"> <ul class="nav nav-pills"> <li role="presentation" class="active"> <a href="#">Profiles</a> </li> <li

我添加了一个简单的药丸列表作为导航:

<div class="container-fluid">
        <ul class="nav nav-pills">
            <li role="presentation" class="active">
                <a href="#">Profiles</a>
            </li>
            <li role="presentation">
                <a href="#">Applications</a>
            </li>
            <li role="presentation">
                <a href="#">Automation</a>
            </li>
        </ul>
    </div><!-- COntainer -->

如果我只想添加一个href链接,那么它也可以正常工作,但我需要在单击药丸时运行一些ssj。只是开始引导过程,所以这可能是不可行的。我已经搜索过了,但还没有找到如何做到这一点。 谢谢你的帮助

谢谢

使用
代替HTML

您在评论中询问了如何将
data toggle=“tab”
添加到渲染


您是否尝试过用xp:link标记替换HTML锚定标记?将值(destination/href)设置为#,并使用SSJS eventHandler为其提供一个onClick事件。只要把它放在李里,你就可以走了。克努特-像往常一样清晰,直截了当,砰的一声!我知道一定有办法,但就是找不到方法的参考。你的答案很好。我有一个跟进。在账单中,我扩展了我的答案,在呈现的标签中添加了
data toggle=“tab”