|
Java EE 6 example source code file (allInOne.xhtml)
The Java EE 6 allInOne.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="HOME needs i18n">
</ui:define>
<ui:define name="content">
<h:messages globalOnly="true" showDetail="true" tooltip="true" errorClass="errorMsgs" infoClass="infoMsgs" />
<h:form id="frmNew">
<h2>New Sprint
<h:panelGrid columns="3" style="width: 300px">
<h:outputLabel value="#{i18n['sprints.label.name']}:" for="itName" />
<h:inputText id="itName" value="#{allInOneMB.sprintsMB.toSave.name}" required="true" requiredMessage="Type the short name" />
<h:message for="itName" />
<h:outputLabel value="#{i18n['sprints.label.goals']}:" for="itGoals" />
<h:inputText id="itGoals" value="#{allInOneMB.sprintsMB.toSave.goals}" required="true" requiredMessage="Describe the goals" />
<h:message for="itGoals" />
<h:outputLabel value="#{i18n['sprints.label.iterationScope']}:" for="itIterationScope" />
<h:inputText id="itIterationScope" value="#{allInOneMB.sprintsMB.toSave.iterationScope}" required="true" requiredMessage="Type the scope" />
<h:message for="itIterationScope" />
<h:outputLabel value="#{i18n['sprints.label.startedAt']}:" for="itStartedAt" />
<h:inputText id="itStartedAt" value="#{allInOneMB.sprintsMB.toSave.startedAt}" required="true" requiredMessage="Type when this sprint start" />
<h:message for="itStartedAt" />
<h:outputLabel value="#{i18n['sprints.label.dailyMeetingTime']}:" for="itDailyMeetingTime" />
<h:inputText id="itDailyMeetingTime" value="#{allInOneMB.sprintsMB.toSave.dailyMeetingTime}" required="true" requiredMessage="Type the estimation (story points)" />
<h:message for="itDailyMeetingTime" />
<f:verbatim>
<f:verbatim>
<h:commandButton action="#{allInOneMB.sprintsMB.save}" value="save" />
</h:panelGrid>
</h:form>
<h:form id="frmList">
<h2>Sprints
<h:panelGrid columns="3" style="width: 300px">
<h:outputLabel value="Not exist sprints" style="color: orange" rendered="#{allInOneMB.sprintsMB.dm.rowCount eq 0}"/>
</h:panelGrid>
<h:dataTable value="#{allInOneMB.sprintsMB.dm}" var="sprint" width="100%" rendered="#{allInOneMB.sprintsMB.dm.rowCount > 0}">
<h:column headerClass="textColumn">
<f:facet name="header">
Other Java EE 6 examples (source code examples)Here is a short list of links related to this Java EE 6 allInOne.xhtml source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 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.