• 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: AjaxExpansion inside a WORepetition?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AjaxExpansion inside a WORepetition?


  • Subject: Re: AjaxExpansion inside a WORepetition?
  • From: Mai Nguyen <email@hidden>
  • Date: Mon, 28 Mar 2011 13:18:04 -0700

Hi Chuck,
> Are you binding it to something that is unique for every row?

The binding "expanded" is tied to a global boolean variable like the ToggleDetails example.
I have not found a good way to set it per row though, so this may be the issue since this boolean is used for all rows.

I am only updating the contents of a table cell, not adding or removing table cells.
The expanded state shows more information vs. the closed state.

thanks,

mai

On Mar 28, 2011, at 12:54 PM, Chuck Hill wrote:

> Hi Mai,
>
> On Mar 28, 2011, at 12:45 PM, Mai Nguyen wrote:
>
>> Hi List,
>> I am new to the Wonder Ajax frameworks, and have some trouble using AjaxExpansion inside a WO Repetition.
>> The "Expanded" state is global and not specific to a row in a repetition.
>> If I use the example ToggleDetails in AjaxExample2, it works for one single AjaxExpansion area (one row only).
>>
>> However, if I use a WO Repetition of AjaxExpansion areas, the "Expanded" state is not behaving properly. Only the first cell is expanded, even when I click on the other cells. It seems like the "expanded" flag is behaving globally for the first table cell only.
>
> Are you binding it to something that is unique for every row?
>
>
>> Is it correct to use AjaxExpansion in a WORepetition to update a row table cell, or should I something else? (an example would be appreciated)
>>
>> Thanks for any hints,
>
>
> Are you just updating the contents of one cell?  Adding or removing rows/cells in tables with Ajax does not work well.
>
>
> Chuck
>
> --
> Chuck Hill             Senior Consultant / VP Development
>
> Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
> http://www.global-village.net/products/practical_webobjects
>
>
>
>
>
>
>
> _______________________________________________
> 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: AjaxExpansion inside a WORepetition?
      • From: Chuck Hill <email@hidden>
References: 
 >AjaxExpansion inside a WORepetition? (From: Mai Nguyen <email@hidden>)
 >Re: AjaxExpansion inside a WORepetition? (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: AjaxExpansion inside a WORepetition?
  • Next by Date: Re: changed objects
  • Previous by thread: Re: AjaxExpansion inside a WORepetition?
  • Next by thread: Re: AjaxExpansion inside a WORepetition?
  • Index(es):
    • Date
    • Thread