[
https://issues.apache.org/jira/browse/WICKET-4897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507275#comment-13507275
]
Michal Wegrzyn edited comment on WICKET-4897 at 11/30/12 11:32 AM:
-------------------------------------------------------------------
Well I would not add FR if I would not see it as generic functionality :)
I do not know the structure of stored pages, so it is hard to me to do a design
proposal.
If it is hard to manipulate and recognize stored pages then maybe sending event
to at least home page (which is known via
org.apache.wicket.Application#getHomePage()) would be possible?
For example:
PageA (Home Page)
PageB (popup/iframe/other tab/whatever)
PageC (other popup/iframe/other tab/whatever)
In PageB event is sent to the session.
Solution 1:
Wicket broadcasts event to the last rendered versions of PageA, PageB and PageC.
Solution 2:
Wicket broadcasts event to the last rendered version of PageB (current
behavior) and to the last renderen version of home page (PageA).
was (Author: mwegrzyn):
Well I would not add FR if I would not see it as generic functionality :)
I do not know the structure of stored pages, so it is hard to me to do a design
proposal.
If it is hard to manipulate and recognize stored pages then maybe sending event
to at least home page (which is known via
org.apache.wicket.Application#getHomePage()) would be possible?
Some for example:
PageA (Home Page)
PageB (popup/iframe/other tab/whatever)
PageC (other popup/iframe/other tab/whatever)
In PageB event is sent to the session.
Solution 1:
Wicket broadcasts event to the last rendered versions of PageA, PageB and PageC.
Solution 2:
Wicket broadcasts event to the last rendered version of PageB (current
behavior) and to the last renderen version of home page (PageA).
> events between pages
> --------------------
>
> Key: WICKET-4897
> URL: https://issues.apache.org/jira/browse/WICKET-4897
> Project: Wicket
> Issue Type: New Feature
> Components: wicket
> Affects Versions: 6.3.0
> Reporter: Michal Wegrzyn
> Labels: features
>
> At the moment Wicket event affect only components on page which is a source
> of the event.
> It would be nice to have a possibility to communicate with events between
> pages.
> That could be done with sending event with session as a sink.
> Event would be propagated to all most recent (last ones) versions of rendered
> Wicket pages for a user.
> See discussion here:
> http://apache-wicket.1842946.n4.nabble.com/events-between-pages-td4654333.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira