Re: AjaxExpansion inside a WORepetition?
Re: AjaxExpansion inside a WORepetition?
- Subject: Re: AjaxExpansion inside a WORepetition?
- From: Chuck Hill <email@hidden>
- Date: Mon, 28 Mar 2011 12:54:51 -0700
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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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