Unlike AjaxTabbedPanel - the different tabs are all loaded at the same time i.e. no ajax. Everything works fine except when I embed a Form inside one of the tabs.
For some reason the bindings gets out of sync because when the form is submitted it doesn't call the function it is wired to?
I think the problem is when I'm looping through the child tabs and appending their content i.e.
for(MoAccordionTab tab : tabs) {
response.appendContentString("\n\t\t<div");
appendTagAttributeToResponse(response, "class", togglerClass);
response.appendContentString(">");
response.appendContentString((String)tab.title().valueInComponent(component));
response.appendContentString("</div>");
response.appendContentString("\n\t\t<div class=\"" + elementClass + "\">");
tab.appendChildrenToResponse(response, context); // NOT THE RIGHT WAY?
response.appendContentString("\n\t\t</div>");
}
Any ideas?
Thanks in advance,
Johnny