BootsFaces标记自动完成显示重复属性style-class和styleClass [英] BootsFaces tag auto completion shows duplicate properties style-class and styleClass

查看:165
本文介绍了BootsFaces标记自动完成显示重复属性style-class和styleClass的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

检查以下screeshot,

Check the below screeshot,

为什么有例如 style-class styleClass

我正在使用bootsfaces 0.9.0-SNAPSHOT

I am using bootsfaces 0.9.0-SNAPSHOT

推荐答案

两个版本都是相同的。大多数Web设计人员更喜欢样式类版本的CSS类名。 CamelCase是Java开发人员的传统。我们觉得在所有这些boot-strap-css-classes中使用CamelCase看起来很奇怪。所以我们决定实现连字符版本作为JSF的传统CamelCase属性名称的替代。我们希望它允许您编写看起来更好的文件,并且可能更容易记住属性名称。

Both versions are identical. Most web designers prefer the style-class version for their CSS class names. CamelCase is a tradition of Java developers. We felt that it looks odd to use CamelCase among all these boot-strap-css-classes. So we decided to implement the hyphen version as an alternative to the traditional CamelCase attribute names of JSF. We hope that it allows you to write files that look nicer, and maybe the attribute names are easier to memorize.

这篇关于BootsFaces标记自动完成显示重复属性style-class和styleClass的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆