I am working on a multicolumn page layout. The goal is to be able to
populate 1-4 columns of page content in a newspaper / magazine article
 type format. I have be successful with 2 column layout and want to do
3 and 4 column as well but before moving forward I want to make sure I
am approaching this the right way.  Here is an outline of my current
process with an invitation to offer any comments or suggestions

1. Content is received from database (CMS).

2. VBox is created as a column container

3. For each block of content containing Image (optional) and
richText 1 - n lines a new VBox child is added and content added to
it. 'render' eventListener added to the VBox.

4. When rendered the content height is measured , calculation is made
as to what content should go where and content is repopulated into
colA colB so that it effectively wraps from A to B.

5. Any leftover content, not fitting colB, is displayed within this
same layout using a "continued" button that repopulates colA, colB
with remaining content.

Is there a way to accomplish the same objective without resorting to
the rendering the content twice in order to do the metrics ? 

I am looking for suggestions on what would be a more technical sound
approach and allow for implementation of effects

Reply via email to