- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我在开发 Web 应用程序时使用了 Bootstrap。现在我已经开始学习 BootsFaces。在学习的过程中,我想到的第一个问题是
What is Exactly difference between Bootstrap and BootsFaces? and what are their pros and cons over each other?
我搜索了这些答案,但没有任何答案可以澄清我的疑问。请帮助我解决这些问题。
最佳答案
BootsFaces 是一个 JSF使用 Bootstrap 生成 HTML 的组件库。 BootsFaces 允许您在 JSF 应用程序中轻松地使用 Bootstrap。将它们进行比较就好像将红色油漆与红色油漆板进行比较一样。
来自 BootsFaces showcase 的一些信息关于这个主题,特别是关于布局:
Why BootsFaces? Why not using Bootstrap natively?
BootsFaces takes full advantage of Bootstrap's Grid system while maintaining the benefits of being a JSF framework. Actually, we believe it's more concise and more expressive than programming Bootstrap natively. Convince yourself: inspect the source code of the demo in your browser's source code view. After reformatting, the form is 81 lines. The JSF source is is 45 lines.
BootsFaces being a JSF framework means that you can leverage Bootstrap's layout feature using - for example - the JSF templating system and JSF's conditional rendering to achieve and maintain very complex layouts without much effort.
This website is an example itself: it uses a page template with
ui:insert
andui:include
and the pages areui:compositions
.
另见:
关于jsf - Bootsfaces 与 Bootstrap,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51998007/
今天我正在处理我们的学校项目申请。我们的 Bootsfaces 没有问题,但突然间我似乎无法显示组件(见图)。我不知道是什么导致了这种意外行为,因为它以前有效。 .xhtml 页面没有任何更改。 Ch
我在使用带有 ajax 的 bootsfaces inputText 时发现了一个问题。我使用的是 JSF 2.2、Bootsfaces 0.8.1 和 Primefaces 5.3。 我正在尝试将日
我需要在数据表列中动态显示图像,我的图像位于本地文件夹中,如何在 Bootsfaces 数据表中做到这一点? 感谢您的帮助! 最佳答案 只需在 b:dataTableColumn 中嵌套 HTML i
我在开发 Web 应用程序时使用了 Bootstrap。现在我已经开始学习 BootsFaces。在学习的过程中,我想到的第一个问题是 What is Exactly difference betwe
我在开发 Web 应用程序时使用了 Bootstrap。现在我已经开始学习 BootsFaces。在学习的过程中,我想到的第一个问题是 What is Exactly difference betwe
我需要重置表单字段并清除加载时的表单值。然而我用了 - public void refresh() { FacesContext context = FacesContext.getC
我正在使用 PrimeFaces 和 BootsFaces 库。我在 bootsfaces 模态中有一个小表格。该表格用于更改系统参数,并且对于一个特定参数有一个 改变它的值(value)。我的问题是
我是 JSF 的新手,不知道如何在我的 Bootsfaces 导航栏中为我的图像添加链接。 图像文件夹中。 最佳答案 brandImg 只是要显示的图像的 URL。它可以是相对的也
我有一个由 BootFaces JSF 生成的登录表单,但我似乎无法让跨度与输入字段在中间垂直对齐。 这是登录表单当前的样子: 这是为这个特定表单生成的 HTML:
如何在 BootsFaces 中使用“pull-right”类?在他们的文档中,他们正在使用它,但代码实现
我正在使用 BootsFaces 在 JSF 元素中进行响应式 UI 渲染。 BootsFaces 的一切看起来都很酷。有了这个,UI 设计就容易多了。但与此同时,我发现可能没有足够的灵 active
我正在一个使用 primefaces 的 jsf 项目中工作,我们决定将其与 Bootsfaces 集成,因为它们漂亮的组件,但是当我们尝试输入类似“José”的内容时,它会最初看起来是正确的,但将其
我使用 Tomcat 创建了一个带有 JSF 2.2 的 netbeans (7.31) 新 Web 项目,我下载了 Bootsfaces-OSP-dist-0.7.jar 并将其添加到我的项目中。我
我正在尝试在 glassfish 4.1 服务器上构建一个 JSF 应用程序。我在 glassfish 前面有一个 apache 2.4 作为代理服务器。该应用程序正在使用 bootsfaces 或
我是一名优秀的程序员,十分优秀!