css - 丰富的面孔 : Is it possible to set the look of output text like input type password?

标签 css richfaces

我们在数据表中有一个属性列表。其中一些属性是输出文本字段(密码)(如果密码字段是输入字段 (inputSecret),则密码字段通常显示为黑色圆点列表)。目前,outputText 字段显示为没有多大意义的纯文本。可以让它们看起来像密码输入字段吗?

最佳答案

这个和css无关,如果要输入密码,type是password而不是 text

我不太了解 richFaces,但也许您需要 <h:inputSecret />而不是 <h:inputText />

关于css - 丰富的面孔 : Is it possible to set the look of output text like input type password?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9112862/

相关文章:

javascript - 使用更少的 javascript 进行拖放上传

html - 如何使用 CSS 正确定位页脚?

html - 在页面加载时自动滑入 div

html - 如何在 CSS 中使用 "all"属性

java - 如何在richfacs fileupload中进行多个文件选择?

javascript - 如何检查是否设置了onresize方法?

html - 100% 高度的 CSS

css - 删除 a4j :commandLink 的下划线样式

java - 由于错误 c00ce56e,无法完成操作

java - 使用 a4j :commandbutton vs h:commandbutton to present-new-pages in richfaces