<%--
Copyright 2009, Oracle and its affiliates. All rights reserved.
ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.

@(#)encodetest.jsp	1.1 06/01/30
--%>

<%@ 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">
            .text {
            background-color: yellow;
            }
        </style>
    </head>
    
    <body>
        <f:view>
            <h:outputLabel value="Case One"/>
            <br>
            <h:outputFormat id="formatter1" 
                            value="Testing styleClass"
                            styleClass="text"/>
            <br>
            
            <h:outputLabel value="Case Two"/>
            <br>
            <h:outputFormat id="formatter2" value="Technology: {0}, Tag: {1}">
                <f:param value="JSF"/>
                <f:param value="h:outputFormat"/>
            </h:outputFormat>
            <br>
            
            <h:outputLabel value="Case Three"/>
            <br>
            <h:outputFormat id="formatter3" value="<default>"/>
            <br>
            
            <h:outputLabel value="Case Four"/>
            <br>
            <h:outputFormat id="formatter4" 
                            value="<true>"
                            escape="true"/>
            <br>
            
            <h:outputLabel value="Case Five"/>
            <br>
            <h:outputFormat id="formatter5" 
                            value="<false>"
                            escape="false"/>
            <br>
            
            <h:outputLabel value="Case Six"/>
            <br>
            <h:outputFormat id="formatter6" 
                            value="Technology: {0}, Tag: {1}">
                <f:param value="#{info.technology}"/>
                <f:param value="#{info.component}"/>
            </h:outputFormat>
            <br>
            
            <h:outputLabel value="Case Seven"/>
            <br>
            <h:panelGrid id="Final_Score">
                <h:outputFormat binding="#{score.fscore}"/>
            </h:panelGrid>
        </f:view>
    </body>
</html>
