Yes that was it. Is there a list of packages that are 'special' to Tapestry. The base package was new to me. The 'Project Layout' page does not mention the special packages and I could not find a page mentioning the base package.
Martijn On Wed, 2008-07-02 at 18:20 -0700, Howard Lewis Ship wrote: > Everything under the .base. package is going to be loaded by the > component class loader, and transformed into a component class at > runtime. Only components should go there, not data objects. > > On Wed, Jul 2, 2008 at 4:02 PM, Martijn Brinkers (List) > <[EMAIL PROTECTED]> wrote: > > I get a "loader constraint violation" when a page is loaded: > > > > loader constraint violation: loader (instance of > > org/apache/tapestry5/internal/services/ComponentInstantiatorSourceImpl > > $PackageAwareLoader) previously initiated loading for a different type > > with name "mitm/mimesecure/web/base/propertyeditor/DateProperty" > > > > The strange thinig is that this worked initially until I moved the > > DateProperty class to another package. DateProperty is used by the > > ordinary class mitm.mimesecure.web.beans.PDFPropertiesBean. If I move > > DateProperty back to the package mitm.mimesecure.web.beans everything is > > working fine. Somehow it only works when DateProperty is in the same > > package as PDFPropertiesBean. > > > > Any idea? > > > > Martijn > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]