alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java EE 6 example source code file (changeSkin.xhtml)

This example Java EE 6 source code file (changeSkin.xhtml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Java EE 6 tags/keywords

blue, blue, doctype, doctype, orange, orange, public, red, select, transitional//en, transitional//en, w3c//dtd, xhtml, yellow

The Java EE 6 changeSkin.xhtml source code

<!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:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="template.xhtml">

        <ui:define name="pageTitle">
            <h:outputText value="#{i18n['menuitem.label.sprints']}">
        </ui:define>

        <ui:define name="content">
            <h:form id="changeSkin">
                
                <h:panelGrid styleClass="whiteboard" headerClass="tableHeader" footerClass="tableFooter">

                    <f:facet name="header">
                        <h:outputText value="Select application skin color">
                    </f:facet>
                    <h:panelGrid columns="4" styleClass="tableBody" columnClasses="postItYellow, postItOrange, postItRed, postItBlue">
                        <h:commandLink action="#{skinManager.yellowSkin}">
                        <h:commandLink action="#{skinManager.orangeSkin}">
                        <h:commandLink action="#{skinManager.redSkin}">
                        <h:commandLink action="#{skinManager.blueSkin}">

                    </h:panelGrid>
                    <f:facet name="footer">
                        <h:outputText value=" ">
                    </f:facet>
                </h:panelGrid>
            </h:form>
        </ui:define>
    </ui:composition>
</html>

Other Java EE 6 examples (source code examples)

Here is a short list of links related to this Java EE 6 changeSkin.xhtml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.