Veröffentlicht in Montag, 31. März 2008 von Andreas Höhmann
Today i show you a example which combines Ajax (Richfaces) and a “normal” Download in a JSF application.
The bean for the download-code is here:
public class DownloadBean {
// actionListener="#{bean.execute}"
public void execute (ActionEvent event) {
download();
}
// action="#{bean.download}"
public String download() {
final FacesContext [...]
Abgelegt unter : Computer, JSF | Getaggt: JSF, Facelets, Richfaces, Ajax, File Download, MyFaces | Keine Kommentare »
Veröffentlicht in Donnerstag, 17. Januar 2008 von Andreas Höhmann
This article shows the usage of a tomahawk-fileupload with richfaces and facelets. The result is a upload-formular where the upload-button is disabled until the user select a file. All this can be done without any line self hacked javascript-code
The upload-button depends on a bean-property ‘uploadedFilename’ which is sync via AJAX.
So it is possible [...]
Abgelegt unter : Computer, JSF | Getaggt: JSF, Facelets, Richfaces, Ajax, File Upload, Tomahawk | Keine Kommentare »