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

Re: AjaxTabbedPanel ??? V2


  • Subject: Re: AjaxTabbedPanel ??? V2
  • From: Farrukh Ijaz <email@hidden>
  • Date: Sun, 16 Jan 2011 20:24:16 +0300

Are you using a separate WOForm for each tab? If yes, then you should revise your code and use 1 form for all your fields no matter they span across multiple tabs.

Farrukh

On 2011-01-16, at 5:32 PM, Theodore Petrosky wrote:

> 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

  • Follow-Ups:
    • Re: AjaxTabbedPanel ??? V2
      • From: Theodore Petrosky <email@hidden>
References: 
 >Re: AjaxTabbedPanel ??? V2 (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: Plugins system?
  • Next by Date: Re: AjaxTabbedPanel ??? V2
  • Previous by thread: Re: AjaxTabbedPanel ??? V2
  • Next by thread: Re: AjaxTabbedPanel ??? V2
  • Index(es):
    • Date
    • Thread