Issue Details (XML | Word | Printable)

Key: SHALE-351
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Craig McClanahan
Reporter: Craig McClanahan
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Shale

Support events from DialogContextManager in addition to DialogContext

Created: 04/Dec/06 06:00 PM   Updated: 23/Jan/07 04:40 PM
Return to search
Component/s: Dialog
Affects Version/s: None
Fix Version/s: 1.0.4


 Description  « Hide
The current dialog APIs make it possible to register for fine grained events on a particular DialogContext, but not on events from DialogContextManager. In particular, it is not currently possible to be notified when a new DialogContext instance is created via navigation. Address this by adding eventing to DialogContextManager along the following lines:

* New DialogContextManagerListener interface with onCreate() and onRemove() methods

* New AbstractDialogContextManager that implements the listener registration stuff
  (analogous to AbsractDialogContext for context level event)

* Modify the two DialogContextManager implementations to extend this new base class
  and to call the event firing methods at the right times

* Unit tests for all of the above (of course :-)

* For naming consistency, consider renaming DialogListener to DialogContextListener
  and associated ripple effects. We can minimize transition impacts on current apps
  by leaving a deprecated DialogListener interface that simply extends DialogContextListener
  (and so on).


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #482450 Tue Dec 05 02:02:32 UTC 2006 rahul s/DialogListener/DialogContextListener/ and alphabetize imports. Part of:
SHALE-351
Files Changed
MODIFY /shale/framework/trunk/shale-dialog-scxml/src/main/java/org/apache/shale/dialog/scxml/SCXMLDialogContext.java

Repository Revision Date User Message
ASF #482452 Tue Dec 05 02:09:45 UTC 2006 rahul Let the abstract be abstract.
SHALE-351
Files Changed
MODIFY /shale/framework/trunk/shale-dialog/src/main/java/org/apache/shale/dialog/base/AbstractDialogContextManagerListener.java

Repository Revision Date User Message
ASF #482746 Tue Dec 05 19:26:26 UTC 2006 rahul Register dialog data as a DCL at the onset, if it is one.
SHALE-351
Files Changed
MODIFY /shale/framework/trunk/shale-dialog-scxml/src/main/java/org/apache/shale/dialog/scxml/SCXMLDialogContext.java