This is a good idea.

On Mon, Mar 5, 2012 at 4:32 PM, Jakub Jankiewicz <[email protected]> wrote:
> 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
>  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 now where to put children so it will
> - add they at the end like now.
> + 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



-- 
Jon Phillips 王✳爻气 http://fabricatorz.com ✳ skype: kidproto ✳ irc: rejon
+1.415.830.3884 (global) ✳ +86-187-1003-9974 (beijing)

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to