tagesschau.de

Durch Zufall lese ich gerade den Artikel “Serienmörder Fourniret provoziert Gericht” (http://www.tagesschau.de/ausland/fourniret6.html). Dort ist ein Bild des Mannes gezeigt, der Bildtext lautet “Michel Fourniret zeigte zum Prozessauftakt keine Reue.“. Im Archiv findet sich ein weiterer Artikel (http://www.tagesschau.de/ausland/meldung231524.html). Dort ist das Bild ebenfalls zu sehen aber ein kleinerer Ausschnitt und schwarzer Balken über den Augen. [...]

JSF, Ajax and file download

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 [...]

JSF behind reverse proxy

The problem “try to run a jsf application behind a reverse proxy” it will not work if you change the context-path.
Imagine a local deployed jsf application “hello-world.war”. You can start browsing at http://localhost:8080/hello-word/. The browser handles the absolute paths for css and javascript-libs correctly and all forms will work. Remeber that all resource-urls converted to [...]