Creating new widgets or rearranging the layout of widgets at runtime is the AJAX version of dynamic content. The two key functions to unlock such magic are
Reflow tells the layout engine to re-render the specified container. This is required after adding components to the container or adjusting the layout of the components of the container. The
reflowParent() helper function can be used to reflow the parent container without having to lookup the parent. Consider the example presented on the Dynamic Content tab of this chapter's sample application,
Each Move Up ...