Well I had already made all the objects serializable and it says it is choking on java.util.RandomAccessSubList. I made sure to upgrade to the latest beta just to make sure, but I am still getting the exception. I can't find anything that discusses this in detail. Can someone give me an idea what is going on here or point me to some documentation?
Thanks for your help, Rob -----Original Message----- From: Kent Tong [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 27, 2005 4:44 AM To: tapestry-user@jakarta.apache.org Subject: Re: Datasqueezers and strategies Rob Dennett <rob_dennett <at> tmit1.org> writes: > I made the class in question implement Serializable (although I didn’t > define a serialVersionUID), but now I get a NotSerializableException. > The class in question contains a list of other objects as well. Do I > need to create a datasqueezer adaptor for this? No. Just make sure the objects in the your object graph are all Serializable. > Why? What do they do, exactly? So that they can be stored as strings in the HTML page in the browser. The strings will be turned back into objects on rewind. > Also, if I am dealing with a complex object graph, is it inappropriate to > pass > it to a component? To cut down the network traffic, you may want to just store their keys in the HTML page. To do that, use the "converter" or "keyExpression" parameter of the "For" component. -- Author of a book for learning Tapestry (www.agileskills2.org/EWDT) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.6/111 - Release Date: 9/23/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.6/111 - Release Date: 9/23/2005 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]