Whenever you need to display tabulated data, be it in a macro or action, try to do it via the MoinMoin/util/dataset.py and MoinMoin/widget/browser.py modules. The main advantage is that you get access to all the features1 of the DataBrowserWidget class, and that creation and display of data is strictly separated (important when we add skinning).

A simple example how to use these classes is the ShowSmileys macro.


Even if this is a space for developers, can you explain to non-developers what is the dataset browser? Maybe we can help with use cases. :-)

  1. That set of features will grow over time, e.g. column sorting. (1)

MoinMoin: MoinDev/DatasetBrowser (last edited 2007-12-25 22:05:37 by ReimarBauer)