Hello,
I am just looking into tapestrys component state management technique.
In doing that, I implemented the PageDetachedListener interface,
resetting all component variables to default values, as the
documentation describes.
However, the method did not get called. It seems the docs fail to
mention that I also have to implement the method finishLoad() and call
getPage().addPageDetachListener(this);
therein to have my method called. In addition to the omission in the
docs, I wonder why the page does not automatically register all
components that implement the PageDetachListener interface. IMO that
would simplify the state management without apparent drawbacks.
regards,
Christian
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer
- Re: [Tapestry-developer] pageDetached implementation Christian Sell
- Re: [Tapestry-developer] pageDetached implementa... Howard M. Lewis Ship
