This is a very common problem, which we get a lot, people adding
controls in the Page onRender() method.
I suppose this is because the people have requirements(or have and idea)
about how the HTML code should look like on the browser.
Nobody thinks/expects that onRender() is practically
"renderAfterProcess()"/"postProcess" .
We need to improve the
documentation around this. This problem usually comes up with the
FormTable control.
I think the problem is the missing of simply using the "Decorator" in
these cases
like it's used with the pure Table:
http://www.avoka.com/click-examples/table/table-decorator.htm
Here there's also "render()" in the decorator (like in the Tree example)
but it behaves like the user expects - not after onProcess.
thanks,
Joseph.