<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:rich="http://richfaces.org/rich" xmlns:a4j="http://richfaces.org/a4j" xmlns:c="http://java.sun.com/jsp/jstl/core">
    <h:head>
        <title>RichFaces Showcase</title>
    </h:head>
    <h:body>
        <c:if test="#{initParam['javax.faces.PROJECT_STAGE'] eq 'Development'}">
            <a4j:log mode="console" level="DEBUG" />
            <ui:debug hotkey="0" />
        </c:if>

        <h:outputStylesheet library="css" name="application.css" target="head" />
        <h:outputScript target="head">
            var _gaq = _gaq || [];
            _gaq.push(['_setAccount', 'UA-7306415-7']);
            _gaq.push(['_setDomainName', 'richfaces.org']);
            _gaq.push(['_setAllowLinker', true]);
            _gaq.push(['_trackPageview']);

            (function() {
            var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
            })();
        </h:outputScript>

        <div id="page">
            <div id="header">
                <a href="#{facesContext.externalContext.requestContextPath}/" class="logo">
                    <img src="#{facesContext.externalContext.requestContextPath}/images/rf-logo.png" alt="RF logo" />
                </a>

                <div class="right-controls">
                    <ul class="top-links layout">
                        <li><a href="http://jboss.org/richfaces" target="_blank">Project Site</a></li>
                        <li><a href="http://www.jboss.org/community/wiki/richfaceswikihomepage" target="_blank">Project
                                Wiki</a>
                        </li>
                        <li><a href="http://community.jboss.org/en/richfaces?view=discussions" target="_blank">User Forum</a></li>
                        <li><a href="http://docs.jboss.org/richfaces/latest_4_X/vdldoc/" target="_blank">Tag Library Docs</a></li>
                        <li class="download-link"><a href="http://jboss.org/richfaces/download/stable.html" target="_blank">Download</a>
                        </li>
                        <li class="last"><a
                            href="https://github.com/richfaces/showcase/" target="_blank">Source</a>
                        </li>
                    </ul>
                    <ui:include src="/templates/includes/skin-chooser.xhtml" />
                </div>
            </div>
            <div id="page-content">
                <div class="left-menu">
                    <ui:include src="/templates/includes/navigation.xhtml" />
                </div>
                <div class="content-container">
                    <ui:insert name="body">
                        Body content missed
                    </ui:insert>
                </div>
                <div class="clear"></div>
            </div>
            <div id="footer">#{richfacesVersion}</div>
        </div>
    </h:body>
</html>
