Re: AjaxTabbedPanel ??? V2
Re: AjaxTabbedPanel ??? V2
- Subject: Re: AjaxTabbedPanel ??? V2
- From: Theodore Petrosky <email@hidden>
- Date: Sun, 16 Jan 2011 06:32:37 -0800 (PST)
I am copying from the ajaxexample.
in a nutshell I have:
Tab1 displays and edits "$theUser.firstName" and various other fields.
Tab2 displays checkboxes for various fields like:
<wo:WOCheckBox checked = "$theUser.securitySettings.seesUserManagement" />
Tab1 is set as isSelected = true;
when i display the AMD, Tab1 looks beautiful however, when I display Tab2 all the securitySettings are unchecked (this user should have them all checked (true)).
If I make a change on Tab1, and save the EC, all the securitySettings are set to false and overwritten. If I go to Tab2 and check the settings to make them true, saving saves these settings.
So although I can set the values from Tab2, it doesn't display the current settings.
If you understand better the workings of the AjaxTabbedPanel, maybe you could look at my code from last week and see if my error is obvious.
You did say,
"> I think you need to specify the name property for you
> tabbed panel."
What does this mean?
Thanks,
Ted
--- On Sun, 1/16/11, Farrukh Ijaz <email@hidden> wrote:
> From: Farrukh Ijaz <email@hidden>
> Subject: Re: AjaxTabbedPanel ??? V2
> To: "Theodore Petrosky" <email@hidden>
> Cc: email@hidden
> Date: Sunday, January 16, 2011, 8:24 AM
> Hi Ted,
>
> I think you need to specify the name property for you
> tabbed panel. Anyhow, working with AjaxTabbedPanel is a bit
> tricking. The easiest way is to copy the code from the Ajax
> examples and tweak it for your need.
>
> Farrukh
>
> On 2011-01-16, at 4:20 PM, Theodore Petrosky wrote:
>
> > Is there some secret that I am missing about using the
> AjaxTabbedPanel?
> >
> > Nothing I do seems to allow it to display the data I
> need. I posted earlier in the week my problem, if anyone has
> an idea what I can do to learn this feature.
> >
> > I posted what I thought was an appropriate amount of
> detail (including my code) last week. I could repost it.
> >
> > Help, I really like what this looks like if only I
> could get it to work.
> >
> > 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