I have been trying to display placeholder for h:inputSecret but not able to do it. There is no placeholder attribute is exist for h:inputSecret Its a small issue but i didn't find any solution.
Can anyone suggest me a solution?
I have been trying to display placeholder for h:inputSecret but not able to do it. There is no placeholder attribute is exist for h:inputSecret Its a small issue but i didn't find any solution.
Can anyone suggest me a solution?
I thought everything that was not JSF was passed to the browswer for rendering?
This assumption is thus wrong. Unspecified component attributes are ignored by the JSF renderers.
You have basically the following options to get it to work:
h:inputText.<p:watermark> for this purpose with nice JS based graceful degradation for browsers which does not support the placeholder attribute on inputs.