Suppose a Seaside component is added to a Pier page using a PRComponent.
The Seaside component is initialized using values stored in the
PRComponent settings dictionary. If these settings are changed later on,
these changes are not reflected in the corresponding Seaside component
instances until the corresponding session expires, and the Seaside
component is then recreated.
To handle this, I've created a PRRefreshCommand, which does:
self structure flush
in its #doExecute.
The problems with this approach are:
- the user has to hit refresh, just refreshing the page won't do it
- when no user is logged in, the "refresh" command cannot be presented
Any suggestions? Better approaches? Am I doing something wrong?
--
Yanni