I've created a component that is modeled after the components AjaxTabbedPanel and AjaxTabbedPanelTab found in Wonder's Ajax Framework.

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

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to