My problem is that PRComponent only takes
componentClass and creates a new component each time. So I need a good way to add an
existing component to PRComponent or something similar. Maybe there is another good
approach how to inject state into a PRComponent component.
A new Seaside component is instantiated per embedded-link and per
session. That means, if you re-render the same link you get the same
component instance with the same state.
Furthermore, each PRComponent has a unique link that displays itself.
So if you want to reuse the same component instance throughout a
session you simply display the default #document that the PRComponent
returns.
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch