Hello I am trying to work with tabs but I am totally lost :).... I have a view composed of detail of customer and two dependee lists of sales and orders. I do not want to have the lists under the detail one under the other, but in separate tabs. So I added ma custom tabs.xml to viev, tabs are visible, but the whole page refreshes after click.
my view: menu : item1 item 2 item 3 ---------------------------------- detail1
---------------------------------- list1 ---------------------------------- list2 ----------------------------------
so how to add the lists to tabs, which will be shown under the detail?
Thomaz
|
|||

[ Sorry for missplaced reply
[ Sorry for missplaced reply ]
I was trying to, but the demo application in 2.4 version does not render subtabs correctly - I see both tables under 'Atendees' tab and nothing happens after hiting 'Registration' tab. But when I installed 2.3 version demo works OK. So I need it to work in 2.4 :)
Thomaz
This is a good catch. You
This is a good catch. You are right, the subtab in 2.4 was not tested. In order to get application work, as a workaround you can use your own DHTML tab js component instead of openbiz subtab.
- support
You may want to use your
You may want to use your DHTML tab control which can show/hide the children forms without refreshing the page.
- support
So... I realized that
So... I realized that OpenBiz 2.4 uses different tabs.tpl and subtabs.tpl templates, and replacing them with the old ones (from 2.3) made the magic, but it worked only with BizForms not EasyForms, because an error saying can not find EasyForm::SetParentForm() method. After copying SetParentForm() and GetParentForm() methods from BizForm_Abstract class to EasyForm class tabs showed up, but some things still work incorectly:
Thomaz