Am Mittwoch, 6. September 2006 11:27 schrieb Philipp Bracher: > 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
Well this would be interesting since I need it anyhow, and it would be interesting to see how more of this works through experience. Also I'd probably end up with a better design/implementation. Unfortunately I am not sure that I am currently in a position to contribute the work back to the project. So I can't volunteer yet. > > 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 > Personally, I like the idea of having A) enforced. Presumably as the infrastructure around getting node values and to and from the client is improved, then the features around workitems would also benefit. > Philipp Bracher > > > ---------------------------------------------------------------- > for list details see > http://www.magnolia.info/en/magnolia/developer.html > ---------------------------------------------------------------- ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------
