I am working with the AjaxTabbedPanel example and am stuck.

I have three panels on a modal dialog.

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.

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 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