Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
ppt
Corso JSF.ppt 783.9 kB 1 02-Sep-2010 07:52 m.sanfilippo
zip
SmeaCrud-src.zip 31.7 kB 1 31-Aug-2010 16:02 Administrator
war
SmeaCrud.war 30.9 kB 1 31-Aug-2010 16:02 Administrator
gif
jsf.gif 5.7 kB 1 23-Aug-2010 19:42 Administrator

This page (revision-70) was last changed on 02-Sep-2010 09:10 by m.sanfilippo  

This page was created on 23-Aug-2010 19:35 by Administrator

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 194 added 2 lines
/%
%%tab-Parte4
At line 197 added 35 lines
!!Parte 4
!Camera.java
%%prettify
{{{
package corsojsf.model;
import java.math.BigDecimal;
public class Camera {
private String nome;
private Integer numeroPosti;
private BigDecimal prezzo;
public String getNome() {
return nome;
}
public void setNome(String nome) {
this.nome = nome;
}
public Integer getNumeroPosti() {
return numeroPosti;
}
public void setNumeroPosti(Integer numeroPosti) {
this.numeroPosti = numeroPosti;
}
public BigDecimal getPrezzo() {
return prezzo;
}
public void setPrezzo(BigDecimal prezzo) {
this.prezzo = prezzo;
}
}
}}}
At line 233 added 42 lines
!Prenotazione.java
%%prettify
{{{
package corsojsf.model;
import java.util.Date;
public class Prenotazione {
private String cliente;
private Date dataInizio;
private Date dataFIne;
private Camera camera;
public Camera getCamera() {
return camera;
}
public void setCamera(Camera camera) {
this.camera = camera;
}
public String getCliente() {
return cliente;
}
public void setCliente(String cliente) {
this.cliente = cliente;
}
public Date getDataFIne() {
return dataFIne;
}
public void setDataFIne(Date dataFIne) {
this.dataFIne = dataFIne;
}
public Date getDataInizio() {
return dataInizio;
}
public void setDataInizio(Date dataInizio) {
this.dataInizio = dataInizio;
}
}
}}}
At line 277 added 76 lines
!list.xhtml
%%prettify
{{{
<ui:composition
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
template="/template/masterLayout.xhtml"
xmlns:f="http://java.sun.com/jsf/core">
<ui:define name="content">
<ui:include src="/sections/list/intestazioneCamere.xhtml"/>
<ui:include src="/sections/list/tabellaCamere.xhtml"/>
</ui:define>
</ui:composition>
}}}
/%
!tabellaCamere.xhtml
%%prettify
{{{
<ui:composition
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<h:dataTable styleClass="lista" value="#{listController.camere}" var="camera">
<h:column>
<f:facet name="header">
<h:outputText value="nome"/>
</f:facet>
<h:outputText value="#{camera.nome}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="n.posti"/>
</f:facet>
<h:outputText value="#{camera.numeroPosti}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="prezzo"/>
</f:facet>
<h:outputText value="#{camera.prezzo}"/>
</h:column>
<h:column>
<h:outputLink value="Edit"/>
#160;
<h:outputLink value="Del"/>
</h:column>
</h:dataTable>
</ui:composition>
}}}
/%
!intestazioneCamere.xhtml
%%prettify
{{{
<ui:composition
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<h3>
<h:outputText value="Lista Camere"/>
</h3>
<h:commandLink action="#{listController.nuovaCamera}" value="Nuova"/>
</ui:composition>
}}}
/%
/%
/%
Version Date Modified Size Author Changes ... Change note
70 02-Sep-2010 09:10 23.707 kB m.sanfilippo to previous
69 02-Sep-2010 07:52 23.693 kB m.sanfilippo to previous | to last
68 02-Sep-2010 07:51 23.676 kB m.sanfilippo to previous | to last
67 01-Sep-2010 16:54 24.929 kB Administrator to previous | to last
66 01-Sep-2010 16:54 23.674 kB Administrator to previous | to last
65 01-Sep-2010 16:52 24.749 kB Administrator to previous | to last
64 01-Sep-2010 08:21 23.674 kB m.sanfilippo to previous | to last
63 01-Sep-2010 08:13 23.384 kB m.sanfilippo to previous | to last
62 31-Aug-2010 17:48 23.384 kB m.sanfilippo to previous | to last
61 31-Aug-2010 16:27 23.372 kB Administrator to previous | to last
« This page (revision-70) was last changed on 02-Sep-2010 09:10 by m.sanfilippo