• 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
Setting field value of object based on position in AjaxSortableList
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Setting field value of object based on position in AjaxSortableList
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Use EOF without WO?
  • Next by Date: Re: Setting field value of object based on position in AjaxSortableList
  • Previous by thread: Re: AjaxFileUpload
  • Next by thread: Re: Setting field value of object based on position in AjaxSortableList
  • Index(es):
    • Date
    • Thread