我们在数据表中有一个属性列表。其中一些属性是输出文本字段(密码)(如果密码字段是输入字段 (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/