I am trying to create an application in xPages using bootstrap 3 instead of using the bootstrap4xpages extension library.

How do I dynamically have a nav show the active page in xPages? I would like to use the nav as a custom control.

Alternatively I guess I could style the existing application navigator with bootstrap styles to get the same functionality.

有帮助吗?

解决方案

This was asked a while back and somehow I missed it. But if you are still using your manual implementation of bootstrap 3, then I suggest using a repeat control for your menu items or do them manually and compute the style class as Tim suggested. In order to provide a more detailed answer we need more information about your use case and what you're trying to accomplish.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top