<%--
  Copyright 2009, Oracle and its affiliates. All rights reserved.
  ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 
  @(#)encodetest.jsp	1.2 10/18/05
--%>

<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>

<html>
<head>
    <title>encodetest</title>
    <style type="text/css">
        .secret {
            background-color: blue;
        }
    </style>
</head>

<body>
<f:view>
    <h:form id="form">
        <h:inputSecret id="secret1" value="secret value"/>
        <h:inputSecret id="secret2"
                       value="secret value"
                       redisplay="true"/>
        <h:inputSecret id="secret3"
                       value="secret value"
                       styleClass="secret"
                       redisplay="false"/>
        <h:inputSecret id="secret4"
                       value="secret value"
                       autocomplete="off"/>
        <h:inputSecret id="secret5"
                       value="secret value"
                       autocomplete="on"/>
        <h:inputSecret id="secret6"
                       value="value"
                       disabled="true"/>
        <h:inputSecret id="secret7"
                       value="value"
                       disabled="false"/>
        <h:inputSecret id="secret8"
                       value="value"
                       readonly="true"/>
        <h:inputSecret id="secret9"
                       value="value"
                       readonly="false"/>
    </h:form>
</f:view>
</body>
</html>
