O'Reilly logo

JSF 2.0 Cookbook by Anghel Leonard

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Downloading files using Mojarra Scales

In this recipe you will see how to implement a JSF application for downloading files. To accomplish this task we will use a dedicated component developed under the Mojarra Scales project. Since, we haven't used it before in this book let's say that this project "is a JSF component library that started out in the JSF RI Sandbox. Currently, Scales offers a number of components which, primarily, wrap some of the excellent Yahoo! User Interface (YUI) JavaScript widgets. Scales goes beyond those widgets, though, and offers a number of other useful components such as a multi-file upload component and a dynamic content 'download' component."

Getting ready

We developed this recipe with NetBeans 6.8, JSF 1.2, and GlassFish ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required