I uploaded a simple workflow, and can start it. So now my inbox is populated with items. I can proceed, cancel, or reject items. And through a little modification of the code extend the context menu and toolbar. However, I am a little stuck on how to get a dialog to come up that would present me with information from the workflow item, or allow me to stuff information back

Well .. no nice solution for that yet. The thing is, that we need to refactor the dialogs for that reason (they are only handling magnolia like content and quite inflexible).

Current solution
----------------
- write you custom dialog handler where you populate the dialog using the info in the workitem - use a different save handler to write the values back to the workitem instead to a node

Future solutions
----------------
A) We store the workitems in the magnolia way (same structure as paragraphs) this allows to use the dialogs to manipulate them (currently they are stored unfortunately as plain xml)

B) We refactore the dialogs so that they read and store from any object (discussed here since a long time)

C) Support the solution above (deliver such a dialog and save handler implementation)

B is planed for 3.5 and A) would be wise anyway. C) could get done if you help to implement it

Nicolas & John: what do you think about A) should we enforce that? I think there are other use-cases where we would like to have that

Philipp Bracher


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to