Re: Using and serialization

2007-08-01 Thread Andrew Robinson
Just use: private transient HtmlTree tree; Since the component is saved in the component tree, there is no need to serialize it with the backing bean. On 8/1/07, kewldude <[EMAIL PROTECTED]> wrote: > > Hi Andrew, > I dont know if I understood you, but this is how my code looks right now. > > >

Re: Using and serialization

2007-08-01 Thread kewldude
Hi Andrew, I dont know if I understood you, but this is how my code looks right now. the TreeBacker class public class TreeBacker implements Serializable{ private HtmlTree tree; public void setTree(HtmlTree tree){ this.tree = tree; } public HtmlTree getTree(){ return this

Re: Using and serialization

2007-08-01 Thread Andrew Robinson
Serialize the model and the state, but not the component. On 8/1/07, kewldude <[EMAIL PROTECTED]> wrote: > > This is my situation, I have a component that has a treeBacker > class at the back end. I'm using to save the state of the > treeBacker object. My problem right now is I tried to componen

Using and serialization

2007-08-01 Thread kewldude
This is my situation, I have a component that has a treeBacker class at the back end. I'm using to save the state of the treeBacker object. My problem right now is I tried to component bind my component to a HtmlTree object declared inside my treeBacker class. Obviously, all the objects inside