Blueprint changed by Jakub Jankiewicz: Whiteboard changed: I don't understand this. @rejon ### I mean that widgets are in the list and they are displayed one after another. Structure of xml is a tree so widgets should be organized in the same way. If you have container that need some html <div> <h2>Container Title</h2> if you need to add children to that container you will not to put you closing <div> in that container and create another widget after that - that will close that <div>, which is just dumb. Right now if there are + that will close that </div>, which is just dumb. Right now if there are container they are most of the time empty. Widgets should be implemented in a way that allow to put closing tag inside container. In order to do that you will need tree structure of widgets. but you need a way to tell Aiki where to put children so it will need a markup like [children] <div> <h2>Container Title</h2> [children] <p>Side note</p> </div> and if you add children to that widget like <p>Page one</p> it will be rendered inside parent widget <div> <h2>Container Title</h2> <p>Page one</p> <p>Side note</p> </div> and not after like in AIKI right now. <div> <h2>Container Title</h2> <p>Side note</p> </div> <p>Page one</p> @jcubic it will afect only widgets that will have [children] in it, if there will not be that mark Aiki will not know where to put children so it will add they at the end like now.
-- Aiki widgets should be organized into tree https://blueprints.launchpad.net/aikiframework/+spec/widgets-tree _______________________________________________ Mailing list: https://launchpad.net/~aikiframework-devel Post to : [email protected] Unsubscribe : https://launchpad.net/~aikiframework-devel More help : https://help.launchpad.net/ListHelp

