home | career | drupal | java | mac | mysql | perl | scala | uml | unix  

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

This example Java EE 6 source code file (storiesList.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

add, add, doctype, mostrar, public, sprint, sprint, story, story, transitional//en, transitional//en, w3c//dtd, xhtml

The Java EE 6 storiesList.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>



        <h:panelGrid columns="1" border="0">
            <h:outputLabel value="#{i18n['stories.label.nostory']}" rendered="#{storiesMB.dm.rowCount eq 0}"/>

            <br/>
<h:panelGrid columns="1" style="float: right"> <h:panelGroup> <h:outputLabel value="#{i18n['stories.label.sprint']}: " for="otSprint" /> <h:outputText id="otSprint" value="Mostrar o nome do Sprint com link para o Sprint" /> </h:panelGroup> <h:panelGroup> <h:outputLabel value="#{i18n['label.startedAt']}: " for="otSprintStartDate"/> <h:outputText id="otSprintStartDate" value="mostrar a data de inicio do sprint" /> <br/>
</h:panelGroup> </h:panelGrid> <h:form id="testeForm"> <h:commandLink styleClass="navigationLink" id="showButton" action="#{sprintsMB.showForm}" value="+ Add Story to this Sprint" onclick="jsf.ajax.request(this, event, {execute:'testeForm:showButton', render: 'testeForm:testeShowHidePG testeForm:testeShowHidePG:newStoryPG'}); return false;" > </h:commandLink> <h:panelGrid columns="1" border="0" id="testeShowHidePG"> <h:panelGrid columns="1" border="0" id="newStoryPG" rendered="#{sprintsMB.showAddNewStoryForm}"> <ui:include src="./newStory.xhtml"> </h:panelGrid> </h:panelGrid> </h:form> <h:form id="frmListStories"> <h:dataTable value="#{storiesMB.dm}" var="story" rendered="#{storiesMB.dm.rowCount > 0}" title="#{i18n['stories.table.title']}" summary="#{i18n['stories.table.title']}" border="0" id="dtStories" headerClass="datatableHeader" rowClasses="datatableRow,datatableRow2" columnClasses="dataTableFirstColumn" styleClass="datatable"> <h:column> <f:facet name="header"> <h:outputText value="#{storiesMB.dm.rowIndex + 1}" /> </h:column> <h:column> <f:facet name="header"> <h:outputText value="#{story.name}" /> </h:column> <h:column> <f:facet name="header"> <h:outputText value="#{story.priority}" /> </h:column> <h:column> <f:facet name="header"> <h:outputText value="#{story.estimation}" /> </h:column> <h:column> <f:facet name="header"> <h:outputText value="#{story.acceptance}" /> </h:column> <h:column> <f:facet name="header"> <h:commandButton styleClass="botaoPostIt" action="#{storiesMB.edit}" value="#{i18n['button.edit']}" immediate="true" /> <h:commandButton styleClass="botaoPostIt" action="#{storiesMB.remove}" value="#{i18n['button.delete']}" immediate="true" /> <h:commandButton styleClass="botaoPostIt" action="#{storiesMB.showTasks}" value="#{i18n['button.tasks']}" immediate="true" /> </h:column> </h:dataTable> </h:form> </h:panelGrid> </ui:composition> </html>

Other Java EE 6 examples (source code examples)

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



my book on functional programming

 

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.