This is another reason for changing the squeezer framework to a pipeline. -----Original Message----- From: Jun Tsai [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 7:00 AM To: Tapestry users; [EMAIL PROTECTED] Subject: Re: SqueezeAdaptor heads up
Thank you very much !!!!!! 2006/2/7, Aslak Gronflaten <[EMAIL PROTECTED]>: > > Hi, > > for anyone having problems with the SqueezeAdaptor. > I tried to implement an adaptor for Hibernate persisted objects, > following the instructions in the wiki. I just couldn't get it to > work, until I changed the order of interface implementation on my > model objects. They were all implementing Serializable, and were > therefore serialized in the html. > When I changed > > class ModelObject implements Serializable, IPersist > > to > > class ModelObject implements IPersist, Serializable > > the DataSqueezer finally picked my HibernateAdaptor to perform the > squeezing. > I had to read the tapestry and hivemind source code to figure this one > out - it should perhaps be mentioned somewhere more apparent. > > Aslak > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Welcome to China Java Users Group(CNJUG). http://cnjug.dev.java.net --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]