Re: InlineFrame: IPageLink object looses reference to page after deserialiations

2009-03-29 Thread Ittay Dror
Ittay Dror wrote: > > Hi, > > I'm trying to use the InlineFrame component. I create an IPageLink > object to it. The object holds a reference to a page. > > By placing breakpoints, I can see that the IPageLink object is created > once. > > InlineFrame#onLinkClicked is called twice. On the

Re: InlineFrame: IPageLink object looses reference to page after deserialiations

2009-01-26 Thread Ittay Dror
After some debugging, the reason is that Page#writeReplace replaces the page with a PageHolder regardless of whether the page is marked as non-stateless (I call setStatelessHint(false) in the ctor). Isn't this a bug? Ittay Ittay Dror wrote: > > Hi, > > I'm trying to use the InlineFrame compo

InlineFrame: IPageLink object looses reference to page after deserialiations

2009-01-25 Thread Ittay Dror
Hi, I'm trying to use the InlineFrame component. I create an IPageLink object to it. The object holds a reference to a page. By placing breakpoints, I can see that the IPageLink object is created once. InlineFrame#onLinkClicked is called twice. On the first time, the page reference is fine