Hi Jack, >> my.package.tapestry.pages.util.MyFormat Putting a none page class into the page package is a bad idea! Only Page classes should go into the pages package. If you just need a custom Format move it to some other package (excluding pages, components, base and services). If you want to inject your format into other objects put it into the services subpackage and either write a build-Method in AppModule or use autobuild (http://tapestry.apache.org/tapestry5/tapestry-ioc/service.html).
Greetz nillehammer ----- original Nachricht -------- Betreff: T5: Base class java.text.Format (super class of my.package.MyFormat) is not in a controlled package Gesendet: Di, 08. Apr 2008 Von: Jack Nuzbit<[EMAIL PROTECTED]> > Hi All, > > I'm trying to use a custom Format object with the output component but I'm > getting the following exception: > > Caused by: java.lang.RuntimeException: Base class java.text.Format (super > class of my.package.tapestry.pages.util.MyFormat) is not in a controlled > package and is therefore not valid. You should try moving the class to > package my.package.tapestry.base. > at > org.apache.tapestry.internal.services.ComponentClassTransformerImpl.transfor > mComponentClass(ComponentClassTransformerImpl.java:126) > at > $ComponentClassTransformer_1192e553582.transformComponentClass($ComponentCla > ssTransformer_1192e553582.java) > at > org.apache.tapestry.internal.services.ComponentInstantiatorSourceImpl.onLoad > (ComponentInstantiatorSourceImpl.java:166) > at javassist.Loader.findClass(Loader.java:340) > > Does anyone have any experience with this? Does tapestry 5 not support > custom Format objects and if so is there any reason for this? > > Many thanks, > > Jack > --- original Nachricht Ende ---- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]