• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Component Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Component Question


  • Subject: Component Question
  • From: Johnny Miller <email@hidden>
  • Date: Thu, 13 Aug 2009 16:39:09 -1000

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Component Question
      • From: Chuck Hill <email@hidden>
    • Re: Component Question
      • From: Steve Quirk <email@hidden>
  • Prev by Date: Re: Follow up on Rule Modeler and Repetitions
  • Next by Date: Re: Rapid Turnaround with Project Builder??
  • Previous by thread: Re: Is the Wiki down?
  • Next by thread: Re: Component Question
  • Index(es):
    • Date
    • Thread