Pouyan Zaxar created WICKET-4657:
------------------------------------

             Summary: Avoid losing events between instantiation and rendering
                 Key: WICKET-4657
                 URL: https://issues.apache.org/jira/browse/WICKET-4657
             Project: Wicket
          Issue Type: Wish
          Components: wicket-atmosphere
    Affects Versions: 6.0.0-beta3
            Reporter: Pouyan Zaxar
            Assignee: Emond Papegaaij


Currently the atmosphere module subscribes components to the EventBus just 
before they are rendered. Naturally events sent on the EventBus before 
component rendering are lost. You cannot even save lost events using a 
BoradcasterCache 
(https://github.com/Atmosphere/atmosphere/wiki/Understanding-BroadcasterCache).

It could be advantageous if components are registered on instantiation (just 
before initialization) and it can be set if the component wants to receive 
cached events (e.g. @Subscribe(cache=true)) which have been generated between 
registering and rendering of the component.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to