Sorry for the information that i gave, i tried to explain how wicket stores information. But we really want to know if there is a way to do in SAX way, cause as you know java's default serializer uses DOM Serializer.
On Fri, Nov 13, 2009 at 6:07 PM, Igor Vaynberg <igor.vaynb...@gmail.com>wrote: > wicket doesnt store pages using xml. we use ObjectOutputStream which > uses java's serialization format, not xml. > > -igor > > On Fri, Nov 13, 2009 at 6:37 AM, Pamir Erdem <pamir.er...@gmail.com> > wrote: > > No, I'm not dealing with PageSizes. I'm dealing to decrea stack tree > depth > > in serialization. One way to achieve this converting changing > DomSerializer > > to SAXSerializer. So is there any way to make it possible in wicket ? > > > > > > > > 2009/11/13 Uwe Schäfer <schae...@thomas-daily.de> > > > >> Pamir Erdem schrieb: > >> > >> > >> As you know, Wicket uses disk storage to save web pages by serializing > >>> them. > >>> PageMap and DiskPageStore classes are examples for it. Is there any > way > >>> to > >>> change the serialization type from DOM Serialization to SAX > >>> Serialization > >>> in these classes ? If serialization of an object seralization tree > depth > >>> is > >>> high what you have to do is just increasing the java argument Xss or > >>> changing the serialization method from DOM to SAX > >>> > >> > >> For debugging purposes in dev environments, once a serialized Page Size > >> exceeds a certain limit, we produce XML via XStream in order to be able > to > >> look at it. > >> > >> Is this what you´re looking for? > >> > >> cu uwe > >> > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> For additional commands, e-mail: users-h...@wicket.apache.org > >> > >> > > > > > > -- > > Pamir Erdem > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Pamir Erdem