Setting field value of object based on position in AjaxSortableList
Setting field value of object based on position in AjaxSortableList
- Subject: Setting field value of object based on position in AjaxSortableList
- From: Jaime Magiera <email@hidden>
- Date: Wed, 15 Jun 2011 15:43:10 -0400
Hi folks,
I'm starting to delve into Ajax with WO. In particular, AjaxSortableList.
I've got a top level object ("Archive") that has a to-many ("Links"). Each Link has an "index" field so that the link items can be displayed to users in the desired order. I'm trying to wrap my head around a way to write that field based on the what position the editor drags the link to within an AjaxSortableList. In other words, when a Link item is dragged, its position in the list is written to its index field. Probably an easy thing, but I'm not figuring it out yet.
thanks for any thoughts,
Jaime Magiera
Sensory Research, Inc.
http://www.sensoryresearch.net
_______________________________________________
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