• 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
Re: ajaxtabbedpanel ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ajaxtabbedpanel ??


  • Subject: Re: ajaxtabbedpanel ??
  • From: Michael Sharp <email@hidden>
  • Date: Fri, 14 Jan 2011 15:25:30 +1000

I do use TabbedPanel in an AMD so I'll try.

Any errors in eclipse console or javascript errors in the browser?

Is it a problem with Tab2 or with any tab after the initial tab is displayed. If you give Tab2 the binding of "isSelected = true;" does it display the correct behaviour?

> the tabpanel is on an AjaxModalDialog, when I create the modal dialog, I pass in a user object. user has a to one relationship with securitySettings.

So when you say pass in an object, you mean supplied as a binding to the component where the AMD is declared?

I can't reproduce the problem, maybe the contents of your .wod for TabbedPanel, Tab1 & Tab2 might help..

Sharpy..

>
> on panel one, I am displaying and editing user metadata. on panel two, I want to edit some security settings.
>
> if i put on tab one:
> see user area <wo:WOCheckBox checked = "$theUser.securitySettings.seesUserManagement" />
>
> I get the checkbox with this user seesUserManagement setting.
>
> However, if this same code is on tab two, there is no connection to the object.
>
>
> <wo:WOForm multipleSubmit = true;>
>  <div class = "tabBox">
>    <webObject name = "TabbedPanel">
>      <webObject name = "Tab1">
>        <table class = "tableDefs" width = "550">
>          <tr class = "meta1">
>            <td width = "110">First Name</td>
>            <td><wo:WOTextField value = "$theUser.firstName" size = "65" /></td>
>          </tr>
>
>        </table>
> <br/><br/>
>
> see user area <wo:WOCheckBox checked = "$theUser.securitySettings.seesUserManagement" />
>
> </webObject  name = "Tab1">
>
> <webObject name = "Tab2">
>
> <wo:WOCheckBox checked = "$theUser.securitySettings.seesUserManagement" />
>
> </webObject name = "Tab2">
> </webObject name = "TabbedPanel">
> </div>
> <wo:AjaxSubmitButton action = "$cancelEdits" value = "Cancel" /><wo:AjaxSubmitButton action = "$save" value = "Save" />
> </wo:WOForm>
>
>
> why doesn't tab2 connect to "$theUser.securitySettings.seesUserManagement"
>
> on tab1 the checkbox is checked (correct) however on tab2 no check.
>
> I don't even know if I am explaining this clearly enough.
>
> Help, please.
>
> Ted
>
>
>
>
> _______________________________________________
> 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

 _______________________________________________
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: ajaxtabbedpanel ??
      • From: Theodore Petrosky <email@hidden>
References: 
 >ajaxtabbedpanel ?? (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: OGNL binding failing for WOImageButton
  • Next by Date: Re: OGNL binding failing for WOImageButton
  • Previous by thread: ajaxtabbedpanel ??
  • Next by thread: Re: ajaxtabbedpanel ??
  • Index(es):
    • Date
    • Thread