Tapestry Training -- From The Source

Let me help you get your team up to speed in Tapestry ... fast. Visit howardlewisship.com for details on training, mentoring and support!

Sunday, July 10, 2005

Tapestry JavaOne Examples Available

I've finally had a chance to package and upload my source code and presentation from JavaOne 2005. It's available as http://howardlewisship.com/downloads/javaone-examples.tar.gz

4 comments:

Robert J Liu said...

Thanks for the examples.
Two problems:
1. Home page does not display logo image properly on tomcat 5.5.9;

2. Music Library samples have exceptions:
org.apache.tapestry.BindingException
Unable to read OGNL expression '<parsed OGNL expression>' of $BasePage_12@ac576f[music/Basic]: tracks

org.apache.hivemind.ApplicationRuntimeException
Error building service app.MusicLibrarySource: Error at context:/WEB-INF/hivemodule.xml, line 18, column 50: Unable to initialize service app.MusicLibrarySource (by invoking method initializeService on services.MusicLibrarySourceImpl): java.lang.NullPointerException

Howard said...

The demo is meant for live coding; I run it using JettyLauncher right out of Eclipse. The trick is the iTunes Music Library, which is expected to be in the current directory when the application runs.

Anonymous said...

Ok, Howard

But where I have to put "Itunes Music Library.xml" to run the application in tomcat? webapps/tapestry-javaone ?

cheers,
Douglas

Howard said...

I'm uploading a new version of the OSCON examples (more up-to date with Tapestry 4.0). This new version packages the iTunes library file inside the WAR so it should deploy into Tomcat correctly. You will need the tapestry-libraries package.