Tapestry Bayeux component library

A collection of Java Web Components for tapestry 4.1.1.

Click here to goto the sourceforge project site.

Summary

Bayeux contains various tapestry components and some of the most used are the stream components:

  • StreamLink - capable of streaming any kind of data (useful for pdf, csv and other kinds of download/export functionality)
  • StreamAsset - uses the same infrastructure as the StreamLink, but focuses on streaming images like charts or other dynamic data. (has out of the box integration with JFreeChart api)
Other useful components are available. Take a look in the menu.

Configure library

Add a "library" definition in your Tapestry applications application definition file. Heres an example of what to add:
<library id="bayeux" specification-path="/com/nordija/tapestry/bayeux/bayeux.library"/>

Installation

Maven

Tapestry Bayeux is available from the central maven repsitory so Maven 2 users can use the following dependency without further configuration:

<dependency>
    <groupId>com.nordija.tapestry.bayeux</groupId>
    <artifactId>tapestry-bayeux</artifactId>
    <version>2.0.0</version>
</dependency>
Sourcecode is available as well:
<dependency>
    <groupId>com.nordija.tapestry.bayeux</groupId>
    <artifactId>tapestry-bayeux</artifactId>
    <version>2.0.0</version>
    <classifier>sources<classifier>
</dependency>

Manually

It is very simple. You just download the jar file, drop it in your WEB-INF/lib of your war .

Other requirements

Use of some of the components or services might require extra configuration. An example of this is the DownloadService and StreamService services, which requires a download resource source extension. Please refer to the specific documentations on the components or services to find out what they might need.