Custom Controller within a tabpanel?

I have never tried this before and wonder if anyone else has. I have a
main parent table with a tabpanel offering different tabs. All of the first
level tabs also have sub-tabpanels and some of those sub-tabpanels also
have sub-sub-tabpanels (not sure I have the correct English but hopefully
you understand). On a couple of the sub-sup-tabpanels when I click
on them I would ideally like there to be a custom controller - within the
tabpanel - to allow for simple navigation and an overview of those related
grand-children records (there could be up to 20-30 grandchildren
records). The editing of the individual grandchild record takes place in the
main part of the sub-sub-tabpanel (record view) but to navigate to each
one I would ideally like to be able to scroll through those individual
grandchild records in a custom controller.

The other way of getting a similar functionality is to have a portal and I
have done that. But for screen real estate reasons I would ideally like to
have that functionality in a custom controller. However when I created it
the custom controller for the grandchildren records does not show up at
all in the tab panel. It does show up when I simply go to the simple form
that the tab panel form is based on. Does anyone know if this should
work? I can’t find anything about it in the forum or docs.

Many thanks

John

Hi John, nice to meet you again…

I think the tabpanel do not shows the custom controller associated with the form that is being displayed in it. Probably a smart workaround can be to have another tabpanel (eventually with tab-orientation = hide) in this form and in this tapanel just use a form that behaves like a controller. In a tabpanel you cannot use any custom-controller.. but you can use as many tabpanels as you like…

Nice to hear from you too! I was hoping you might have been there in Arizona in August…

It looks like you are right that a form showing in a tab panel won’t show
that forms custom controller. I suppose if I wanted to get fancy I could
instead have the main custom controller be a tabpanel itself and then
have it switch to the custom controller I want for the individual tabpanels
I have selected. But that’s probably overkill. I’ll just use a narrow portal
to view and navigate to all the individual grandchild records and place it
on the left like a custom controller. It seems to work just as well. As we
know, one of Servoy’s big problems is that it is too good! Too many
ways to do stuff, too much time thinking which is the best, paralysis by
analysis!