Book Image

Tapestry 5: Building Web Applications

Book Image

Tapestry 5: Building Web Applications

Overview of this book

Table of Contents (17 chapters)
Tapestry 5
Credits
About the Author
About the Reviewers
Preface
Foreword
Where to Go Next

FCKEditor Component


Quite often, we might want to give the users of our application an opportunity not only to enter a message, but also to format it similarly to how they would do this in a familiar word processor. There are JavaScript-enabled rich text editors available for this purpose, the most famous of them is perhaps FCKEditor (http://www.fckeditor.net/), but integrating such an editor into a web application might require additional knowledge and effort.

Thankfully, there is a custom Tapestry 5 component developed by Ted Steen and Olof Naessen that wraps FCKEditor. As a result, we can use this excellent rich text editor in the same way like any other Tapestry component. The component can be downloaded from http://code.google.com/p/tapestry5-fckeditor/ as a JAR file (make sure you pick the version, 1.0.2 or later). The name of the file will be similar to tapestry5-fckeditor-1.0.2.jar. Please put it into the WEB-INF/lib subfolder of our web application. In Eclipse, you might want to...