Sorry for the late response, but only today Boris pointed me to this mail.

Great work and documentation. I have added a comment to MAGNOLIA-2875. As I have noted there we have not done this as all this will change once we move to the 5.0 version. Anyway, now that all the work has been done by you we might still want to commit that into the main project as it closes a missing gap.

Remark: for any kind of proposals or contributions it is much safer to use the developer list as this is read by the committers.

- Philipp Bärfuss




On 28.09.2009, at 14:53, Will Scheidegger wrote:


Dear Magnolians

Unless I am missing something completely tree configuration has always been a pain since all the configuration info is hardcoded in configuration classes - quite powerful but not very flexible. Well, here's a way to change this:

ConfigurableTreeConfiguration.java

It is a configuration class which reads the config info at runtime (i.e. each time the tree is set up) and displays the tree accordingly.

- You need a new context menu item? No problem, just add such a config node to the trees configuration. - You would like to have an additional column with info displayed? Go right ahead and add it to the trees config node. - You want to see nodes of an other type in your tree? Sure... by now you know the deal.

Since this also allows you to define actions (menu items, double- click on icons) you can create really flexible trees. For instance the test tree I created displays a hierarchy of three data node types and will open the correct dialog depending on what icon you've double-clicked.

- You can read about it and download it here:
        
http://www.fastforward.ch/web/ff/dokumentation/entwickler/magnolia_configurable_tree.html
- It only works with Mangolia 4.1.1
- This file is distributed in the hope that it will be useful, but AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, TITLE, or NONINFRINGEMENT. - If the Magnolia chiefs think that this is useful I would be happy to contribute it officially to Magnolia
- If you find bugs, typos or have feedback, let me know.

-will

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to