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 377 added one line
%%tab-Parte5
At line 379 added 25 lines
!!Parte 4
!camera.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">
<h:panelGrid columns="2">
<h:outputLabel for="nome" value="nome camera"/>
<h:inputText id="nome" value="#{listController.camera.nome}"/>
<h:outputLabel for="posti" value="posti letto"/>
<h:inputText id="posti" value="#{listController.camera.numeroPosti}"/>
<h:outputLabel for="prezzo" value="prezzo"/>
<h:inputText id="prezzo" value="#{listController.camera.prezzo}"/>
<h:commandButton value="annulla" action="/views/list" immediate="true"/>
<h:commandButton value="salva" action="#{listController.salvaCamera}"/>
</h:panelGrid>
</ui:define>
</ui:composition>
}}}
At line 405 added 19 lines
!ListController.java (porzione)
%%prettify
{{{
/*Azioni*/
public String nuovaCamera() {
setCamera(new Camera());
return "/views/camera";
}
public String salvaCamera() {
Camera daSavlare = getCamera();
if (getCamere() == null) {
this.camere = new LinkedList<Camera>();
}
getCamere().add(camera);
return "/views/list";
}
}}}
At line 426 added 3 lines
/%
/%
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