Erin, My 2-cents...
I believe there are valid use cases for supporting both model and non-model dialogs. The simplest use case is where I need to reference some information hidden behind my dialog while interacting with the dialog which requires me to move it to the side for a moment. I believe the spec is clear in the difference because describing one as "model" makes it clear enough. http://en.wikipedia.org/wiki/Modal_Dialog vs http://en.wikipedia.org/wiki/Dialog_box As for the plan moving forward, I think your plan is probably the best in the short term. Implement them both as bootstrap model dialogs and maybe record a ticket to come back and find a way to make the normal dialog non-model in the future. On a slightly different note, is anyone working/planning what FLOAT will look like? I assume that will be similar to canvas view, just as an overlay? Chris On Tue, Apr 24, 2012 at 2:29 PM, Noe-Payne, Erin A. <[email protected]>wrote: > Hi All, > > > * I'm working to apply Bootstrap styling to rave's popup views via > the open-views feature (https://issues.apache.org/jira/browse/RAVE-563). > > * The opensocial spec defines separate dialog and modaldialog view > targets, but the wording is vague with respect to their specific > differences ( > http://opensocial-resources.googlecode.com/svn/spec/trunk/Core-Gadget.xml#gadgets.views.ViewType.ViewTarget > ). > > * Interpreting the "spirit" of the spec, I would probably expect > dialogs to be a moveable overlay that allow you to interact with the screen > below, and of which multiple instances can be open at a time. A modal > forces the user to resolve it before doing anything else, and only one > instance may be open at a time. However... > > * Bootstrap offers only modal dialogs ( > http://twitter.github.com/bootstrap/javascript.html#modals). > > My suggested way forward is to implement both dialog and modaldialog view > targets using bootstrap's modal, meaning that dialogs would not be moveable > and would in practice be nearly the same as modals. Does anyone have a > better suggestion, or a use case where there is actual value in rave > providing moveable dialog view targets? > > Thanks, > Erin >
