The following is my code for my attempt at getting the bean to work. It ain’t… I get the error “Foundset accessed while not initalised (possible in form.onload method)”
I do not know why it is not working. Ideas would be fantastic.
the sample solution of the dbtreeview, also does everything in de onLoad!
We are using this also, AND touching the foundset (by doing controller.find() etc…) and it just works fine.
if we do it in the onShow, we first see the default values of the dbtreeview for 1 second, like: colors, sports, food etc…
and than the actuall values, which we find ugly!
4xjbh:
How do I get the child records to show under the root nodes?
That should happen automatically if your binding is correct.
What does your “category_to_category”-relation look like?
Based on the code you posted I think it should be: ```
category.category_id = category.parent_id