burndown.xhtml 1.12 KB
<?xml version="1.0" encoding="ISO-8859-1" ?>
<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:jsfcomps="http://www.java.net/scrumtoys/jsfcomps" 
      xmlns:appez="http://java.sun.com/jsf/composite/components" >
<h:head>
    <title>#{"Burndown"}</title>
    <h:outputStylesheet library="css/1_1" name="app.css"/>
</h:head>
<h:body>
    <h:outputScript library="javax.faces" name="ajax.js" target="head"/>
	<h:messages errorClass="errorMsgs" infoClass="infoMsgs" />
	<appez:title id="tituloDashboard" text="#{'Burndown'}" />
	<h:form>
		<h:outputLabel value="Sprint:" for="somSprints" />
		<h:selectOneMenu id="somSprints" value="#{burndownMB.selectedSprintId}">
			<f:selectItems value="#{burndownMB.siSprints}"/>
		</h:selectOneMenu>
		<h:message for="somSprints" />
		<h:commandButton action="#{burndownMB.update}" value="Update" />
		<h:panelGrid columns="1">
		<h:outputText value="#{burndownMB.selectedSprint.name}" />
		<jsfcomps:burndown value="#{burndownMB.selectedSprint}" />
		<jsfcomps:test />
		</h:panelGrid>
	</h:form>
</h:body>
</html>