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.
>
>
>
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
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
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
4 matches
Mail list logo