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>
+   <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
+ 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>
+   <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>
+   <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>
+   <h2>Container Title</h2>
+   <p>Side note</p>
  </div>
  <p>Page one</p>
  
  @jcubic

-- 
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

Reply via email to