Am 15.04.2012 13:52, schrieb Thiago H. de Paula Figueiredo: > Why are you persisting TreeExpansionModels in the session? I'd avoid that.
hi thiago, it's not me persisting the model ;-) - it's the Tree component: org.apache.tapestry5.corelib.components.Tree, Line 113: @Persist private TreeExpansionModel defaultTreeExpansionModel; i just found out that i can control the expansion model with the "expansionModel" component parameter, but the default implementation works perfect (apart from the serialization issue), i like it that the expansion state is not lost when i leave the page containing the component. i will try to fix this issue for me and implement a tree expansion model that extends the default expansion model and adds a serializable interface. will get back to the list with results. felix -- Netzgut Unternehmergesellschaft (haftungsbeschränkt) Kirchstr. 18 69115 Heidelberg Telefon: +49 6221 39298 51 Telefax: +49 6221 39298 59 E-Mail: fe...@netzgut.net Handelsregister: Amtsgericht Mannheim, HRB 709833 Sitz der Gesellschaft: Heidelberg Geschäftsführer: Felix Gonschorek Ust-IdNr.: DE272871752 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org