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