[KULRICE-7554] Implement Dialog Group invocation mode Created: 27/Jun/12 Updated: 03/Apr/13 Resolved: 16/Jul/12
|Project:||Kuali Rice Development|
|Fix Version/s:||2.2.0-m2, 2.2|
|Security Level:||Public (Public: Anyone can view)|
|Reporter:||Jerry Neal (Inactive)||Assignee:||Claus Niesen|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|KAI Review Status:||Not Required|
|KTI Review Status:||Not Required|
Currently the dialog groups are configured in a list on the view and rendered after the view is rendered. We want to have options or the rendering of these so each one is not rendered every time (some could be invoked by the server in certain situations).
This is roughly the plan:
1) From Server
2) Client Dom
3) Client Ajax
Add an option to DialogGroup named invocationMode that defaults to server. Can be changed to dom or ajax.
We will need to add something to the end of the view template that iterates through the dialogGroups and writes those that are marked as client dom or client ajax. For the dom option the group would then be hidden. For ajax just the wrapper is needed. Take a look at template.tag and how it handles progressiveDisclosure. We might be able to let the template.tag handle it for us and by setting the progress properties.
We could write the invocation mode as a data attribute, and other information needed for retrieving the group as data attributes. Then in showLightboxComponent we need to check whether the group is marked for ajax, and if so retrieve the contents before displaying in the lightbox.
|Comment by Daniel Seibert (Inactive) [ 27/Jun/12 ]|
See Jerry's notes at the bottom of the dialog design notes page: https://wiki.kuali.org/display/KULRICE/Dialog+Framework%2C+Rich+Lightbox+design+notes
|Comment by Jerry Neal (Inactive) [ 16/Jul/12 ]|
Can we resolve this one?